/* Poliambulatorio De Vitis — unified stylesheet.
 * Context selectors use :where() to preserve original specificity.
 * Original cascade and responsive rule positions are intentionally retained.
 */

/* 1. Fonts — original Google Fonts sources, separate weight sets per page family. */
/* vietnamese */
@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfYAhTIfFd3IhG.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfYQhTIfFd3IhG.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfbwhTIfFd3A.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw0aXp-p7K4KLjztg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw9aXp-p7K4KLjztg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw2aXp-p7K4KLjztg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw3aXp-p7K4KLjztg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw5aXp-p7K4KLg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat Base';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* math */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFksw-NIrKp-rPr1VOxQVAS1EmZ9.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-209F, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}

/* symbols */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFksw-NIrKp-rPr1RuxQVAS1EmZ9.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AE, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F8D0-1F8D8, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FAC6, U+1FAC8, U+1FACC-1FADD, U+1FADF-1FAEB, U+1FAEF-1FAFA, U+1FB00-1FBFF;
}

/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFksw-NIrKp-rPr1JuxQVAS1EmZ9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bodonimoda/v28/aFTH7PxzY382XsXX63LUYL6GYFksw-NIrKp-rPr1KOxQVAS1Eg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat Landing';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Original base: variables, reset, components, profile, footer and responsive. */
:root:where(.css-base) {
  --bg: #F7F7F3;
  --white: #ffffff;
  --text: #082845;
  --muted: #6e6e6e;
  --accent: #3D5919;
  --border: #e5e0d8;
  --logo: #A2C5D8;
  --font-body: "Montserrat Base", system-ui, sans-serif;
  --font-heading: "Crimson Text", Georgia, serif;
}

:where(html.css-base),
:where(html.css-base) * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html:where(.css-base) {
  scroll-behavior: smooth;
}

:where(html.css-base) body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
}

:where(html.css-base) .container {
  width: min(1200px, 90%);
  margin: auto;
}

:where(html.css-base) header {
  position: sticky;
  top: 0;
  background: rgba(250,248,244,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

:where(html.css-base) .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

:where(html.css-base) .logo {
  --logo-size: 78px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--logo-size) * .12);
  letter-spacing: 0;
  color: var(--text);
  text-decoration: none;
}

:where(html.css-base) .logo img {
  width: auto;
  height: var(--logo-size);
  display: block;
  object-fit: contain;
}

:where(html.css-base) .logo-text {
  display: flex;
  flex-direction: column;
  gap: calc(var(--logo-size) * .06);
  line-height: 1;
}

:where(html.css-base) .logo-kicker {
  order: 1;
  color: #6498be;
  font-family: var(--font-body);
  font-size: calc(var(--logo-size) * .28);
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
}

:where(html.css-base) .logo-name {
  color: #082845;
  font-family: "Times New Roman", Times, serif;
  font-size: var(--logo-size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .66;
  white-space: nowrap;
}

:where(html.css-base) nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

:where(html.css-base) nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}

:where(html.css-base) .btn {
  display: inline-block;
  background: var(--text);
  color: white;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: .3s;
}

:where(html.css-base) .btn:hover {
  transform: translateY(-2px);
}

:where(html.css-base) .btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

:where(html.css-base) .hero {
  padding: 100px 0;
}

:where(html.css-base) .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

:where(html.css-base) .eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  font-size: 12px;
}

:where(html.css-base) .hero h1 {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 20px 0;
}

:where(html.css-base) .hero p {
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 30px;
}

:where(html.css-base) .hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

:where(html.css-base) .hero-image {
  min-height: 550px;
  border-radius: 30px;
  background-image: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)), url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

:where(html.css-base) .glass-card {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 25px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 20px;
}

:where(html.css-base) .glass-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 28px;
}

:where(html.css-base) section {
  padding: 100px 0;
}

:where(html.css-base) .section-header {
  margin-bottom: 50px;
}

:where(html.css-base) .section-header h2,
:where(html.css-base) .approach h2,
:where(html.css-base) .cta h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 20px;
}

:where(html.css-base) .section-header p,
:where(html.css-base) .approach p,
:where(html.css-base) .cta p {
  color: var(--muted);
  max-width: 600px;
}

:where(html.css-base) .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

:where(html.css-base) .card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

:where(html.css-base) .card span {
  color: var(--accent);
  font-size: 13px;
}

:where(html.css-base) .card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
  margin: 25px 0 12px;
  font-size: 26px;
  line-height: 1.1;
}

:where(html.css-base) .card p {
  color: var(--muted);
}

:where(html.css-base) .approach {
  background: #efeae2;
}

:where(html.css-base) .approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

:where(html.css-base) .approach-list {
  display: grid;
  gap: 15px;
}

:where(html.css-base) .approach-list div {
  background: white;
  padding: 20px;
  border-radius: 16px;
}

:where(html.css-base) .cta {
  text-align: center;
}

:where(html.css-base) .cta p {
  margin: 20px auto 30px;
}

:where(html.css-base) footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

:where(html.css-base) .footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

:where(html.css-base) .booking-search {
  padding: 90px 0 60px;
  background: #efeae2;
}

:where(html.css-base) .booking-search h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  margin: 20px 0 30px;
}

:where(html.css-base) .search-bar {
  display: flex;
  gap: 12px;
  max-width: 800px;
  background: white;
  padding: 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

:where(html.css-base) .search-bar input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}

:where(html.css-base) .doctors-section {
  padding-top: 80px;
}

:where(html.css-base) .doctors-grid {
  display: grid;
  gap: 22px;
}

:where(html.css-base) .doctor-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  transition: .3s;
}

:where(html.css-base) .doctor-card:hover {
  transform: translateY(-3px);
}

:where(html.css-base) .doctor-card img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  background: #eee;
}

:where(html.css-base) .doctor-card h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 5px;
}

:where(html.css-base) .doctor-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

:where(html.css-base) .doctor-card span {
  color: var(--accent);
}

:where(html.css-base) .doctor-profile {
  padding: 80px 0;
}

:where(html.css-base) .profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
  gap: 40px;
  align-items: start;
}

:where(html.css-base) .profile-header {
  display: flex;
  gap: 30px;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
}

:where(html.css-base) .profile-header img {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  object-fit: cover;
}

:where(html.css-base) .profile-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin: 14px 0;
}

:where(html.css-base) .profile-header p {
  color: var(--muted);
}

:where(html.css-base) .profile-box,
:where(html.css-base) .booking-box {
  margin-top: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

:where(html.css-base) .profile-box h2,
:where(html.css-base) .booking-box h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 34px;
  margin-bottom: 15px;
}

:where(html.css-base) .profile-box p,
:where(html.css-base) .booking-box p,
:where(html.css-base) .profile-box li {
  color: var(--muted);
}

:where(html.css-base) .profile-box ul {
  padding-left: 20px;
}

:where(html.css-base) .mini-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

:where(html.css-base) .mini-form input,
:where(html.css-base) .mini-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--font-body);
}

:where(html.css-base) .mini-form textarea {
  min-height: 110px;
  resize: vertical;
}

:where(html.css-base) .mini-form button {
  border: none;
  cursor: pointer;
}

:where(html.css-base) .privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

:where(html.css-base) .privacy-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--accent);
}

:where(html.css-base) .privacy-consent a {
  color: var(--text);
}

:where(html.css-base) .booking-box {
  position: sticky;
  top: 120px;
  padding: 30px;
}

:where(html.css-base) .booking-doctor {
  text-align: center;
  margin-bottom: 25px;
}

:where(html.css-base) .booking-doctor img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

:where(html.css-base) .booking-doctor h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 5px;
}

:where(html.css-base) .specialty {
  color: var(--muted);
  margin-bottom: 10px;
}

:where(html.css-base) .rating {
  color: #f4b400;
  font-size: 14px;
}

:where(html.css-base) .rating span {
  color: var(--muted);
}

:where(html.css-base) .booking-section {
  margin-bottom: 25px;
}

:where(html.css-base) .booking-section label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

:where(html.css-base) .booking-section select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
}

