/* Farmacia Colònia de Sant Jordi — Design System */

/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("a5e80bd0-a676-4fe9-a5ae-f1773f63a3a8") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("f7a42641-dff9-443f-bf9d-b35a875b7b78") 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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("684e0d02-1c5e-4239-a1f4-0bfc5b870111") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("780cb45a-9b7b-4cda-8956-927598aa6a83") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("73917d58-d668-4335-b6c1-d9dcd05db686") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("3aa22bd0-81d3-4f7b-84b6-8b13a68bf025") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("18782a8f-40b7-4c51-aaa9-a28145b30d96") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("8116acc0-2e34-41ca-839c-6052d76d2855") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("09afb6fa-50b1-4930-b1ad-687cd8ca5623") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("c4861849-b515-4193-89af-05167b11184d") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("e7d80c38-8dc5-46ae-9d35-23f435a84bd8") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("73917d58-d668-4335-b6c1-d9dcd05db686") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("3aa22bd0-81d3-4f7b-84b6-8b13a68bf025") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("18782a8f-40b7-4c51-aaa9-a28145b30d96") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("8116acc0-2e34-41ca-839c-6052d76d2855") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("09afb6fa-50b1-4930-b1ad-687cd8ca5623") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("c4861849-b515-4193-89af-05167b11184d") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("e7d80c38-8dc5-46ae-9d35-23f435a84bd8") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("73917d58-d668-4335-b6c1-d9dcd05db686") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("3aa22bd0-81d3-4f7b-84b6-8b13a68bf025") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("18782a8f-40b7-4c51-aaa9-a28145b30d96") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("8116acc0-2e34-41ca-839c-6052d76d2855") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("09afb6fa-50b1-4930-b1ad-687cd8ca5623") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("c4861849-b515-4193-89af-05167b11184d") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("e7d80c38-8dc5-46ae-9d35-23f435a84bd8") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("73917d58-d668-4335-b6c1-d9dcd05db686") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("3aa22bd0-81d3-4f7b-84b6-8b13a68bf025") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("18782a8f-40b7-4c51-aaa9-a28145b30d96") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("8116acc0-2e34-41ca-839c-6052d76d2855") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("09afb6fa-50b1-4930-b1ad-687cd8ca5623") 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: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("c4861849-b515-4193-89af-05167b11184d") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("e7d80c38-8dc5-46ae-9d35-23f435a84bd8") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("7c493734-6180-4494-9c34-c9051685e3af") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("911e932b-82e3-435e-841f-2e6b71506c8a") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("d085c171-673a-4eff-bd46-fe585cbacd16") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("50b348be-846a-4f76-9e93-938f5a32bfb8") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("dec12832-0ba0-4960-8e4e-a4d132d4e3c7") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("ac389a5b-5abb-4a16-9079-a20ca31b281c") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("7c493734-6180-4494-9c34-c9051685e3af") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("911e932b-82e3-435e-841f-2e6b71506c8a") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("d085c171-673a-4eff-bd46-fe585cbacd16") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("50b348be-846a-4f76-9e93-938f5a32bfb8") 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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("dec12832-0ba0-4960-8e4e-a4d132d4e3c7") 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("ac389a5b-5abb-4a16-9079-a20ca31b281c") 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;
}