:where(html.css-base) .availability-calendar {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

:where(html.css-base) .availability-stage {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

:where(html.css-base) .availability-days {
  display: grid;
  grid-template-columns: repeat(var(--visible-days), minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

:where(html.css-base) .availability-day {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 0;
}

:where(html.css-base) .availability-day-heading {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
}

:where(html.css-base) .availability-day-heading span {
  color: var(--text);
  font-size: 18px;
}

:where(html.css-base) .availability-day-heading strong {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}

:where(html.css-base) .availability-nav {
  width: 36px;
  height: 36px;
  margin-top: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(162, 197, 216, .32);
  color: var(--accent);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: .2s;
}

:where(html.css-base) .availability-nav:hover:not(:disabled) {
  background: var(--logo);
  transform: translateY(-1px);
}

:where(html.css-base) .availability-nav:disabled {
  opacity: .32;
  cursor: default;
}

:where(html.css-base) .dates-grid,
:where(html.css-base) .hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

:where(html.css-base) .dates-grid button,
:where(html.css-base) .hours-grid button {
  padding: 12px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: .2s;
}

:where(html.css-base) .dates-grid button:hover,
:where(html.css-base) .hours-grid button:hover {
  background: var(--logo);
  color: white;
}

:where(html.css-base) .booking-btn {
  width: 100%;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

:where(html.css-base) .availability-calendar .slot {
  width: 100%;
  min-height: 44px;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: rgba(61, 89, 25, .11);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: .2s;
}

:where(html.css-base) .availability-calendar .slot:hover:not(:disabled):not(.selected) {
  background: rgba(61, 89, 25, .18);
  transform: translateY(-1px);
}

:where(html.css-base) .availability-calendar .slot.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

:where(html.css-base) .availability-calendar .slot.is-unavailable {
  background: transparent;
  color: var(--muted);
  cursor: not-allowed;
  font-weight: 700;
  opacity: .9;
  text-decoration: line-through;
}

:where(html.css-base) .slot-placeholder {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

:where(html.css-base) .show-more-times {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 0;
  border: none;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
}

:where(html.css-base) .show-more-times span {
  font-size: 22px;
  line-height: 1;
}

:where(html.css-base) .availability-message {
  margin: 0;
  color: var(--muted);
}

:where(html.css-base) .slot.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

:where(html.css-base) .days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

:where(html.css-base) .day-slot {
  width: 100%;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 18px;
  cursor: pointer;
  transition: all .2s ease;
  appearance: none;
  -webkit-appearance: none;
}

:where(html.css-base) .day-slot span,
:where(html.css-base) .day-slot strong {
  pointer-events: none;
}

:where(html.css-base) .day-slot span {
  font-size: 12px;
  color: var(--muted);
}

:where(html.css-base) .day-slot strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

:where(html.css-base) .day-slot:hover {
  background: var(--logo);
  color: white;
}

:where(html.css-base) .day-slot.selected {
  background: var(--accent);
  border-color: var(--accent);
}

:where(html.css-base) .day-slot.selected span,
:where(html.css-base) .day-slot.selected strong {
  color: white;
}

@media (max-width: 850px) {
:where(html.css-base) .profile-grid {
  grid-template-columns: 1fr;
}

:where(html.css-base) .booking-box {
  position: static;
}

:where(html.css-base) .availability-stage {
  grid-template-columns: 34px minmax(0, 1fr) 34px;
}

:where(html.css-base) .profile-header {
  flex-direction: column;
  align-items: flex-start;
}

:where(html.css-base) .search-bar {
  flex-direction: column;
  border-radius: 24px;
}

:where(html.css-base) .search-bar input {
  padding: 16px;
}

:where(html.css-base) .doctor-card {
  flex-direction: column;
  align-items: flex-start;
}

}

@media (max-width: 992px) {
:where(html.css-base) .hero-grid,
:where(html.css-base) .approach-grid {
  grid-template-columns: 1fr;
}

:where(html.css-base) .grid {
  grid-template-columns: repeat(2, 1fr);
}

:where(html.css-base) nav {
  display: none;
}

}

@media (max-width: 640px) {
:where(html.css-base) .logo {
  --logo-size: 64px;
}

:where(html.css-base) .grid {
  grid-template-columns: 1fr;
}

:where(html.css-base) .availability-stage {
  gap: 6px;
}

:where(html.css-base) .availability-days {
  gap: 6px;
}

:where(html.css-base) .availability-nav {
  width: 32px;
  height: 32px;
  font-size: 30px;
}

:where(html.css-base) .availability-day-heading span {
  font-size: 16px;
}

:where(html.css-base) .availability-calendar .slot,
:where(html.css-base) .slot-placeholder {
  min-height: 42px;
  font-size: 16px;
}

:where(html.css-base) .footer {
  flex-direction: column;
  gap: 10px;
}

:where(html.css-base) .hero h1 {
  font-size: 56px;
}

}

/* Pages that originally loaded both sheets also expose all home font weights. */
:root:where(.css-base.css-home) { --font-body: "Montserrat", system-ui, sans-serif; }


/* 3. Shared home components, internal pages, landing, animations and responsive. */
/* Shared home and internal-page styles, isolated from the original base. */
:where(html.css-home) .devitis-home {
  --home-blue:#082845;
  --home-light:#6498be;
  --home-green:#3d5919;
  --home-bg:#f7f7f3;
  background:var(--home-bg);
  font-family:Montserrat,system-ui,sans-serif;
  font-weight:400;
  line-height:1.4;
}

:where(html.css-home) .devitis-home a {
  color:inherit;
}

:where(html.css-home) .devitis-home button,
:where(html.css-home) .devitis-home input {
  font:inherit;
}

:where(html.css-home) .devitis-home button,
:where(html.css-home) .devitis-home a {
  -webkit-tap-highlight-color:transparent;
}

:where(html.css-home) .devitis-home :focus-visible {
  outline:3px solid var(--home-light);
  outline-offset:5px;
}

:where(html.css-home) .devitis-home [hidden] {
  display:none !important;
}

:where(html.css-home) .home-header {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:132px;
  padding:0 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:0;
  border-radius:0 0 24px 24px;
  box-shadow:0 10px 24px rgba(8,40,69,.06);
  z-index:10;
}

/* The fixed header keeps the original hero overlay; internal pages already reserve its height. */
:where(html.css-home) .home-header,
:where(html.css-home) .home-footer {
  background:rgba(247,247,243,.87);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

html:where(.css-home):has(.devitis-home) {
  scroll-padding-top:148px;
}

:where(html.css-home) .home-logo {
  display:block;
  width:220px;
  flex-shrink:0;
}

:where(html.css-home) .home-logo img {
  display:block;
  width:100%;
}

:where(html.css-home) .home-menu {
  display:flex;
  gap:32px;
  align-items:center;
  padding-top:44px;
}

:where(html.css-home) .home-menu a {
  text-decoration:none;
  font-size:20px;
  font-weight:500;
  white-space:nowrap;
}

:where(html.css-home) .home-menu .home-book {
  padding:8px 22px;
  margin-left:0;
  border-radius:50px;
  color:var(--home-bg);
  background:var(--home-green);
  font-size:18px;
}

:where(html.css-home) .menu-toggle {
  display:none;
}

:where(html.css-home) .home-hero {
  padding:0;
  height:768px;
  position:relative;
  background:url('assets/home_hero.png') center/cover no-repeat;
  color:var(--home-bg);
}

:where(html.css-home) .home-hero-copy {
  position:absolute;
  top:232px;
  left:48px;
}

:where(html.css-home) .devitis-home .home-hero h1 {
  font-family:inherit;
  font-weight:400;
  font-size:104px;
  letter-spacing:-6px;
  line-height:1.015;
  margin:0;
}

:where(html.css-home) .home-hero-copy p {
  margin-top:8px;
  font-size:25px;
  line-height:1.45;
}

:where(html.css-home) .hero-booking {
  position:absolute;
  right:48px;
  top:586px;
  display:flex;
  align-items:center;
  gap:26px;
  border-bottom:2px solid;
  padding-bottom:5px;
  text-decoration:none;
  font-size:28px;
}

:where(html.css-home) .diagonal-arrow {
  display:block;
  width:46px;
  height:46px;
  position:relative;
  flex-shrink:0;
}

:where(html.css-home) .diagonal-arrow::before {
  content:'';
  position:absolute;
  inset:0 0 auto auto;
  width:100%;
  height:100%;
  border-top:3px solid;
  border-right:3px solid;
}

:where(html.css-home) .diagonal-arrow::after {
  content:'';
  position:absolute;
  width:138%;
  height:3px;
  background:currentColor;
  left:0;
  bottom:0;
  transform-origin:left center;
  transform:rotate(-45deg);
}

:where(html.css-home) .hero-booking .diagonal-arrow {
  width:28px;
  height:28px;
}

:where(html.css-home) .hero-booking .diagonal-arrow::before {
  border-width:2px;
}

:where(html.css-home) .hero-booking .diagonal-arrow::after {
  height:2px;
}

:where(html.css-home) .home-section {
  height:768px;
  padding:58px 48px 42px;
}

:where(html.css-home) .home-section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:2px solid;
  text-decoration:none;
  padding-bottom:0;
}

:where(html.css-home) .devitis-home .home-section-heading h2,
:where(html.css-home) .devitis-home .collaborate-copy h2 {
  font-family:inherit;
  font-size:64px;
  font-weight:400;
  letter-spacing:-4.5px;
  line-height:1.3;
  margin:0;
}

:where(html.css-home) .about-cards {
  display:grid;
  gap:46px;
  margin-top:36px;
}

:where(html.css-home) .about-card {
  display:grid;
  grid-template-columns:48% 52%;
  height:154px;
  border-radius:0 18px 18px 0;
  overflow:hidden;
  background:var(--home-blue);
}

:where(html.css-home) .about-card img {
  display:block;
  width:100%;
  height:154px;
  object-fit:cover;
}

:where(html.css-home) .about-card>div {
  padding:27px 49px 16px;
}

:where(html.css-home) .about-card h3 {
  color:var(--home-light);
  font-size:28px;
  font-weight:700;
  margin-bottom:12px;
}

:where(html.css-home) .about-card p {
  color:var(--home-bg);
  font-size:20px;
  line-height:1.45;
}

:where(html.css-home) .home-specialties {
  background:var(--home-blue);
  color:var(--home-bg);
  padding-top:58px;
}

:where(html.css-home) .home-specialties .home-section-heading {
  border-color:var(--home-light);
}

:where(html.css-home) .home-specialties .diagonal-arrow {
  color:var(--home-light);
}

:where(html.css-home) .specialty-window {
  margin-top:82px;
  overflow:hidden;
}

:where(html.css-home) .specialty-track {
  display:flex;
  gap:24px;
  transition:transform .35s ease;
}

:where(html.css-home) .specialty-card {
  flex:0 0 calc((100% - 72px)/4);
  min-width:0;
  text-align:center;
  text-decoration:none;
}

:where(html.css-home) .specialty-card img,
:where(html.css-home) .specialty-text>div {
  display:block;
  width:100%;
  height:358px;
  border-radius:20px;
  object-fit:cover;
}

:where(html.css-home) .specialty-card h3 {
  margin-top:16px;
  color:var(--home-light);
  font-size:25px;
  font-weight:700;
  line-height:1.4;
  text-transform:uppercase;
}

:where(html.css-home) .specialty-text>div {
  display:grid;
  place-items:center;
  padding:25px;
  background:var(--home-light);
  color:var(--home-blue);
  font-size:24px;
}

:where(html.css-home) .carousel-controls {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:20px;
}

:where(html.css-home) .carousel-controls button {
  border:0;
  background:none;
  color:var(--home-bg);
  cursor:pointer;
  padding:0;
}

:where(html.css-home) .carousel-prev,
:where(html.css-home) .carousel-next {
  line-height:1;
  width:22px;
}

:where(html.css-home) .carousel-dots {
  display:flex;
  gap:16px;
}

:where(html.css-home) .carousel-dots button {
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--home-bg);
}

:where(html.css-home) .carousel-dots button[aria-current="true"] {
  box-shadow:0 0 0 2px var(--home-blue),0 0 0 3px var(--home-bg);
}

:where(html.css-home) .sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

:where(html.css-home) .home-info {
  padding-top:58px;
}

:where(html.css-home) .info-grid {
  display:grid;
  grid-template-columns:minmax(0,826fr) minmax(0,410fr);
  gap:34px;
  margin-top:64px;
}

:where(html.css-home) .home-map {
  display:block;
  height:480px;
  overflow:hidden;
}

:where(html.css-home) .home-map img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

:where(html.css-home) .info-panels {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

:where(html.css-home) .info-panels article {
  border-radius:20px;
  background:var(--home-light);
  color:var(--home-bg);
  padding:12px 16px;
  min-height:132px;
}

:where(html.css-home) .info-panels h3 {
  width:176px;
  border-bottom:2px solid;
  font-size:26px;
  font-weight:700;
  line-height:1.25;
  padding-bottom:7px;
  margin-bottom:10px;
}

:where(html.css-home) .info-panels p {
  font-size:20px;
  line-height:1.45;
}

:where(html.css-home) .info-panels a {
  text-decoration:none;
  overflow-wrap:anywhere;
}

:where(html.css-home) .home-collaborate {
  height:768px;
  display:grid;
  grid-template-columns:1fr 514px;
  gap:124px;
  padding:40px 54px 40px 48px;
  color:var(--home-bg);
  background:linear-gradient(rgba(0,0,0,.325),rgba(0,0,0,.325)),url('assets/contattaci.png') center/cover no-repeat;
}

:where(html.css-home) .collaborate-copy {
  padding-top:38px;
}

:where(html.css-home) .devitis-home .collaborate-copy h2 {
  border-bottom:2px solid;
  padding-bottom:14px;
  font-weight:400;
  white-space:nowrap;
}

:where(html.css-home) .collaborate-copy p {
  font-size:25px;
  line-height:1.45;
  margin-top:24px;
}

:where(html.css-home) .collaborate-form {
  background:var(--home-bg);
  color:#6a824c;
  border-radius:14px;
  padding:20px;
  align-self:start;
  min-height:688px;
}

:where(html.css-home) .collaborate-form h3 {
  font-size:30px;
  font-weight:400;
  line-height:1.4;
  margin-bottom:32px;
}

:where(html.css-home) .collaborate-form>label {
  display:block;
  font-size:16px;
  margin-bottom:6px;
}

:where(html.css-home) .collaborate-form>input {
  width:100%;
  height:42px;
  padding:4px 10px;
  border:2px solid #d1d8c7;
  border-radius:6px;
  background:transparent;
  color:var(--home-blue);
  margin-bottom:30px;
}

:where(html.css-home) .collaborate-form fieldset {
  border:0;
  margin-bottom:16px;
}

:where(html.css-home) .collaborate-form legend {
  font-size:16px;
  margin-bottom:6px;
}

:where(html.css-home) .contact-role {
  position:relative;
  display:block;
  margin-bottom:8px;
  cursor:pointer;
}

:where(html.css-home) .contact-role input {
  position:absolute;
  opacity:0;
}

:where(html.css-home) .contact-role span {
  display:flex;
  align-items:center;
  height:76px;
  padding:10px;
  background:#e0e5d9;
  border:2px solid transparent;
  border-radius:5px;
  font-size:16px;
  color:#93a47d;
}

:where(html.css-home) .contact-role input:checked+span {
  border-color:var(--home-green);
  color:var(--home-green);
}

:where(html.css-home) .contact-role input:focus-visible+span {
  outline:3px solid var(--home-green);
  outline-offset:2px;
}

:where(html.css-home) .collaborate-form>button {
  border:0;
  border-radius:20px;
  background:var(--home-green);
  color:var(--home-bg);
  width:100%;
  height:46px;
  cursor:pointer;
  font-size:18px;
}

:where(html.css-home) .form-note {
  text-align:center;
  font-size:10px;
  margin-top:8px;
  color:#9fae8d;
}

:where(html.css-home) #contact-status {
  font-size:15px;
  margin-top:12px;
}

:where(html.css-home) #contact-email-link {
  display:block;
  margin-top:8px;
  font-size:16px;
}

:where(html.css-home) .home-footer {
  padding:40px 48px 14px;
  border:0;
  border-radius:24px 24px 0 0;
  box-shadow:0 -12px 35px rgba(8,40,69,.08);
}

:where(html.css-home) .home-footer-grid {
  padding:0 0 28px;
  display:grid;
  grid-template-columns:80px minmax(0,300px) minmax(0,320px) minmax(0,302px);
  justify-content:space-between;
  gap:32px;
  font-size:18px;
  line-height:1.5;
}

:where(html.css-home) .home-footer-grid>div {
  min-width:0;
}

:where(html.css-home) .home-footer-grid a {
  text-decoration:none;
  overflow-wrap:anywhere;
}

:where(html.css-home) .footer-logo {
  display:block;
  width:80px;
  height:154px;
  margin-top:-16px;
  overflow:hidden;
}

:where(html.css-home) .footer-logo img {
  display:block;
  width:auto;
  height:154px;
  max-width:none;
}

:where(html.css-home) .home-footer-grid h3 {
  font-size:24px;
  font-weight:600;
  margin-bottom:8px;
}

:where(html.css-home) .footer-menu {
  text-align:left;
}

:where(html.css-home) .footer-menu a {
  display:block;
  font-size:20px;
  font-weight:500;
  text-transform:uppercase;
}

:where(html.css-home) .home-copyright {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:8px;
  border-top:1px solid var(--home-light);
  color:var(--home-light);
  font-size:18px;
  line-height:1.4;
}

@media(min-width:769px) and (max-width:1200px) {
:where(html.css-home) .home-header {
  padding:0 28px;
}

:where(html.css-home) .home-logo {
  width:190px;
}

:where(html.css-home) .home-menu {
  gap:18px;
}

:where(html.css-home) .home-menu a {
  font-size:16px;
}

:where(html.css-home) .home-collaborate {
  grid-template-columns:1fr 43%;
  gap:55px;
}

:where(html.css-home) .devitis-home .collaborate-copy h2 {
  font-size:48px;
}

:where(html.css-home) .collaborate-copy p {
  font-size:21px;
}

:where(html.css-home) .home-footer-grid {
  grid-template-columns:80px 220px minmax(0,1fr) minmax(0,1fr);
  gap:24px;
  font-size:16px;
}

:where(html.css-home) .home-footer-grid h3 {
  font-size:22px;
}

:where(html.css-home) .about-card>div {
  padding:25px;
}

:where(html.css-home) .about-card h3 {
  font-size:24px;
}

:where(html.css-home) .about-card p {
  font-size:18px;
}

:where(html.css-home) .specialty-card h3 {
  font-size:20px;
}

:where(html.css-home) .info-panels p {
  font-size:17px;
}

}

@media(max-width:1000px) {
:where(html.css-home) .home-header {
  height:94px;
  padding:0 22px;
  border-radius:0 0 18px 18px;
}

:where(html.css-home) .home-logo {
  width:180px;
}

:where(html.css-home) .menu-toggle {
  display:block;
  border:0;
  border-radius:20px;
  background:var(--home-green);
  color:var(--home-bg);
  padding:9px 15px;
}

:where(html.css-home) .home-menu {
  display:none;
  position:absolute;
  top:94px;
  left:0;
  right:0;
  padding:20px 24px;
  background:var(--home-bg);
  border-radius:0 0 18px 18px;
  box-shadow:0 12px 20px #08284533;
}

:where(html.css-home) .home-menu.is-open {
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:18px;
}

:where(html.css-home) .home-menu a {
  font-size:18px;
}

:where(html.css-home) .home-menu .home-book {
  text-align:center;
}

:where(html.css-home) .home-hero {
  height:640px;
  background-position:53% center;
}

:where(html.css-home) .home-hero-copy {
  top:180px;
  left:24px;
  right:24px;
}

:where(html.css-home) .devitis-home .home-hero h1 {
  font-size:clamp(48px,8.2vw,76px);
  letter-spacing:-3px;
  line-height:1.05;
}

:where(html.css-home) .home-hero-copy p {
  font-size:18px;
  margin-top:20px;
  max-width:460px;
}

:where(html.css-home) .desktop-break {
  display:none;
}

:where(html.css-home) .hero-booking {
  top:auto;
  bottom:52px;
  right:24px;
  font-size:21px;
}

:where(html.css-home) .home-section {
  height:auto;
  padding:40px 24px;
}

:where(html.css-home) .devitis-home .home-section-heading h2,
:where(html.css-home) .devitis-home .collaborate-copy h2 {
  font-size:clamp(31px,5.4vw,42px);
  letter-spacing:-1.8px;
}

:where(html.css-home) .diagonal-arrow {
  width:28px;
  height:28px;
}

:where(html.css-home) .diagonal-arrow::before {
  border-width:2px;
}

:where(html.css-home) .diagonal-arrow::after {
  height:2px;
}

:where(html.css-home) .about-cards {
  gap:24px;
  margin-top:28px;
}

:where(html.css-home) .about-card {
  height:170px;
  grid-template-columns:43% 57%;
}

:where(html.css-home) .about-card img {
  height:170px;
}

:where(html.css-home) .about-card>div {
  padding:18px;
}

:where(html.css-home) .about-card h3 {
  font-size:19px;
  margin-bottom:10px;
}

:where(html.css-home) .about-card p {
  font-size:14px;
}

:where(html.css-home) .specialty-window {
  margin-top:40px;
}

:where(html.css-home) .specialty-track {
  gap:20px;
}

:where(html.css-home) .specialty-card {
  flex-basis:calc((100% - 20px)/2);
}

:where(html.css-home) .specialty-card img,
:where(html.css-home) .specialty-text>div {
  height:auto;
  aspect-ratio:4/5;
  border-radius:14px;
}

:where(html.css-home) .specialty-card h3 {
  font-size:17px;
}

:where(html.css-home) .specialty-text>div {
  font-size:18px;
}

:where(html.css-home) .carousel-controls {
  margin-top:24px;
}

:where(html.css-home) .info-grid {
  grid-template-columns:1fr;
  gap:24px;
  margin-top:32px;
}

:where(html.css-home) .home-map {
  height:auto;
  aspect-ratio:826/480;
}

:where(html.css-home) .info-panels {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

:where(html.css-home) .info-panels article {
  min-height:0;
  padding:14px;
  border-radius:14px;
}

:where(html.css-home) .info-panels h3 {
  width:100%;
  font-size:21px;
}

:where(html.css-home) .info-panels p {
  font-size:14px;
}

:where(html.css-home) .home-collaborate {
  height:auto;
  padding:40px 24px;
  grid-template-columns:1fr;
  gap:32px;
}

:where(html.css-home) .collaborate-copy {
  padding-top:0;
}

:where(html.css-home) .devitis-home .collaborate-copy h2 {
  white-space:normal;
}

:where(html.css-home) .collaborate-copy p {
  font-size:18px;
  max-width:520px;
}

:where(html.css-home) .collaborate-form {
  width:100%;
  max-width:514px;
  justify-self:center;
  min-height:0;
}

:where(html.css-home) .collaborate-form h3 {
  font-size:27px;
}

:where(html.css-home) .form-note {
  font-size:10px;
}

:where(html.css-home) .home-footer {
  padding:36px 24px 16px;
}

:where(html.css-home) .home-footer-grid {
  padding-bottom:24px;
  grid-template-columns:80px minmax(0,1fr);
  gap:30px;
  font-size:16px;
}

:where(html.css-home) .home-footer-grid h3 {
  font-size:22px;
}

:where(html.css-home) .footer-logo {
  margin-top:0;
}

:where(html.css-home) .home-copyright {
  flex-direction:column;
  gap:8px;
  font-size:14px;
}

}

@media(max-width:440px) {
:where(html.css-home) .home-header {
  padding:0 18px;
}

:where(html.css-home) .home-logo {
  width:160px;
}

:where(html.css-home) .home-section {
  padding:36px 20px;
}

:where(html.css-home) .about-card {
  display:block;
  height:auto;
  border-radius:12px;
}

:where(html.css-home) .about-card img {
  height:145px;
}

:where(html.css-home) .about-card>div {
  padding:20px;
}

:where(html.css-home) .about-card h3 {
  font-size:20px;
}

:where(html.css-home) .about-card p {
  font-size:15px;
}

:where(html.css-home) .specialty-card {
  flex-basis:100%;
}

:where(html.css-home) .specialty-card h3 {
  font-size:20px;
}

:where(html.css-home) .info-panels {
  grid-template-columns:1fr;
}

:where(html.css-home) .info-panels article {
  padding:16px;
}

:where(html.css-home) .info-panels h3 {
  width:176px;
}

:where(html.css-home) .info-panels p {
  font-size:17px;
}

:where(html.css-home) .home-footer-grid {
  grid-template-columns:1fr;
}

:where(html.css-home) .footer-logo {
  justify-self:center;
}

}

@media(prefers-reduced-motion:reduce) {
:where(html.css-home) .devitis-home {
  scroll-behavior:auto;
}

:where(html.css-home) .specialty-track {
  transition:none;
}

html:where(.css-home):has(.devitis-home) {
  scroll-behavior:auto;
}

}

:where(html.css-home) .about-card:first-child img {
  object-position:center 92%;
}

:where(html.css-home) .about-card:last-child img {
  object-position:center 92%;
}

:where(html.css-home) .specialty-photo {
  display:block;
  position:relative;
  height:358px;
  overflow:hidden;
  border-radius:20px;
}

:where(html.css-home) .allergy-photo img {
  position:absolute;
  width:120%;
  height:auto;
  max-width:none;
  right:0;
  top:-2.5%;
  border-radius:0;
}

:where(html.css-home) .specialty-card img[src$="ginecologia.png"] {
  object-position:center 60%;
}

:where(html.css-home) .specialty-card img[src$="cardiologia.png"] {
  object-position:center 20%;
}

:where(html.css-home) .specialty-card img[src$="dermatologia.png"] {
  object-position:center 60%;
}

@media(max-width:1000px) {
:where(html.css-home) .specialty-photo {
  height:auto;
  aspect-ratio:4/5;
  border-radius:14px;
}

:where(html.css-home) .allergy-photo img {
  height:auto;
}

}

/* Final alignment against the 1366 × 4181 reference. */
@media(min-width:1001px) {
:where(html.css-home) .home-section-heading h2 {
  line-height:78px !important;
  letter-spacing:-4.1px !important;
}

:where(html.css-home) .home-info {
  padding-top:61px;
}

:where(html.css-home) .info-grid {
  margin-top:67px;
}

:where(html.css-home) .collaborate-copy {
  padding-top:34px;
}

:where(html.css-home) .devitis-home .collaborate-copy h2 {
  padding-bottom:11px;
}

}

:where(html.css-home) .collaborate-form {
  color:var(--home-green);
  min-height:690px;
}

:where(html.css-home) .collaborate-form h3 {
  font-size:32px;
  margin-bottom:31px;
}

:where(html.css-home) .collaborate-form>label,
:where(html.css-home) .collaborate-form legend {
  font-size:17px;
}

:where(html.css-home) .collaborate-form>input {
  border-width:1px;
  border-color:#9eb186;
  margin-bottom:32px;
}

:where(html.css-home) .collaborate-form fieldset {
  margin-bottom:8px;
}

:where(html.css-home) .contact-role span {
  font-weight:300;
  padding-left:20px;
}

:where(html.css-home) .carousel-prev,
:where(html.css-home) .carousel-next {
  position:relative;
  height:32px;
  font-size:0 !important;
}

:where(html.css-home) .carousel-prev::after,
:where(html.css-home) .carousel-next::after {
  content:'';
  position:absolute;
  width:14px;
  height:14px;
  border-left:3px solid;
  border-bottom:3px solid;
  top:9px;
  left:6px;
  transform:rotate(45deg);
}

:where(html.css-home) .carousel-next::after {
  transform:rotate(225deg);
  left:0;
}

:where(html.css-home) .carousel-dots button[aria-current="true"] {
  box-shadow:none;
}

@media(max-width:1000px) {
:where(html.css-home) .collaborate-form {
  min-height:0;
}

:where(html.css-home) .collaborate-form h3 {
  font-size:27px;
}

}

@media(max-width:1100px) and (min-width:1001px) {
:where(html.css-home) .home-header {
  height:94px;
  padding:0 24px;
}

:where(html.css-home) .home-logo {
  width:190px;
}

:where(html.css-home) .menu-toggle {
  display:block;
  border:0;
  border-radius:20px;
  background:var(--home-green);
  color:var(--home-bg);
  padding:9px 15px;
}

:where(html.css-home) .home-menu {
  display:none;
  position:absolute;
  top:94px;
  left:0;
  right:0;
  padding:20px 24px;
  background:var(--home-bg);
  border-radius:0 0 18px 18px;
  box-shadow:0 12px 20px #08284533;
}

:where(html.css-home) .home-menu.is-open {
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:18px;
}

:where(html.css-home) .home-menu a {
  font-size:18px;
}

:where(html.css-home) .home-menu .home-book {
  text-align:center;
}

}

/* Chi siamo — rules scoped to this page; shared components stay unchanged. */
:where(html.css-home) .about-page main {
  padding-top:132px;
}

:where(html.css-home) .about-hero {
  position:relative;
  display:flex;
  align-items:center;
  height:260px;
  margin:24px 48px 0;
  padding:0;
  overflow:hidden;
  border-radius:20px;
  color:var(--home-bg);
}

:where(html.css-home) .about-hero>img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
}

:where(html.css-home) .about-hero::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,40,69,.08),rgba(8,40,69,.46));
}

:where(html.css-home) .about-page .about-hero h1 {
  position:relative;
  z-index:1;
  margin:0 40px;
  font:400 88px/1.1 var(--font-body);
  letter-spacing:-4px;
  color:inherit;
}

:where(html.css-home) .about-page .about-section {
  height:auto;
  padding-top:58px;
  padding-bottom:64px;
}

:where(html.css-home) .about-page .home-section-heading {
  border-bottom-width:1px;
  padding-bottom:12px;
}

:where(html.css-home) .about-page .home-section-heading h2 {
  font-size:clamp(36px,4.3vw,60px);
  line-height:1.2 !important;
  letter-spacing:-2.5px !important;
}

:where(html.css-home) .about-intro-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:56px;
  align-items:center;
  margin-top:36px;
}

:where(html.css-home) .about-copy {
  font-size:21px;
  line-height:1.65;
}

:where(html.css-home) .about-copy p+p {
  margin-top:24px;
}

:where(html.css-home) .about-intro .about-copy {
  color:color-mix(in srgb,var(--home-blue) 82%,var(--home-light));
}

:where(html.css-home) .about-intro-photo {
  display:block;
  width:100%;
  height:440px;
  object-fit:cover;
  object-position:55% center;
  border-radius:20px;
}

:where(html.css-home) .about-rooms {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin-top:40px;
}

:where(html.css-home) .about-room {
  position:relative;
  display:grid;
  margin:0;
  overflow:hidden;
  border-radius:20px;
}

:where(html.css-home) .about-room-photo {
  grid-area:1/1;
  display:block;
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}

:where(html.css-home) .about-room::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(transparent 55%,rgba(8,40,69,.6));
  pointer-events:none;
}

:where(html.css-home) .about-room figcaption {
  grid-area:1/1;
  align-self:center;
  padding:0 16px;
  z-index:1;
  text-align:center;
  font-size:26px;
  font-weight:600;
  color:var(--home-bg);
}

:where(html.css-home) .about-photo-placeholder {
  display:grid;
  place-items:center;
  background:color-mix(in srgb,var(--home-light) 20%,var(--home-bg));
  color:var(--home-blue);
  font-size:14px;
  text-align:center;
}