:root {
  /* Palette — Mallorca sur */
  --sea-900: oklch(28% 0.06 225);
  --sea-700: oklch(42% 0.09 220);
  --sea-500: oklch(58% 0.09 215);
  --sea-300: oklch(78% 0.06 210);
  --sea-100: oklch(92% 0.03 210);

  --foam: oklch(97.5% 0.012 210);
  --shell: oklch(95% 0.018 85);
  --sand: oklch(91% 0.03 85);
  --sand-deep: oklch(82% 0.05 75);

  --ink: oklch(22% 0.02 240);
  --ink-soft: oklch(42% 0.02 240);
  --ink-mute: oklch(58% 0.015 240);
  --line: oklch(88% 0.015 220);

  --accent: oklch(62% 0.08 180);        /* brand teal from logo — tweakable */
  --accent-soft: oklch(94% 0.03 180);

  --brand: oklch(62% 0.08 180);

  --bg: var(--foam);
  --fg: var(--ink);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 32, 48, 0.04), 0 1px 3px rgba(16, 32, 48, 0.03);
  --shadow: 0 4px 20px rgba(16, 32, 48, 0.06), 0 1px 3px rgba(16, 32, 48, 0.04);
  --shadow-lg: 0 20px 60px rgba(16, 32, 48, 0.10);

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body { overflow-x: hidden; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.display {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.italic { font-style: italic; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============ PLACEHOLDER IMAGERY ============ */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--sand) 0 8px,
      var(--shell) 8px 16px
    );
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ph.sea {
  background:
    repeating-linear-gradient(
      135deg,
      var(--sea-100) 0 8px,
      oklch(94% 0.02 210) 8px 16px
    );
}
.ph.deep {
  background:
    repeating-linear-gradient(
      135deg,
      var(--sea-700) 0 8px,
      var(--sea-900) 8px 16px
    );
  color: var(--sea-100);
}
.ph .label {
  background: rgba(255,255,255,0.88);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ph.deep .label {
  background: rgba(0,0,0,0.35);
  color: var(--foam);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--foam);
}
.btn-primary:hover { background: var(--sea-900); transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: white; border-color: var(--ink); }

.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover { background: #1fb955; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.divider {
  height: 1px;
  background: var(--line);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 249, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--foam);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a {
  cursor: pointer;
  transition: color 0.15s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lang-toggle button {
  padding: 6px 10px;
  color: var(--ink-mute);
}
.lang-toggle button.on {
  background: var(--ink);
  color: var(--foam);
}

/* ============ CARDS ============ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; }

.card-tight {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}

/* ============ PILLS / TAGS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
}
.pill-green { background: #d8f0df; color: #156b3a; }
.pill-accent { background: var(--accent-soft); color: var(--accent); }
.pill-sea { background: var(--sea-100); color: var(--sea-900); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }

@keyframes shimmer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.35;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ============ WHATSAPP CHAT PANEL ============ */
.wa-panel {
  position: fixed;
  bottom: 94px;
  right: 24px;
  width: 340px;
  z-index: 95;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeUp 0.3s ease;
}
.wa-head {
  background: linear-gradient(135deg, #075E54, #128C7E);
  color: white;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-head .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
}
.wa-body {
  background: #ECE5DD;
  padding: 16px;
  min-height: 180px;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(0,0,0,0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.wa-bubble {
  background: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  max-width: 80%;
  margin-bottom: 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  animation: fadeUp 0.3s ease both;
}
.wa-bubble .time {
  font-size: 10px;
  color: #999;
  display: block;
  text-align: right;
  margin-top: 2px;
}
.wa-foot {
  padding: 12px;
  background: white;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.wa-foot input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.wa-foot input:focus { border-color: var(--sea-500); }

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  width: 260px;
  font-family: var(--sans);
}
.tweaks-panel h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.swatch {
  aspect-ratio: 1;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.on { border-color: var(--ink); }

/* ============ FORM ============ */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sea-500);
}

/* ============ UTIL ============ */
.muted { color: var(--ink-mute); }
.soft { color: var(--ink-soft); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .visit-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .tweaks-panel { display: none; }
}

/* waves divider */
.waves {
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'><path d='M0 20 Q 75 0 150 20 T 300 20 T 450 20 T 600 20 T 750 20 T 900 20 T 1050 20 T 1200 20 V40 H0 Z' fill='%23eaeef1'/></svg>");
  background-size: 300px 40px;
  background-repeat: repeat-x;
}

/* Section spacing */
section { padding: 80px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }

/* ============ MOBILE RESPONSIVE — global hardening ============ */

/* Prevent any horizontal overflow */
html, body { max-width: 100vw; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* Words/URLs that don't fit should wrap, not push layout */
p, li, span, a, h1, h2, h3, h4, h5, h6, div { overflow-wrap: anywhere; word-break: normal; }

/* ============ NAV — burger menu ============ */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(247, 248, 249, 0.98);
  backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid var(--line);
}
.nav-mobile-panel a {
  padding: 14px 8px;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: block;
}
.nav-mobile-panel a.active { color: var(--accent); font-weight: 600; }

/* ============ Tablet (≤900px) ============ */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }
  .nav-mobile-panel { display: flex; }
  .nav-inner { padding: 12px 20px; gap: 8px; }
  .nav-right { gap: 8px; }
  .lang-toggle button { padding: 5px 7px; font-size: 10px; }
  .logo img { height: 36px !important; }
}

/* ============ Phone (≤640px) — collapse all multi-col grids ============ */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 44px 0; }

  /* Force every multi-column inline grid to a single column */
  [style*="grid-template-columns"]:not(.grid-keep) {
    grid-template-columns: 1fr !important;
  }
  [style*="gridTemplateColumns"]:not(.grid-keep) {
    grid-template-columns: 1fr !important;
  }
  /* Reduce inline gap on stacked grids */
  [style*="grid-template-columns"]:not(.grid-keep),
  [style*="gridTemplateColumns"]:not(.grid-keep) {
    gap: 24px !important;
  }

  /* Headings: cap clamp() upper bounds for narrow screens */
  h1 { font-size: clamp(36px, 9vw, 56px) !important; line-height: 1.05 !important; }
  h2 { font-size: clamp(28px, 7vw, 40px) !important; line-height: 1.1 !important; }
  h3 { font-size: clamp(20px, 5vw, 26px) !important; }

  /* Hero photo grid: keep small thumbnails as 2-col but limit height */
  .hero-grid > div:last-child > div { gap: 10px !important; }

  /* Cards & panels: trim padding */
  .card { padding: 20px !important; }
  [style*="padding: 48"], [style*="padding:48"] { padding: 24px !important; }
  [style*="padding: 36"], [style*="padding:36"] { padding: 22px !important; }
  [style*="padding: 32"], [style*="padding:32"] { padding: 22px !important; }
  [style*="padding: '32px"], [style*="padding:'32px"] { padding: 22px !important; }

  /* Footer: stack 4 cols → 2 cols, then service ul tighter */
  footer .container > div:first-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
  footer .container > div:last-child {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: left;
  }

  /* Buttons & ctas: full width-friendly */
  .btn { font-size: 14px; }

  /* Tweaks panel hidden on phone (already in :600 query) */
  .tweaks-panel { display: none; }

  /* Service rows: hide the # column on small screens */
  [style*="60px 1.5fr 2fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  [style*="60px 1.5fr 2fr auto"] > span:first-child { display: none; }
  [style*="60px 1.5fr 2fr auto"] > div:last-child { display: none; }

  /* Service grid on home: collapse 12-col layout to single column,
     and reset all gridColumn span:N to full width */
  [style*="repeat(12, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  [style*="repeat(12, 1fr)"] > * {
    grid-column: auto !important;
    min-height: 0 !important;
  }
  [style*="repeat(12, 1fr)"] > .card {
    min-height: 180px !important;
    padding: 24px !important;
  }
  [style*="repeat(12, 1fr)"] > .card h3 {
    font-size: 26px !important;
  }

  /* Beach/healthcare card grids */
  [style*="repeat(5, 1fr)"], [style*="repeat(3, 1fr)"], [style*="repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ============ Tiny phone (≤380px) ============ */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .lang-toggle button { padding: 4px 6px; font-size: 9px; }
  .logo img { height: 30px !important; }
  h1 { font-size: 32px !important; }
  [style*="repeat(5, 1fr)"], [style*="repeat(3, 1fr)"], [style*="repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