:where(html.css-home) .about-room .about-photo-placeholder {
  align-items:end;
  padding-bottom:24px;
  background:color-mix(in srgb,var(--home-light) 32%,var(--home-blue));
  color:var(--home-bg);
}

:where(html.css-home) .about-structure-copy {
  margin-top:40px;
}

:where(html.css-home) .about-team-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:44px 28px;
  margin-top:40px;
}

:where(html.css-home) .about-person {
  min-width:0;
}

:where(html.css-home) .about-portrait {
  display:block;
  width:100%;
  aspect-ratio:3/4;
  border-radius:18px;
  object-fit:cover;
}

:where(html.css-home) .about-portrait.about-photo-placeholder {
  display:grid;
}

:where(html.css-home) .about-person h3 {
  margin:16px 0 6px;
  color:var(--home-blue);
  font-size:20px;
  font-weight:700;
  line-height:1.4;
}

:where(html.css-home) .about-person p {
  color:var(--home-light);
  font-size:17px;
  line-height:1.5;
}

@media(max-width:1100px) {
html:where(.css-home):has(.devitis-home) {
  scroll-padding-top:110px;
}

:where(html.css-home) .about-page main {
  padding-top:94px;
}

:where(html.css-home) .about-hero {
  margin:20px 24px 0;
  height:220px;
}

:where(html.css-home) .about-intro-grid {
  gap:28px;
}

:where(html.css-home) .about-copy {
  font-size:18px;
}

:where(html.css-home) .about-intro-photo {
  height:380px;
}

:where(html.css-home) .about-room figcaption {
  font-size:20px;
}

:where(html.css-home) .about-team-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:36px 24px;
}

}

@media(max-width:1000px) {
:where(html.css-home) .about-page .about-section {
  padding:40px 24px;
}

:where(html.css-home) .about-page .home-section-heading h2 {
  font-size:clamp(31px,5.4vw,42px);
  letter-spacing:-1.8px !important;
}

:where(html.css-home) .about-page .about-hero h1 {
  font-size:64px;
  margin-left:28px;
  letter-spacing:-2px;
}

:where(html.css-home) .about-rooms {
  gap:20px;
}

}

@media(max-width:640px) {
:where(html.css-home) .about-hero {
  height:180px;
  margin:18px 20px 0;
  border-radius:14px;
}

:where(html.css-home) .about-page .about-hero h1 {
  font-size:48px;
  margin-left:22px;
}

:where(html.css-home) .about-page .about-section {
  padding:36px 20px;
}

:where(html.css-home) .about-intro-grid {
  grid-template-columns:1fr;
  gap:28px;
  margin-top:28px;
}

:where(html.css-home) .about-copy {
  font-size:16px;
  line-height:1.65;
}

:where(html.css-home) .about-copy p+p {
  margin-top:20px;
}

:where(html.css-home) .about-intro-photo {
  height:auto;
  aspect-ratio:4/3;
  border-radius:14px;
}

:where(html.css-home) .about-rooms {
  grid-template-columns:1fr;
  gap:24px;
  margin-top:28px;
}

:where(html.css-home) .about-room-photo {
  aspect-ratio:4/3;
}

:where(html.css-home) .about-room figcaption {
  font-size:23px;
}

:where(html.css-home) .about-structure-copy {
  margin-top:28px;
}

:where(html.css-home) .about-team-grid {
  gap:28px 16px;
  margin-top:28px;
}

:where(html.css-home) .about-person h3 {
  font-size:16px;
  margin-top:12px;
}

:where(html.css-home) .about-person p {
  font-size:14px;
}

:where(html.css-home) .about-photo-placeholder {
  font-size:12px;
}

}

@media(max-width:380px) {
:where(html.css-home) .about-team-grid {
  grid-template-columns:1fr;
}

}

/* Specializzazioni — existing hero, navigation and footer are shared. */
:where(html.css-home) .specialties-page .about-hero h1 {
  font-size:clamp(28px,6.4vw,88px);
}

:where(html.css-home) .specialties-page .about-section {
  padding-top:76px;
  padding-bottom:48px;
}

:where(html.css-home) .specialties-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:48px 24px;
}

:where(html.css-home) .specialty-flip {
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  min-height:400px;
  aspect-ratio:8/9;
  padding:0;
  border:0;
  border-radius:20px;
  background:none;
  color:var(--home-blue);
  text-align:left;
  line-height:inherit;
  cursor:pointer;
  perspective:1200px;
}

:where(html.css-home) .specialty-flip-inner {
  position:absolute;
  inset:0;
  display:block;
  border-radius:inherit;
  transform-style:preserve-3d;
  transition:transform 650ms ease-in-out;
}

:where(html.css-home) .specialty-flip.is-flipped .specialty-flip-inner {
  transform:rotateY(180deg);
}

:where(html.css-home) .specialty-flip-front,
:where(html.css-home) .specialty-flip-back {
  position:absolute;
  inset:0;
  border-radius:inherit;
  overflow:hidden;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

:where(html.css-home) .specialty-flip-front {
  display:grid;
  place-items:center;
  padding:28px;
  background:var(--home-blue);
  color:var(--home-bg);
}

:where(html.css-home) .specialty-flip-front img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

:where(html.css-home) .specialty-flip-front::after {
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.3);
}

:where(html.css-home) .specialty-flip-title {
  position:relative;
  z-index:1;
  font-size:25px;
  font-weight:700;
  text-align:center;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}

:where(html.css-home) .specialty-flip-front .diagonal-arrow {
  position:absolute;
  bottom:28px;
  right:28px;
  z-index:1;
}

:where(html.css-home) .specialty-photo-note {
  position:absolute;
  bottom:28px;
  left:28px;
  z-index:1;
  font-size:13px;
}

:where(html.css-home) .specialty-flip-back {
  display:flex;
  flex-direction:column;
  gap:20px;
  padding:32px;
  border:1px solid var(--border);
  background:var(--home-bg);
  transform:rotateY(180deg);
}

:where(html.css-home) .specialty-flip-back strong {
  display:block;
  padding-bottom:14px;
  border-bottom:1px solid var(--home-light);
  font-size:24px;
  line-height:1.3;
  overflow-wrap:anywhere;
}

:where(html.css-home) .specialty-flip-description {
  min-height:0;
  overflow:auto;
  font-size:18px;
  line-height:1.6;
}

:where(html.css-home) .specialty-flip-return {
  margin-top:auto;
  font-size:15px;
  color:var(--home-green);
}

:where(html.css-home) .specialties-booking {
  grid-column:span 2;
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  min-width:0;
  padding:28px 52px;
  border-radius:20px;
  background:url('assets/home_hero.png') center/cover no-repeat;
  text-decoration:none;
}

:where(html.css-home) .specialties-booking>span {
  color:var(--home-bg);
  display:flex;
  align-items:center;
  gap:28px;
  padding-bottom:5px;
  border-bottom:2px solid;
  font-size:28px;
}

:where(html.css-home) .specialties-booking .diagonal-arrow {
  width:28px;
  height:28px;
}

@media(max-width:1000px) {
:where(html.css-home) .specialties-page .about-section {
  padding-top:40px;
  padding-bottom:40px;
}

:where(html.css-home) .specialties-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px 20px;
}

:where(html.css-home) .specialty-flip-title {
  font-size:22px;
}

:where(html.css-home) .specialty-flip-back {
  padding:24px;
}

:where(html.css-home) .specialties-booking {
  min-height:300px;
  padding:28px;
}

:where(html.css-home) .specialties-booking>span {
  font-size:22px;
}

}

@media(max-width:640px) {
:where(html.css-home) .specialties-grid {
  grid-template-columns:1fr;
}

:where(html.css-home) .specialties-booking {
  grid-column:span 1;
}

}

@media(prefers-reduced-motion:reduce) {
:where(html.css-home) .specialty-flip-inner {
  transition:none;
}

}

/* Prenota — the team source and internal hero are shared with Chi siamo. */
:where(html.css-home) .booking-page {
  background:var(--home-blue);
}

:where(html.css-home) .booking-page main {
  background:var(--home-bg);
}

:where(html.css-home) .booking-page .about-hero {
  background:var(--home-blue);
}

:where(html.css-home) .booking-page .booking-search-panel {
  padding-top:80px;
  padding-bottom:72px;
}

:where(html.css-home) .booking-search-panel .home-section-heading {
  border:0;
  padding-bottom:0;
}

:where(html.css-home) .booking-search-form {
  display:flex;
  width:100%;
  max-width:1000px;
  height:54px;
  margin-top:28px;
  padding:3px;
  border:2px solid var(--home-blue);
  border-radius:999px;
  background:var(--white);
}

:where(html.css-home) .booking-search-form input {
  flex:1;
  min-width:0;
  padding:0 18px;
  border:0;
  border-radius:inherit;
  background:transparent;
  color:var(--home-blue);
  font-size:20px;
}

:where(html.css-home) .booking-search-form button {
  padding:0 20px;
  border:0;
  border-radius:999px;
  background:var(--home-blue);
  color:var(--home-bg);
  font-size:24px;
  cursor:pointer;
}

:where(html.css-home) .booking-subtitle {
  margin-top:40px;
  font-size:24px;
  line-height:1.5;
}

:where(html.css-home) .booking-list {
  display:grid;
  gap:46px;
  margin-top:46px;
}

:where(html.css-home) .booking-card {
  display:grid;
  grid-template-columns:144px minmax(0,1fr);
  grid-template-rows:1fr auto;
  gap:0 36px;
  min-height:200px;
  padding:14px 20px 14px 16px;
  border-radius:20px;
  background:var(--home-bg);
  color:var(--home-blue);
}

:where(html.css-home) .booking-card-image {
  grid-row:1/span 2;
  width:144px;
  height:172px;
  border-radius:18px;
  object-fit:cover;
}

:where(html.css-home) .booking-card-content {
  min-width:0;
  padding-top:16px;
}

:where(html.css-home) .booking-card-content h3 {
  font-size:42px;
  font-weight:700;
  line-height:1.2;
  overflow-wrap:anywhere;
}

:where(html.css-home) .booking-card-content p {
  font-size:28px;
  color:var(--home-light);
  line-height:1.4;
}

:where(html.css-home) .booking-card .booking-profile {
  grid-column:2;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:50px;
  color:var(--home-green);
  font-size:21px;
}

:where(html.css-home) .booking-profile[href] {
  padding-bottom:5px;
  border-bottom:2px solid;
  text-decoration:none;
}

:where(html.css-home) .booking-profile .diagonal-arrow {
  width:24px;
  height:24px;
}

:where(html.css-home) .booking-empty {
  margin-top:40px;
  font-size:20px;
}

:where(html.css-home) .booking-page .booking-doctors {
  padding-bottom:160px;
}

@media(max-width:1000px) {
:where(html.css-home) .booking-page .booking-search-panel {
  padding-top:40px;
  padding-bottom:40px;
}

:where(html.css-home) .booking-subtitle {
  margin-top:28px;
  font-size:19px;
}

:where(html.css-home) .booking-list {
  gap:28px;
  margin-top:32px;
}

:where(html.css-home) .booking-card {
  grid-template-columns:110px minmax(0,1fr);
  gap:0 24px;
  min-height:170px;
}

:where(html.css-home) .booking-card-image {
  width:110px;
  height:142px;
}

:where(html.css-home) .booking-card-content {
  padding-top:8px;
}

:where(html.css-home) .booking-card-content h3 {
  font-size:30px;
}

:where(html.css-home) .booking-card-content p {
  font-size:21px;
}

:where(html.css-home) .booking-card .booking-profile {
  font-size:17px;
  gap:24px;
}

:where(html.css-home) .booking-page .booking-doctors {
  padding-bottom:64px;
}

}

@media(max-width:640px) {
:where(html.css-home) .booking-search-form input {
  padding:0 12px;
  font-size:16px;
}

:where(html.css-home) .booking-search-form button {
  padding:0 14px;
  font-size:18px;
}

:where(html.css-home) .booking-card {
  grid-template-columns:80px minmax(0,1fr);
  gap:16px;
  padding:16px;
}

:where(html.css-home) .booking-card-image {
  grid-row:1;
  width:80px;
  height:108px;
  font-size:11px;
}

:where(html.css-home) .booking-card-content {
  padding-top:0;
}

:where(html.css-home) .booking-card-content h3 {
  font-size:22px;
}

:where(html.css-home) .booking-card-content p {
  margin-top:6px;
  font-size:16px;
}

:where(html.css-home) .booking-card .booking-profile {
  grid-column:1/-1;
}

}

/* index.html — current homepage; the original index2-page class is preserved. */
:where(html.css-home) .index2-page {
  margin:0;
  color:var(--home-blue);
}

:where(html.css-home) .index2-page *,
:where(html.css-home) .index2-page *::before,
:where(html.css-home) .index2-page *::after {
  box-sizing:border-box;
}

:where(html.css-home) .index2-page h1,
:where(html.css-home) .index2-page h2,
:where(html.css-home) .index2-page h3,
:where(html.css-home) .index2-page p {
  margin:0;
}

:where(html.css-home) .index2-page main {
  max-width:1462px;
  margin:auto;
  padding:132px 24px 0;
}

:where(html.css-home) .index2-page .home-hero {
  height:auto;
  aspect-ratio:1318/714;
  overflow:hidden;
  border-radius:20px;
  background:none;
}

:where(html.css-home) .index2-page .landing-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

:where(html.css-home) .index2-page .home-hero-copy {
  top:50%;
  left:24px;
  right:24px;
  transform:translateY(-50%);
}

:where(html.css-home) .index2-page .hero-opening {
  display:block;
  width:fit-content;
  max-width:100%;
  margin-bottom:14px;
  padding:5px 32px;
  border-radius:999px;
  background:var(--home-bg);
  color:var(--home-green);
  font-size:30px;
  font-weight:700;
  line-height:1.2;
}

:where(html.css-home) .index2-page .home-hero h1 {
  font-size:clamp(48px,7.62vw,104px);
  font-weight:300;
  line-height:1.015;
  letter-spacing:-6px;
}

:where(html.css-home) .index2-page .home-hero-copy p {
  margin-top:10px;
  font-size:25px;
  line-height:1.45;
}

:where(html.css-home) .index2-page .landing-benefits {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}

:where(html.css-home) .index2-page .landing-benefits li {
  padding:10px 8px;
  border-radius:999px;
  background:var(--home-blue);
  color:var(--home-bg);
  text-align:center;
  font-size:25px;
  font-weight:300;
  letter-spacing:-1.4px;
}

:where(html.css-home) .index2-page .landing-newsletter {
  max-width:940px;
  margin:56px auto 0;
}

:where(html.css-home) .index2-page .landing-newsletter h2 {
  margin-bottom:12px;
  text-align:center;
  font-size:40px;
  font-weight:500;
  letter-spacing:-2.5px;
}

:where(html.css-home) .index2-page .landing-signup {
  display:flex;
  align-items:center;
  height:54px;
  padding:2px;
  border:1px solid #dededb;
  border-radius:999px;
  background:#fff;
}

:where(html.css-home) .index2-page .landing-signup label {
  display:flex;
  padding-left:18px;
  color:#d5d5d0;
}

:where(html.css-home) .index2-page .landing-signup svg {
  width:28px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
}

:where(html.css-home) .index2-page .landing-signup input {
  flex:1;
  min-width:0;
  padding:0 10px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--home-blue);
  font-size:20px;
}

:where(html.css-home) .index2-page .landing-signup input::placeholder {
  color:#d5d5d0;
}

:where(html.css-home) .index2-page .landing-signup button {
  align-self:stretch;
  padding:0 14px;
  border:0;
  border-radius:999px;
  background:var(--home-light);
  color:#fff;
  font-size:16px;
  font-weight:700;
}

:where(html.css-home) .index2-page .landing-consent {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:5px 20px 0;
  font-size:14px;
  color:#41617a;
}

:where(html.css-home) .index2-page .landing-consent input {
  flex-shrink:0;
  margin:2px 0 0;
  accent-color:var(--home-light);
}

:where(html.css-home) .index2-page .landing-specialties {
  margin-top:88px;
  color:var(--home-light);
}

:where(html.css-home) .index2-page .home-section-heading {
  border-bottom-width:2px;
}

:where(html.css-home) .index2-page .home-section-heading h2 {
  font-size:48px;
  font-weight:500;
  line-height:1.2 !important;
  letter-spacing:-2.5px !important;
}

:where(html.css-home) .index2-page .landing-mosaic {
  display:grid;
  grid-template-columns:2fr 2fr 3fr 2fr;
  grid-template-rows:repeat(6,minmax(0,1fr));
  gap:24px 28px;
  height:714px;
  margin-top:48px;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room {
  min-width:0;
  min-height:0;
  grid-template:minmax(0,1fr)/minmax(0,1fr);
  grid-row:span 3;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room-photo {
  height:100%;
  aspect-ratio:auto;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room::after {
  background:rgba(0,0,0,.10);
}

:where(html.css-home) .index2-page .landing-mosaic figcaption {
  padding:0 12px;
  font-size:25px;
  font-weight:700;
  line-height:1.4;
  text-transform:uppercase;
}

:where(html.css-home) .index2-page .mosaic-dermatology {
  grid-column:1;
}

:where(html.css-home) .index2-page .mosaic-ultrasound {
  grid-column:2;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-allergy {
  grid-column:3;
  grid-row:1/span 2;
}

:where(html.css-home) .index2-page .mosaic-gynecology {
  grid-column:4;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-cardiology {
  grid-column:1;
  grid-row:4/span 3;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-orthopedics {
  grid-column:2;
  grid-row:4/span 3;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-endocrinology {
  grid-column:3;
  grid-row:3/span 2;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-anesthesia {
  grid-column:3;
  grid-row:5/span 2;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-rheumatology {
  grid-column:4;
  grid-row:4/span 3;
}

:where(html.css-home) .index2-page .landing-story {
  margin-top:88px;
}

:where(html.css-home) .index2-page .about-copy {
  margin-top:20px;
  color:#41617a;
  font-size:20px;
  line-height:1.5;
  letter-spacing:1.1px;
}

:where(html.css-home) .index2-page .about-copy p+p {
  margin-top:30px;
}

:where(html.css-home) .index2-page .landing-info {
  margin-top:112px;
  color:var(--home-green);
}

:where(html.css-home) .index2-page .landing-info .home-section-heading {
  border-color:var(--home-blue);
}

:where(html.css-home) .index2-page .info-grid {
  grid-template-columns:minmax(0,580fr) minmax(0,656fr);
  gap:34px;
  margin-top:22px;
  font-size:20px;
  line-height:1.45;
}

:where(html.css-home) .index2-page .info-panels {
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}

:where(html.css-home) .index2-page .info-panels article {
  min-height:104px;
  padding:16px 36px;
  border:1px solid #dededb;
  background:#fff;
  color:inherit;
}

:where(html.css-home) .index2-page .info-panels h3 {
  width:auto;
  padding:0;
  border:0;
  margin-bottom:6px;
  font-size:26px;
}

:where(html.css-home) .index2-page .info-panels p {
  font-size:20px;
}

:where(html.css-home) .index2-page .landing-socials {
  display:flex;
  gap:14px;
  margin-top:24px;
}

:where(html.css-home) .index2-page .landing-socials svg {
  display:block;
  width:44px;
  height:44px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
}

:where(html.css-home) .index2-page .social-dot {
  fill:currentColor;
  stroke:none;
}

:where(html.css-home) .index2-page .home-collaborate {
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:center;
  height:378px;
  margin-top:82px;
  padding:24px;
  overflow:hidden;
  border-radius:20px;
  background:none;
}

:where(html.css-home) .index2-page .home-collaborate>.landing-photo {
  position:absolute;
  inset:0;
  object-position:center;
}

:where(html.css-home) .index2-page .home-collaborate::after {
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.32);
}

:where(html.css-home) .index2-page .collaborate-copy {
  position:relative;
  z-index:1;
  padding:0;
}

:where(html.css-home) .index2-page .collaborate-copy h2 {
  max-width:640px;
  padding-bottom:14px;
  font-size:48px;
  font-weight:400;
  letter-spacing:-2.5px;
  line-height:1.2;
}

:where(html.css-home) .index2-page .collaborate-copy p {
  max-width:640px;
  margin-top:24px;
  font-size:20px;
  line-height:1.45;
}

:where(html.css-home) .index2-page .home-footer {
  margin-top:74px;
  padding:30px 54px 26px;
  backdrop-filter:none;
}

:where(html.css-home) .index2-page .home-footer-grid {
  grid-template-columns:80px minmax(0,430px) minmax(0,350px) minmax(0,290px);
  gap:20px;
  padding-bottom:32px;
}

:where(html.css-home) .index2-page .footer-logo {
  margin-top:-6px;
}

:where(html.css-home) .index2-page .home-copyright {
  font-size:18px;
}

/* Motion is opt-in; content stays visible without JavaScript or observer support. */
@media(prefers-reduced-motion:no-preference) {
:where(html.css-home) .index2-page .home-hero-copy h1,
:where(html.css-home) .index2-page .home-hero-copy p {
  animation:index2-fade-up 700ms ease-out backwards;
}

:where(html.css-home) .index2-page .home-hero-copy p {
  animation-delay:120ms;
}

:where(html.css-home) .index2-page .reveal {
  opacity:0;
  transform:translateY(12px);
  transition:opacity 650ms ease-out,transform 650ms ease-out;
}

:where(html.css-home) .index2-page .reveal.is-visible,
:where(html.css-home) .index2-page .reveal:focus-within {
  opacity:1;
  transform:none;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room:nth-child(3n+2) {
  transition-delay:70ms;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room:nth-child(3n) {
  transition-delay:140ms;
}

:where(html.css-home) .index2-page .about-room-photo {
  transition:transform 600ms ease-out;
}

:where(html.css-home) .index2-page .home-menu a {
  position:relative;
}

:where(html.css-home) .index2-page .home-menu a::after {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 500ms ease-out;
}

:where(html.css-home) .index2-page .home-menu a:focus-visible::after {
  transform:scaleX(1);
}

@media(hover:hover) and (pointer:fine) {
:where(html.css-home) .index2-page .landing-mosaic .about-room:hover .about-room-photo {
  transform:scale(1.025);
}

:where(html.css-home) .index2-page .home-menu a:hover::after {
  transform:scaleX(1);
}

}

}

@keyframes index2-fade-up {

 from { opacity:0; transform:translateY(12px); }
 to { opacity:1; transform:none; }

}

@media(max-width:1100px) {
:where(html.css-home) .index2-page main {
  padding-top:94px;
}

}

@media(max-width:1000px) {
:where(html.css-home) .index2-page .home-hero-copy {
  left:24px;
  right:24px;
  top:50%;
}

:where(html.css-home) .index2-page .hero-opening {
  font-size:clamp(18px,2.2vw,24px);
}

:where(html.css-home) .index2-page .home-hero h1 {
  font-size:7.6vw;
  letter-spacing:-3px;
}

:where(html.css-home) .index2-page .home-hero-copy p {
  font-size:18px;
  max-width:640px;
  margin-top:14px;
}

:where(html.css-home) .index2-page .landing-benefits {
  gap:18px;
  margin-top:18px;
}

:where(html.css-home) .index2-page .landing-benefits li {
  font-size:clamp(13px,1.9vw,19px);
  letter-spacing:-.7px;
}

:where(html.css-home) .index2-page .landing-newsletter {
  max-width:740px;
  margin-top:42px;
}

:where(html.css-home) .index2-page .landing-newsletter h2 {
  font-size:34px;
  letter-spacing:-1.8px;
}

:where(html.css-home) .index2-page .landing-consent {
  font-size:12px;
}

:where(html.css-home) .index2-page .landing-specialties {
  margin-top:56px;
}

:where(html.css-home) .index2-page .landing-story,
:where(html.css-home) .index2-page .landing-info {
  margin-top:64px;
}

:where(html.css-home) .index2-page .home-section-heading h2 {
  font-size:42px;
  letter-spacing:-2px !important;
}

:where(html.css-home) .index2-page .landing-mosaic {
  height:530px;
  gap:18px;
  margin-top:32px;
}

:where(html.css-home) .index2-page .landing-mosaic figcaption {
  font-size:clamp(14px,1.9vw,19px);
  padding:0 8px;
}

:where(html.css-home) .index2-page .about-copy,
:where(html.css-home) .index2-page .info-grid {
  font-size:19px;
}

:where(html.css-home) .index2-page .about-copy {
  letter-spacing:.6px;
}

:where(html.css-home) .index2-page .about-copy p+p {
  margin-top:28px;
}

:where(html.css-home) .index2-page .info-panels article {
  padding:14px 20px;
}

:where(html.css-home) .index2-page .info-panels h3 {
  font-size:26px;
}

:where(html.css-home) .index2-page .info-panels p {
  font-size:16px;
}

:where(html.css-home) .index2-page .home-collaborate {
  height:340px;
  margin-top:42px;
}

:where(html.css-home) .index2-page .collaborate-copy h2 {
  max-width:480px;
  font-size:44px;
  letter-spacing:-2px;
}

:where(html.css-home) .index2-page .collaborate-copy p {
  max-width:480px;
  font-size:20px;
  margin-top:20px;
}

:where(html.css-home) .index2-page .home-footer {
  margin-top:54px;
  padding:30px 24px 20px;
}

:where(html.css-home) .index2-page .home-footer-grid {
  grid-template-columns:80px minmax(0,1fr) minmax(0,1fr);
  gap:24px;
}

:where(html.css-home) .index2-page .home-footer-grid>div:last-child {
  grid-column:3;
}

:where(html.css-home) .index2-page .footer-menu a {
  font-size:16px;
}

:where(html.css-home) .index2-page .home-copyright {
  font-size:14px;
}

}

@media(max-width:640px) {
:where(html.css-home) .index2-page main {
  padding:94px 20px 0;
}

:where(html.css-home) .index2-page .home-hero {
  min-height:400px;
  aspect-ratio:4/5;
  border-radius:16px;
}

:where(html.css-home) .index2-page .home-hero>.landing-photo {
  position:absolute;
  inset:0;
  object-position:55% center;
}

:where(html.css-home) .index2-page .home-hero-copy {
  top:50%;
  left:20px;
  right:20px;
}

:where(html.css-home) .index2-page .hero-opening {
  margin-bottom:12px;
  padding-inline:20px;
  font-size:clamp(14px,3.8vw,20px);
}

:where(html.css-home) .index2-page .home-hero h1 {
  font-size:clamp(34px,8.2vw,52px);
  letter-spacing:-2px;
  line-height:1.08;
}

:where(html.css-home) .index2-page .home-hero-copy p {
  font-size:16px;
  margin-top:20px;
}

:where(html.css-home) .index2-page .landing-benefits {
  gap:8px;
  margin-top:14px;
}

:where(html.css-home) .index2-page .landing-benefits li {
  display:grid;
  align-items:center;
  padding:10px 5px;
  font-size:11px;
  line-height:1.3;
  letter-spacing:-.4px;
}

:where(html.css-home) .index2-page .landing-newsletter {
  margin-top:34px;
}

:where(html.css-home) .index2-page .landing-newsletter h2 {
  font-size:27px;
  letter-spacing:-1.5px;
}

:where(html.css-home) .index2-page .landing-signup {
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

:where(html.css-home) .index2-page .landing-signup label {
  height:46px;
  padding-left:12px;
  align-items:center;
  border:1px solid #dededb;
  border-right:0;
  border-radius:24px 0 0 24px;
  background:#fff;
}

:where(html.css-home) .index2-page .landing-signup svg {
  width:24px;
}

:where(html.css-home) .index2-page .landing-signup input {
  width:100%;
  height:46px;
  padding:0 10px;
  border:1px solid #dededb;
  border-left:0;
  border-radius:0 24px 24px 0;
  background:#fff;
  font-size:16px;
}

:where(html.css-home) .index2-page .landing-signup button {
  grid-column:1/-1;
  min-height:44px;
  margin-top:10px;
  font-size:12px;
}

:where(html.css-home) .index2-page .landing-consent {
  margin:10px 4px 0;
  font-size:11px;
}

:where(html.css-home) .index2-page .landing-specialties,
:where(html.css-home) .index2-page .landing-story,
:where(html.css-home) .index2-page .landing-info {
  margin-top:44px;
}

:where(html.css-home) .index2-page .home-section-heading h2 {
  font-size:32px;
  letter-spacing:-1.6px !important;
}

:where(html.css-home) .index2-page .landing-mosaic {
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:none;
  grid-auto-rows:210px;
  height:auto;
  gap:14px;
  margin-top:24px;
}

:where(html.css-home) .index2-page .landing-mosaic .about-room {
  grid-column:auto;
  grid-row:auto;
  border-radius:14px;
}

:where(html.css-home) .index2-page .landing-mosaic .mosaic-anesthesia {
  grid-column:1/-1;
  grid-row:5;
}

:where(html.css-home) .index2-page .landing-mosaic figcaption {
  font-size:14px;
}

:where(html.css-home) .index2-page .about-copy {
  margin-top:18px;
  font-size:16px;
  line-height:1.6;
  letter-spacing:.4px;
}

:where(html.css-home) .index2-page .about-copy p+p {
  margin-top:22px;
}

:where(html.css-home) .index2-page .info-grid {
  grid-template-columns:1fr;
  gap:24px;
  margin-top:20px;
  font-size:17px;
}

:where(html.css-home) .index2-page .info-panels {
  gap:14px;
}

:where(html.css-home) .index2-page .info-panels article {
  border-radius:18px;
}

:where(html.css-home) .index2-page .info-panels h3 {
  font-size:26px;
}

:where(html.css-home) .index2-page .info-panels p {
  font-size:16px;
}

:where(html.css-home) .index2-page .landing-socials {
  margin-top:18px;
}

:where(html.css-home) .index2-page .landing-socials svg {
  width:36px;
  height:36px;
}

:where(html.css-home) .index2-page .home-collaborate {
  height:auto;
  min-height:370px;
  margin-top:30px;
  padding:24px 20px;
  border-radius:16px;
}

:where(html.css-home) .index2-page .home-collaborate::after {
  background:rgba(0,0,0,.5);
}

:where(html.css-home) .index2-page .collaborate-copy h2 {
  font-size:34px;
  letter-spacing:-1.8px;
}

:where(html.css-home) .index2-page .collaborate-copy p {
  font-size:17px;
  line-height:1.55;
}

:where(html.css-home) .index2-page .home-footer {
  margin-top:42px;
  padding:30px 20px 20px;
}

:where(html.css-home) .index2-page .home-footer-grid {
  grid-template-columns:64px minmax(0,1fr);
  gap:24px 16px;
}

:where(html.css-home) .index2-page .footer-logo {
  width:64px;
  height:128px;
  margin:0;
  justify-self:start;
}

:where(html.css-home) .index2-page .footer-logo img {
  height:128px;
}

:where(html.css-home) .index2-page .home-footer-grid>div {
  grid-column:1/-1;
}

:where(html.css-home) .index2-page .home-footer-grid>div:last-child {
  grid-column:1/-1;
}

:where(html.css-home) .index2-page .footer-menu a {
  font-size:14px;
}

:where(html.css-home) .index2-page .home-footer-grid h3 {
  font-size:20px;
}

:where(html.css-home) .index2-page .home-copyright {
  font-size:12px;
}

}

/* Messaggio newsletter */
:where(html.css-home) #newsletterMessage {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

/* Pulsante durante l'invio */
:where(html.css-home) .landing-signup button:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Controlli newsletter */
:where(html.css-home) .landing-signup input:focus-visible,
:where(html.css-home) .landing-consent input:focus-visible {
  outline: 2px solid #5b8eb3;
  outline-offset: 3px;
}

/* Newsletter: only effective mobile additions; layout precedence at 640px is preserved. */
@media (max-width: 768px) {
:where(html.css-home) .landing-newsletter {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

:where(html.css-home) .landing-signup {
  flex-direction: column;
  width: 100%;
  overflow: visible;
  gap: 10px;
}

:where(html.css-home) .landing-signup label {
  width: 100%;
  min-height: 48px;
}

:where(html.css-home) .landing-signup input {
  width: 100%;
}

:where(html.css-home) .landing-signup button {
  display: block;
  width: 100%;
  min-height: 52px;
  line-height: 1.4;
  white-space: normal;
  cursor: pointer;
  touch-action: manipulation;
}

:where(html.css-home) .landing-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

}


/* 4. Previous landing — preserved, including its original responsive rules. */
:root:where(.css-old) {
  --blue: #082845;
  --light-blue: #6498be;
  --green: #496b22;
}

:where(html.css-old),
:where(html.css-old) * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(html.css-old) body,
:where(html.css-old) .landing {
  min-height: 100vh;
  background: #f7f7f3;
  font-family: "Montserrat Landing", sans-serif;
}

:where(html.css-old) .hero {
  width: 100%;
  background: linear-gradient(to bottom, rgba(247, 247, 243, 0) 55%, #f7f7f3 100%) center top / 100% 100% no-repeat, url("assets/sfondo.png") center top / cover no-repeat;
}

:where(html.css-old) .content {
  max-width: 1900px;
  margin: auto;
  padding: clamp(306px, calc(32vw - 24px), 631px) 24px 42px;
  text-align: center;
}

:where(html.css-old) .brand {
  --brand-size: clamp(54px, 5.4vw, 110px);
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin: 0 auto 28px;
}

:where(html.css-old) .brand img {
  display: block;
  width: calc(var(--brand-size) * .724 + 5.6px);
  height: auto;
}

:where(html.css-old) .brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

:where(html.css-old) .brand-name {
  color: var(--blue);
  font: 400 var(--brand-size)/.9 "Bodoni Moda", Georgia, serif;
  white-space: nowrap;
}

:where(html.css-old) .brand-subtitle {
  margin-top: 10px;
  color: var(--light-blue);
  font-size: calc(var(--brand-size) * .3215);
  line-height: 1.2;
  letter-spacing: .08em;
  white-space: nowrap;
}

:where(html.css-old) h1 {
  width: min(100%, 1114px);
  margin: 0 auto 26px;
  color: var(--blue);
  font-size: clamp(38px, 3.8vw, 75px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

:where(html.css-old) .intro {
  max-width: 1500px;
  margin: auto;
  color: var(--blue);
  font-size: clamp(18px, 1.55vw, 30px);
  line-height: 1.4;
  letter-spacing: .08em;
}

:where(html.css-old) .opening {
  display: inline-block;
  margin-top: 30px;
  padding: 8px 30px 10px;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: clamp(20px, 1.5vw, 29px);
  line-height: 1.1;
}

:where(html.css-old) .opening strong {
  font-weight: 600;
}

:where(html.css-old) .details {
  max-width: 1162px;
  margin: auto;
  padding: 56px 24px 76px;
  color: var(--blue);
}

:where(html.css-old) .newsletter {
  max-width: 816px;
  margin: 60px auto 0;
  text-align: left;
}

:where(html.css-old) .signup {
  display: grid;
  grid-template-columns: 1fr 366px;
  height: 54px;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
}

:where(html.css-old) .signup label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #777;
}

:where(html.css-old) .signup input {
  width: 100%;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--blue);
}

:where(html.css-old) .signup button {
  margin: 2px;
  border: 0;
  border-radius: 7px;
  background: #426718;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

:where(html.css-old) .privacy {
  margin: 6px 8px 0;
  color: #777;
  font-size: 12px;
}

:where(html.css-old) .card {
  border: 1px solid #deded8;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(24,40,20,.09);
}

:where(html.css-old) .story {
  display: grid;
  grid-template-columns: 54px 1.4fr 1px 1fr;
  gap: 22px;
  min-height: 344px;
  padding: 26px;
}

:where(html.css-old) .icon-circle {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 50%;
  background: #cbd3c3;
  color: var(--green);
}

:where(html.css-old) .icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:where(html.css-old) .story h2,
:where(html.css-old) .location h2 {
  font: 400 32px/1.2 "Bodoni Moda", Georgia, serif;
  letter-spacing: .12em;
}

:where(html.css-old) .story h2 {
  white-space: nowrap;
}

:where(html.css-old) .story-copy p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.38;
  letter-spacing: .03em;
}

:where(html.css-old) .divider {
  background: #cbd3c3;
}

:where(html.css-old) .quote {
  position: relative;
  display: grid;
  place-items: center;
  padding: 42px 24px 22px;
  font: italic 400 30px/1.35 "Bodoni Moda", Georgia, serif;
  letter-spacing: .1em;
  text-align: center;
}

:where(html.css-old) .quote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 16px;
  color: #cbd3c3;
  font: 120px/1 Georgia, serif;
}

:where(html.css-old) .location {
  margin-top: 48px;
  padding: 28px 27px 52px;
  text-align: center;
}

:where(html.css-old) .location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 20px;
}

:where(html.css-old) .place {
  display: flex;
  align-items: center;
  min-height: 99px;
  padding: 10px 14px;
  border: 1px solid #cbd3c3;
  border-radius: 8px;
  text-align: left;
}

:where(html.css-old) .place div:last-child {
  margin-left: 14px;
}

:where(html.css-old) .place h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .08em;
}

:where(html.css-old) .place p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
}

:where(html.css-old) .signup-wrapper {
  width: 100%;
}

:where(html.css-old) .newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 8px 0;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

:where(html.css-old) .newsletter-consent input {
  width: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

:where(html.css-old) .newsletter-consent a {
  color: var(--blue);
  text-decoration: underline;
}

:where(html.css-old) .newsletter-consent a:hover {
  color: var(--green);
}

/* Footer legale */
:where(html.css-old) .legal-footer {
  background: #e5e0d8;
  color: var(--blue);
  padding: 20px 24px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .03em;
}

:where(html.css-old) .legal-footer-inner {
  max-width: 1162px;
  margin: 0 auto;
  text-align: center;
}

:where(html.css-old) .legal-footer-company {
  margin-bottom: 5px;
}

:where(html.css-old) .legal-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

:where(html.css-old) .legal-footer a {
  color: var(--blue);
  text-decoration: none;
}

:where(html.css-old) .legal-footer a:hover {
  text-decoration: underline;
}

:where(html.css-old) .legal-footer-separator {
  opacity: .45;
}

@media (max-width: 960px) {
:where(html.css-old) .content {
  padding-top: clamp(270px, 48vw, 440px);
}

:where(html.css-old) h1 {
  max-width: 720px;
  white-space: normal;
}

:where(html.css-old) .intro {
  max-width: 720px;
  letter-spacing: .05em;
}

:where(html.css-old) .intro br {
  display: none;
}

:where(html.css-old) .newsletter {
  margin-top: 44px;
}

:where(html.css-old) .signup {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 38%);
}

:where(html.css-old) .details {
  padding-top: 44px;
  padding-bottom: 60px;
}

:where(html.css-old) .story {
  grid-template-columns: 50px 1fr;
  min-height: 0;
}

:where(html.css-old) .story h2 {
  white-space: normal;
}

:where(html.css-old) .divider {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin-top: 8px;
}

:where(html.css-old) .quote {
  grid-column: 1 / -1;
  min-height: 180px;
  margin-top: 0;
}

:where(html.css-old) .quote::after {
  display: none;
}

:where(html.css-old) .location {
  margin-top: 32px;
}

:where(html.css-old) .location-grid {
  grid-template-columns: 1fr;
}

:where(html.css-old) .place {
  min-height: 88px;
}

}

@media (max-width: 640px) {
:where(html.css-old) .hero {
  background-size: 100% 70.69vw, 100% auto;
}

:where(html.css-old) .content {
  padding: clamp(205px, 58vw, 260px) 18px 32px;
}

:where(html.css-old) .brand {
  --brand-size: clamp(46px, 14vw, 58px);
  gap: 9px;
  margin-bottom: 24px;
}

:where(html.css-old) .brand-subtitle {
  margin-top: 7px;
}

:where(html.css-old) h1 {
  margin-bottom: 18px;
  font-size: clamp(31px, 9.2vw, 40px);
  line-height: 1.08;
}

:where(html.css-old) .intro {
  font-size: clamp(15px, 4.25vw, 18px);
  line-height: 1.55;
  letter-spacing: .025em;
}

:where(html.css-old) .opening {
  margin-top: 22px;
  padding: 8px 20px 9px;
  font-size: 17px;
}

:where(html.css-old) .newsletter {
  margin-top: 34px;
}

:where(html.css-old) .signup {
  grid-template-columns: 1fr;
  height: auto;
  border-radius: 9px;
}

:where(html.css-old) .signup label {
  min-height: 50px;
  padding: 0 14px;
}

:where(html.css-old) .signup button {
  min-height: 48px;
  margin: 0 3px 3px;
  padding: 0 12px;
}

:where(html.css-old) .newsletter-consent {
  margin: 10px 2px 0;
  font-size: 11px;
}

:where(html.css-old) .privacy {
  margin-right: 2px;
  margin-left: 2px;
}

:where(html.css-old) .details {
  padding: 32px 16px 44px;
}

:where(html.css-old) .card {
  box-shadow: 0 6px 20px rgba(24,40,20,.07);
}

:where(html.css-old) .story {
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 20px 18px;
}

:where(html.css-old) .icon-circle {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

:where(html.css-old) .icon {
  width: 23px;
  height: 23px;
}

:where(html.css-old) .story h2,
:where(html.css-old) .location h2 {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: .07em;
}

:where(html.css-old) .story-copy p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .015em;
}

:where(html.css-old) .quote {
  min-height: 150px;
  padding: 34px 14px 20px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: .06em;
}

:where(html.css-old) .quote::before {
  top: -10px;
  left: 6px;
  font-size: 88px;
}

:where(html.css-old) .quote::after {
  right: 6px;
  bottom: 18px;
  left: 6px;
}

:where(html.css-old) .location {
  margin-top: 24px;
  padding: 22px 18px 24px;
}

:where(html.css-old) .location-grid {
  gap: 10px;
  margin-top: 16px;
}

:where(html.css-old) .place {
  min-height: 76px;
  padding: 10px 12px;
}

:where(html.css-old) .place div:last-child {
  margin-left: 11px;
}

:where(html.css-old) .place h3 {
  font-size: 16px;
  letter-spacing: .05em;
}

:where(html.css-old) .place p {
  font-size: 11px;
}

:where(html.css-old) .legal-footer {
  padding: 18px 16px;
  font-size: 10px;
}

:where(html.css-old) .legal-footer-company {
  line-height: 1.7;
}

}

@media (max-width: 360px) {
:where(html.css-old) .content {
  padding-right: 14px;
  padding-left: 14px;
}

:where(html.css-old) .brand {
  --brand-size: 43px;
}

:where(html.css-old) h1 {
  font-size: 29px;
}

:where(html.css-old) .details {
  padding-right: 12px;
  padding-left: 12px;
}

:where(html.css-old) .story {
  grid-template-columns: 1fr;
}

:where(html.css-old) .story .icon-circle {
  margin-bottom: 2px;
}

}


/* 5. Privacy and cookie policies — exact common rules shared; differences scoped. */
:root:where(.css-policy) {
  --blue: #082845;
  --green: #496b22;
  --background: #f7f7f3;
  --border: #deded8;
}

:where(html.css-policy),
:where(html.css-policy) * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(html.css-policy) body {
  background: var(--background);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

:where(html.css-policy) .policy-header {
  background: #e5e0d8;
  color: var(--blue);
  padding: 42px 24px;
  text-align: center;
}

:where(html.css-policy) .policy-header h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 8px;
}

:where(html.css-policy) .policy-header p {
  opacity: .8;
  font-size: 14px;
}

:where(html.css-policy) .policy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px 60px;
}

:where(html.css-policy) .policy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(24px, 4vw, 48px);
}

:where(html.css-privacy) h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 22px;
}

:where(html.css-policy) h2:first-child {
  margin-top: 0;
}

:where(html.css-policy) p {
  margin-bottom: 14px;
}

:where(html.css-policy) ul {
  margin: 10px 0 18px 24px;
}

:where(html.css-policy) li {
  margin-bottom: 7px;
}

:where(html.css-policy) a {
  color: var(--green);
}

:where(html.css-policy) .back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  text-decoration: none;
}

:where(html.css-policy) .back:hover {
  text-decoration: underline;
}

:where(html.css-policy) .updated {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #666;
  font-size: 13px;
}

:where(html.css-policy) .legal-footer {
  background: #e5e0d8;
  color: var(--blue);
  text-align: center;
  padding: 20px 24px;
  font-size: 11px;
  line-height: 1.7;
}

:where(html.css-policy) .legal-footer a {
  color: var(--blue);
  margin: 0 5px;
}



    @media (max-width: 640px)  {
:where(html.css-policy) .policy-container {
  margin-top: 25px;
}

:where(html.css-policy) .policy-card {
  padding: 24px 20px;
}

:where(html.css-cookie) .cookie-table {
  display: block;
  overflow-x: auto;
}

}
:where(html.css-cookie) h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 22px;
}

:where(html.css-cookie) .notice {
  margin: 25px 0;
  padding: 18px 20px;
  background: #f3f5ef;
  border-left: 4px solid var(--green);
  border-radius: 4px;
}

:where(html.css-cookie) .cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

:where(html.css-cookie) .cookie-table th,
:where(html.css-cookie) .cookie-table td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

:where(html.css-cookie) .cookie-table th {
  background: #f3f5ef;
}


/* 6. Newsletter confirmation / unsubscribe — identical original rules shared. */
:root:where(.css-newsletter-status) {
  --blue: #082845;
  --green: #496b22;
  --background: #f7f7f3;
  --border: #deded8;
}

:where(html.css-newsletter-status),
:where(html.css-newsletter-status) * {
  box-sizing: border-box;
}

:where(html.css-newsletter-status) body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
}

:where(html.css-newsletter-status) main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

:where(html.css-newsletter-status) .card {
  width: min( 100%, 600px );
  padding: clamp( 30px, 6vw, 52px );
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba( 24, 40, 20, .08 );
  text-align: center;
}

:where(html.css-newsletter-status) .icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #edf2e8;
  color: var(--green);
  font-size: 30px;
}

:where(html.css-newsletter-status) h1 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp( 28px, 5vw, 38px );
  line-height: 1.2;
}

:where(html.css-newsletter-status) p {
  margin: 0;
  color: #4d5c69;
  font-size: 16px;
  line-height: 1.65;
}

:where(html.css-newsletter-status) .loader {
  width: 34px;
  height: 34px;
  margin: 26px auto 0;
  border: 3px solid #d9dfd4;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {


      to {

        transform:
          rotate(
            360deg
          );

      }


}

:where(html.css-newsletter-status) .home-link {
  display: inline-block;
  margin-top: 28px;
  padding: 11px 22px;
  border: 1px solid var(--green);
  border-radius: 7px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

:where(html.css-newsletter-status) .home-link:hover {
  background: var(--green);
  color: #ffffff;
}

:where(html.css-newsletter-status) .legal-footer {
  padding: 18px 24px;
  background: var(--border);
  color: var(--blue);
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}

:where(html.css-newsletter-status) .legal-footer a {
  color: var(--blue);
}


/* 7. Homepage newsletter states — palette only; no geometry changes. */
:where(html.css-home) .index2-page .landing-newsletter input,
:where(html.css-home) .index2-page .landing-newsletter button {
  accent-color: var(--home-light);
}
:where(html.css-home) .index2-page .landing-newsletter input:focus,
:where(html.css-home) .index2-page .landing-newsletter button:focus,
:where(html.css-home) .index2-page .landing-newsletter a:focus {
  outline-color: #5b8eb3;
}
/* Preserve the existing outline width, style and offset for keyboard users. */
:where(html.css-home) .index2-page .landing-newsletter :focus-visible {
  outline-color: #5b8eb3;
}
/* Browser autofill keeps its native fill and text; only its focus outline is themed. */
:where(html.css-home) .index2-page .landing-newsletter input:autofill,
:where(html.css-home) .index2-page .landing-newsletter input:-webkit-autofill {
  outline-color: #5b8eb3;
}
