:root {
  --teal: #1f6b63;
  --teal-dark: #17544e;
  --teal-text: #1c4b47;
  --gold: #d3b45a;
  --gold-deep: #b5953e;
  --navy: #1f2f3d;
  --grey: #5c6670;
  --bg: #f9f9f6;
  --bg-card: #efefeb;
  --bg-strip: #ecece7;
  --bg-cta: #f2f2ee;
  --gutter: clamp(20px, 3.4vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--bg); line-height: 1.45; -webkit-font-smoothing: antialiased; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }

.container { width: 100%; max-width: 1800px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gold { color: var(--gold); }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; line-height: 1.6; }
.eyebrow--dark { color: var(--navy); }

.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 14px 30px; border-radius: 999px; white-space: nowrap; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn .icon { stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(5px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--lg { font-size: 16px; padding: 17px 32px; }

/* ---------- MOTION ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: .15s; }
.hero__content > :nth-child(2) { animation-delay: .25s; }
.hero__content > :nth-child(3) { animation-delay: .4s; }
.hero__content > :nth-child(4) { animation-delay: .5s; }
.hero__content > :nth-child(5) { animation-delay: .7s; }
.hero__tagline { animation: rise .9s var(--ease) .8s both; }
.nav { animation: rise .8s var(--ease) both; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 900px; background: linear-gradient(160deg, #2b7b72 0%, var(--teal) 40%, #1a5f58 100%); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero > * { position: relative; z-index: 2; }
.hero > picture { display: contents; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 240px; background: linear-gradient(to bottom, rgba(8,40,38,.6), rgba(8,40,38,0)); }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 96% top; transform-origin: 60% 30%; animation: kenburns 2.4s var(--ease) both;
  -webkit-mask-image: linear-gradient(to right, transparent 27%, #000 42%); mask-image: linear-gradient(to right, transparent 27%, #000 42%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.hero__fade { position: absolute; z-index: 1; left: 0; bottom: 0; width: 62%; height: 40%; background: linear-gradient(to top, #1b615a 0%, rgba(27,97,90,0) 100%);
  -webkit-mask-image: linear-gradient(to right, #000 60%, transparent); mask-image: linear-gradient(to right, #000 60%, transparent); }

.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; }
.nav__logo { position: absolute; top: 0; left: var(--gutter); width: 220px; transition: transform .4s var(--ease); }
.nav__logo:hover { transform: scale(1.03); }
.nav__links { grid-column: 2; display: flex; gap: 36px; font-family: var(--font-head); font-weight: 600; font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.nav__links a { position: relative; padding: 10px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--gold); }
.nav > .btn { grid-column: 3; justify-self: end; }
.nav__toggle, .nav__cta-item { display: none; }

.hero__content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 24px; padding-bottom: 40px; }
.hero__content > .eyebrow { margin-top: auto; }
.hero__title { font-size: clamp(44px, min(3.8vw, 7.6vh), 72px); margin: 10px 0 18px; }
.hero__title::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-top: 20px; }
.hero__text { font-size: 17px; max-width: 470px; margin-bottom: 24px; }
.hero__features { display: flex; margin-top: auto; padding-top: 32px; }
.hero__features li { display: flex; align-items: center; gap: 16px; font-size: 15px; cursor: default; font-weight: 600; line-height: 1.35; padding: 0 44px 0 0; }
.hero__features li + li { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.35); }
.hero__features .icon { width: 42px; height: 42px; stroke-width: 1.3; transition: color .3s, transform .4s var(--ease); }
.hero__features li:hover .icon { color: var(--gold); transform: translateY(-4px) rotate(-6deg); }
.hero__tagline { position: absolute; right: var(--gutter); bottom: 40px; text-align: right; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.7; }
.hero__tagline::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin: 0 0 18px auto; }

/* ---------- PRODUCTS ---------- */
.products { padding: 56px var(--gutter) 40px; }
.products__head { display: grid; grid-template-columns: 1fr 315px auto; align-items: end; gap: 60px; margin-bottom: 44px; }
.section-title { font-size: clamp(34px, 2.6vw, 48px); color: var(--teal-text); margin-top: 4px; }
.section-title .gold { color: #c7a44a; }
.products__desc { font-size: 15px; color: var(--navy); line-height: 1.55; padding-bottom: 6px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--teal-text); padding-bottom: 12px; }
.link .icon { stroke-width: 2.2; transition: transform .3s var(--ease); }
.link:hover { color: var(--gold-deep); }
.link:hover .icon { transform: translateX(5px); }

.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -18px rgba(23,84,78,.45); }
.card img { width: 100%; aspect-ratio: 1.15; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover img { transform: scale(1.07); }
.card__body { position: relative; background: var(--bg-card); padding: 22px 18px 18px; min-height: 150px; transition: background .4s var(--ease), color .4s; }
.card__body::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.card:hover .card__body { background: var(--teal); color: #fff; }
.card:hover .card__body::before { width: 100%; }
.card__body h3 { font-size: 18px; margin-bottom: 8px; }
.card__body p { font-size: 13px; color: var(--grey); line-height: 1.4; max-width: 180px; transition: color .4s; }
.card:hover .card__body p { color: rgba(255,255,255,.8); }
.card > a { display: block; height: 100%; color: inherit; }
.card__body .icon { stroke-width: 2; display: block; }

/* ---------- SERVICES ---------- */
.services { background: linear-gradient(160deg, #2b7b72 0%, var(--teal) 45%, #1a5f58 100%); color: #fff; }
.services__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 80px; padding-top: 84px; padding-bottom: 84px; }
.services__title { font-size: clamp(34px, 2.6vw, 48px); margin: 14px 0 22px; }
.services__title::after { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-top: 22px; }
.services__text { font-size: 16px; max-width: 420px; margin-bottom: 30px; }
.services__list li { display: flex; align-items: flex-start; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.22); cursor: default; }
.services__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.services__list .icon { width: 44px; height: 44px; stroke-width: 1.3; color: var(--gold); margin-top: 2px; transition: transform .4s var(--ease); }
.services__list li:hover .icon { transform: translateY(-4px) rotate(-6deg); }
.services__list h3 { font-size: 18px; margin-bottom: 6px; }
.services__list p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); max-width: 500px; }

/* ---------- STEPS ---------- */
.steps { padding: 72px var(--gutter) 64px; }
.steps__head { display: grid; grid-template-columns: 1fr 360px auto; align-items: end; gap: 60px; margin-bottom: 40px; }
.steps__desc { font-size: 15px; color: var(--navy); line-height: 1.55; padding-bottom: 6px; }
.steps__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps__list li { position: relative; padding: 28px 24px 8px 0; border-top: 1px solid rgba(31,47,61,.2); cursor: default; }
.steps__list li::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.steps__list li:hover::before { width: 100%; }
.steps__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: #c7a44a; margin-bottom: 20px; }
.steps__list h3 { font-size: 18px; color: var(--teal-text); margin-bottom: 10px; }
.steps__list p { font-size: 14px; color: var(--grey); line-height: 1.5; }

/* ---------- SECTORS ---------- */
.sectors { background: var(--bg-strip); }
.sectors__inner { display: flex; align-items: center; min-height: 154px; padding-top: 10px; padding-bottom: 10px; }
.sectors__label { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.6; margin-right: 26px; }
.sectors__list { display: flex; flex: 1; }
.sectors__list li { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: 13px; cursor: default; transition: color .3s; font-weight: 600; line-height: 1.35; padding: 8px 6px; border-left: 1px solid rgba(31,47,61,.2); }
.sectors__list .icon { width: 38px; height: 38px; stroke-width: 1.3; transition: color .3s, transform .4s var(--ease); }
.sectors__list li:hover { color: var(--teal); }
.sectors__list li:hover .icon { color: var(--gold-deep); transform: translateY(-5px) scale(1.12); }
.sectors__more { justify-content: center; }

/* ---------- ABOUT ---------- */
/* photo column is ~30% narrower than the original 5fr/7fr split, so the story leads and the portrait accompanies */
.about { display: grid; grid-template-columns: minmax(0, 3.5fr) minmax(0, 8.5fr); grid-template-areas: "photo story" "photo founder"; column-gap: clamp(48px, 6vw, 96px); max-width: 1480px; padding-top: 84px; padding-bottom: 84px; }
.about__story { grid-area: story; }
.about__founder { grid-area: founder; max-width: 600px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(31,47,61,.12); }
.about__photo { grid-area: photo; align-self: center; position: relative; isolation: isolate; margin-right: 24px; }
.about__photo::before { content: ""; position: absolute; z-index: -1; inset: 24px -24px auto 24px; aspect-ratio: 2 / 3; border: 2px solid var(--gold); }
.about__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--bg-card); }
.about__text > p { font-size: 16px; line-height: 1.6; max-width: 600px; margin-bottom: 16px; }
.about__text .section-title { margin-bottom: 26px; }
.about__subtitle { display: flex; align-items: center; gap: 14px; font-size: 20px; color: var(--teal-text); margin-bottom: 16px; }
.about__subtitle::before { content: ""; width: 32px; height: 2px; background: var(--gold); flex: none; }
.about__name { font-size: 24px; color: var(--teal-text); }
.about__text > .about__role { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin: 6px 0 16px; }
.about__text .link { margin-top: 8px; }
/* must stay above the 780px block: same specificity, so source order decides which grid wins on mobile */
@media (max-width: 1100px) {
  .about { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
}

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 500px; background: var(--bg-cta); display: grid; grid-template-columns: 48% 24% 28%; overflow: hidden; }
.cta__photo { position: absolute; left: 0; top: 0; width: 48%; height: 100%; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,50,66,.45), rgba(18,50,66,.8)); }
.cta__left { position: relative; color: #fff; padding: 78px var(--gutter) 60px; }
.cta__title { font-size: clamp(40px, 3vw, 56px); margin: 24px 0 36px; }
.cta__text { font-size: 16px; max-width: 360px; }

.cta__benefits { position: relative; background: var(--gold-deep); color: #fff; margin-left: -112px; padding: 82px 0 40px 150px; clip-path: polygon(112px 0, 100% 0, calc(100% - 112px) 100%, 0 100%); display: flex; flex-direction: column; gap: 66px; }
.cta__benefits li { display: flex; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; line-height: 1.35; cursor: default; transition: transform .4s var(--ease); }
.cta__benefits li:hover { transform: translateX(10px); }
.cta__benefits li:hover .icon { transform: rotate(-8deg) scale(1.1); }
.cta__benefits li:nth-child(2) { margin-left: -24px; }
.cta__benefits li:nth-child(3) { margin-left: -48px; }
.cta__benefits .icon { width: 56px; height: 56px; stroke-width: 1.3; transition: transform .4s var(--ease); }

.cta__right { position: relative; background: var(--bg-cta); padding: 70px var(--gutter) 60px 44px; }
.cta__right h2 { font-size: clamp(32px, 2.2vw, 40px); color: var(--teal-text); margin-bottom: 18px; }
.cta__right p { font-size: 16px; color: var(--navy); max-width: 330px; margin-bottom: 30px; }
.cta__whatsapp { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--teal-text); line-height: 1.4; }
.cta__whatsapp .icon { width: 48px; height: 48px; stroke-width: 2; padding: 9px; border-radius: 50%; border: 2px solid var(--teal); transition: background .3s, color .3s, transform .4s var(--ease); }
.cta__whatsapp:hover .icon { background: var(--teal); color: #fff; transform: scale(1.08); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.1); background: var(--teal-dark); color: rgba(255,255,255,.75); font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 28px; min-height: 96px; padding-top: 16px; padding-bottom: 16px; }
.footer__logo { width: 96px; }
.footer__links { display: flex; gap: 24px; margin-left: auto; font-family: var(--font-head); font-weight: 600; }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }

/* ---------- RESPONSIVE ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } [data-reveal] { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 1200px) {
  .nav__logo { width: 180px; top: 6px; }
  .nav__links { margin-left: 230px; gap: 22px; }
  .hero__title { font-size: 56px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .services__inner { grid-template-columns: 1fr; gap: 40px; }
  .steps__head { grid-template-columns: 1fr; gap: 16px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .sectors__list { flex-wrap: wrap; }
  .sectors__list li { flex: 1 0 25%; }
  .cta { grid-template-columns: 1fr; }
  .cta__photo { width: 100%; }
  .cta__benefits { margin: 0; clip-path: none; padding: 40px 32px; }
  .cta__benefits li { margin-left: 0 !important; }
  .cta__right { padding: 48px 32px; }
}
@media (max-width: 780px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__photo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; object-position: 0% 8%; transform: none; animation: none; clip-path: none; -webkit-mask-image: none; mask-image: none; }
  .hero__fade { display: block; left: 0; top: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; background: linear-gradient(to bottom, rgba(23,84,78,.78) 0%, rgba(31,107,99,.62) 35%, rgba(26,95,88,.8) 70%, rgba(23,84,78,.97) 100%); }
  .hero::before { height: 120px; }
  .hero__content { padding: 32px 16px 56px; }
  .hero__title { font-size: 44px; }
  .hero__features { flex-direction: column; gap: 18px; }
  .hero__features li + li { padding-left: 0; border: 0; }
  .hero__tagline { position: static; text-align: left; margin: 0 16px 32px; }
  .hero__tagline::before { margin-left: 0; }
  .hero__tagline::before { margin-left: 0; }
  .products__head { grid-template-columns: 1fr; gap: 16px; }
  .section-title { font-size: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .services__inner { padding: 48px 16px; }
  .services__title { font-size: 34px; }
  .services__list li { gap: 16px; padding: 18px 0; }
  .services__list .icon { width: 36px; height: 36px; }
  .steps { padding: 48px 16px; }
  .steps__list { grid-template-columns: 1fr; gap: 8px; }
  .about { grid-template-columns: 1fr; grid-template-areas: "story" "photo" "founder"; padding: 48px 16px; }
  .about__photo { width: 68%; max-width: 280px; margin: 36px 0 0; }
  .about__photo::before { inset: 16px -16px auto 16px; }
  .about__founder { margin-top: 44px; padding-top: 0; border-top: 0; }
  .sectors__inner { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
  .sectors__label { margin: 0 0 16px; }
  .sectors__list li { flex: 1 0 50%; border: 0; }
  .cta__left { padding: 48px 16px; }
  .cta__title { font-size: 40px; }
  .cta__benefits, .cta__right { padding: 32px 16px; }
  .footer__inner { flex-wrap: wrap; gap: 12px 20px; }
  .footer__links { margin-left: 0; }
  .footer__copy { padding-left: 0; border: 0; }
}

/* ---------- PRODUCT PAGE ---------- */
.script { font-family: "Caveat", cursive; font-weight: 600; line-height: 1.05; }
.eyebrow--teal { color: var(--teal); }
.btn--outline { background: transparent; color: var(--teal-text); border: 2px solid var(--teal); }
.btn--outline .icon { width: 1.35em; height: 1.35em; }

.topbar { position: relative; background: linear-gradient(160deg, #2b7b72 0%, var(--teal) 55%, #1a5f58 100%); color: #fff; }
.topbar .nav { height: 120px; }
.topbar .nav__logo { top: 8px; width: 170px; }

.product { max-width: 1480px; padding-top: 28px; padding-bottom: 64px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb .icon { width: 14px; height: 14px; stroke-width: 2; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb [aria-current] { color: var(--teal-text); font-weight: 700; }

.product__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }

.gallery { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs button { display: block; width: 92px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bg-card); cursor: pointer; transition: border-color .25s, transform .3s var(--ease); }
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button.is-active { border-color: var(--teal); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; background: var(--bg-card); border-radius: 12px; overflow: hidden; }
.gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__script { position: absolute; top: 20px; right: 28px; font-size: 30px; color: var(--teal); transform: rotate(-8deg); text-align: center; }
.gallery__main figcaption { padding: 14px 20px 18px; font-size: 13px; color: var(--grey); }

.product__name { font-size: clamp(32px, 2.6vw, 44px); color: var(--teal-text); margin: 6px 0 14px; }
.product__desc { font-size: 16px; color: var(--navy); max-width: 520px; margin-bottom: 26px; }
.product__label { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--teal-text); margin: 24px 0 12px; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(31,47,61,.12); border-bottom: 1px solid rgba(31,47,61,.12); }
.specs li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 8px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.specs li + li { border-left: 1px solid rgba(31,47,61,.12); }
.specs .icon { width: 34px; height: 34px; stroke-width: 1.4; color: var(--teal); }

.swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--grey); min-width: 44px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(31,47,61,.2); box-shadow: inset 0 0 0 2px #fff; }

.sizes { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.sizes dt { color: var(--grey); }
.sizes dd { font-weight: 600; letter-spacing: 0.04em; }

.custom { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(31,47,61,.12); border-bottom: 1px solid rgba(31,47,61,.12); }
.custom li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 6px; font-size: 12px; font-weight: 600; }
.custom li + li { border-left: 1px solid rgba(31,47,61,.12); }
.custom .icon { width: 28px; height: 28px; stroke-width: 1.4; color: var(--teal); }

.uses { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; }
.uses li + li::before { content: "•"; margin: 0 12px; color: var(--gold-deep); }

.product__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.product__help { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--teal-text); }
.product__help .icon { width: 20px; height: 20px; stroke-width: 2; flex: none; }

.brand { position: relative; display: grid; grid-template-columns: 34% 32% 34%; min-height: 400px; overflow: hidden; background: var(--teal-dark); }
.brand > * { position: relative; }
.brand__bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 72%; height: 100%; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
.brand__text { background: linear-gradient(160deg, rgba(43,123,114,.9) 0%, rgba(31,107,99,.88) 45%, rgba(26,95,88,.92) 100%); backdrop-filter: blur(3px); color: #fff; padding: 40px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: center; }
.brand__text h2 { font-size: clamp(32px, 2.4vw, 44px); margin-bottom: 14px; }
.brand__text p { font-size: 15px; max-width: 460px; margin-bottom: 24px; }
.brand__features { display: flex; }
.brand__features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; padding: 0 28px; }
.brand__features li:first-child { padding-left: 0; }
.brand__features li + li { border-left: 1px solid rgba(255,255,255,.3); }
.brand__features .icon { width: 38px; height: 38px; stroke-width: 1.3; transition: color .3s, transform .4s var(--ease); }
.brand__features li:hover .icon { color: var(--gold); transform: translateY(-4px); }
.brand__logo { background: rgba(23,84,78,.86); backdrop-filter: blur(3px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px; text-align: center; }
.brand__logo .script { font-size: 32px; color: #fff; transform: rotate(-6deg); }
.brand__logo img { width: 190px; }

@media (max-width: 1100px) {
  .product__grid { grid-template-columns: 1fr; gap: 40px; }
  .brand { grid-template-columns: 1fr 1fr; }
  .brand__text { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .gallery__thumbs button { width: 72px; flex: none; }
  .gallery__script { font-size: 22px; }
  .specs, .custom { grid-template-columns: repeat(2, 1fr); }
  .specs li + li, .custom li + li { border-left: 0; }
  .brand { display: flex; flex-direction: column; min-height: 0; }
  .brand__bg { position: static; transform: none; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: 50% 20%; -webkit-mask-image: none; mask-image: none; order: 2; }
  .brand__text { order: 1; padding: 40px 16px 32px; background: linear-gradient(160deg, #2b7b72 0%, var(--teal) 45%, #1a5f58 100%); backdrop-filter: none; }
  .brand__text p { max-width: none; }
  .brand__features { justify-content: space-between; }
  .brand__features li { flex: 1; padding: 0 6px; font-size: 13px; }
  .brand__features li:first-child { padding-left: 0; }
  .brand__photo { display: none; }
  .brand__logo { order: 3; background: var(--teal-dark); backdrop-filter: none; padding: 32px 16px; gap: 18px; }
  .brand__logo .script { font-size: 28px; }
  .brand__logo img { width: 160px; }
}

/* ---------- CATALOG / CART ---------- */
.nav__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__cart { position: relative; display: inline-flex; padding: 6px; color: #fff; transition: color .25s; }
.nav__cart:hover { color: var(--gold); }
.nav__cart .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.nav__badge { position: absolute; top: -2px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font-family: var(--font-head); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }

.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.catalog__nav summary { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--teal-text); cursor: pointer; margin-bottom: 14px; list-style: none; }
.catalog__nav summary::-webkit-details-marker { display: none; }
.catalog__nav h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin: 18px 0 6px; }
.catalog__nav h3 a, .catalog__nav li a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; transition: background .2s, color .2s; }
.catalog__nav li a { font-weight: 600; color: var(--navy); }
.catalog__nav a span { color: var(--grey); font-weight: 400; font-size: 12px; }
.catalog__nav a:hover { background: var(--bg-card); color: var(--teal); }
.catalog__nav a.is-active { background: var(--teal); color: #fff; }
.catalog__nav a.is-active span { color: rgba(255,255,255,.75); }

.catalog__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.catalog__title { font-size: clamp(30px, 2.4vw, 42px); color: var(--teal-text); margin-top: 4px; }
.catalog__tools { display: flex; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--teal-text); }
.field input, .field select, .catalog__tools select { font: inherit; font-weight: 400; color: var(--navy); background: #fff; border: 1px solid rgba(31,47,61,.22); border-radius: 8px; padding: 11px 14px; min-width: 0; }
.field input:focus, .field select:focus, .catalog__tools select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field--search { position: relative; flex-direction: row; align-items: center; }
.field--search .icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--grey); stroke-width: 2; }
.field--search input { padding-left: 38px; width: 280px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(31,47,61,.2); font-size: 13px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chips a:hover { border-color: var(--teal); color: var(--teal); }
.chips a.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.catalog__count { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.catalog__empty { padding: 40px 0; color: var(--grey); }
.catalog__more { text-align: center; margin-top: 32px; }

.cards--catalog { grid-template-columns: repeat(4, 1fr); }
.cards--catalog .card img { aspect-ratio: 1; background: #fff; }
.cards--catalog .card__body { min-height: 0; padding-bottom: 40px; }
.cards--catalog .card__body h3 { font-size: 16px; }
.cards--catalog .card__body p { max-width: none; }
.card__cat { font-size: 11px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: 6px; }
.card:hover .card__cat { color: var(--gold) !important; }
.card__arrow { position: absolute; right: 18px; bottom: 14px; color: var(--gold-deep); font-size: 22px; transition: transform .35s var(--ease), color .3s; }
.card:hover .card__arrow { color: var(--gold); transform: translateX(4px); }
.card__noimg { aspect-ratio: 1; background: var(--bg-card); }

.product__meta { font-size: 13px; color: var(--grey); margin: -8px 0 14px; }
.specs li small { display: block; font-size: 11px; font-weight: 400; color: var(--grey); margin-bottom: 2px; }
.specs[hidden] { display: none; }
.swatches button { display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; font-size: 11px; color: var(--grey); background: none; border: 0; padding: 4px; cursor: pointer; border-radius: 8px; }
.swatches button:hover .swatch { transform: scale(1.08); }
.swatches button.is-active { color: var(--teal-text); font-weight: 700; }
.swatches button.is-active .swatch { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--teal); }
.swatch { transition: transform .2s var(--ease); }
.product__pick { display: flex; gap: 16px; margin-top: 24px; }
.product__pick .field { min-width: 160px; }
.product__pick input { width: 110px; }
.product__actions button { border: 0; cursor: pointer; font: inherit; }
.notice { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #fff6d6; color: #6b5314; font-size: 14px; }
.notice--ok { background: #e3f2ee; color: var(--teal-text); }
.notice .icon { width: 20px; height: 20px; stroke-width: 2.4; flex: none; }
.notice a { font-weight: 700; text-decoration: underline; }
.product__missing { padding: 60px 0 40px; }

.cartpage { padding-top: 36px; padding-bottom: 72px; max-width: 1480px; }
.cartpage__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 48px; align-items: start; margin-top: 28px; }
.cart__item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(31,47,61,.12); }
.cart__item:last-child { border-bottom: 1px solid rgba(31,47,61,.12); }
.cart__item img, .cart__noimg { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; background: var(--bg-card); }
.cart__info strong { font-family: var(--font-head); font-size: 16px; color: var(--teal-text); }
.cart__info p { font-size: 13px; color: var(--grey); margin-top: 4px; }
.cart__qty { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal-text); }
.cart__qty input { width: 76px; font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid rgba(31,47,61,.22); border-radius: 8px; }
.cart__remove { border: 0; background: none; cursor: pointer; color: var(--grey); padding: 8px; border-radius: 8px; transition: color .2s, background .2s; }
.cart__remove:hover { color: #b3261e; background: #fbe9e7; }
.cart__remove .icon { width: 20px; height: 20px; stroke-width: 2; display: block; }
.cart__empty { padding: 40px 0; color: var(--grey); }
.cart__empty a, .catalog__empty a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.cart__tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.link--danger { border: 0; background: none; cursor: pointer; color: #b3261e; }
.link--danger:hover { color: #8a1c15; }
.cartform { background: var(--bg-card); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cartform h2 { font-size: 22px; color: var(--teal-text); }
.cartform > p { font-size: 14px; color: var(--grey); margin-top: -6px; }
.cartform .btn { justify-content: center; margin-top: 8px; border: 0; cursor: pointer; }
.cartform .btn .icon { width: 1.35em; height: 1.35em; }
.cartform__hint { font-size: 12px; color: var(--grey); text-align: center; }
.cartform__hint a { text-decoration: underline; }

/* ---------- LEGAL ---------- */
.legal { max-width: 800px; margin: 0; padding-top: 36px; padding-bottom: 72px; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { font-size: 20px; color: var(--teal-text); margin: 30px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--teal); font-weight: 700; text-decoration: underline; }
.legal__date { font-size: 13px; color: var(--grey); margin-top: 28px; }

/* ---------- PRIVACY NOTICE ---------- */
.consent { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 18px; max-width: 900px; margin: 0 auto; padding: 16px 20px; border-radius: 14px; background: var(--teal-dark); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.28); font-size: 14px; line-height: 1.45; }
.consent p { flex: 1; }
.consent a { text-decoration: underline; font-weight: 700; }
.consent .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 780px) {
  .consent { flex-direction: column; align-items: stretch; text-align: center; left: 12px; right: 12px; bottom: 12px; }
  .consent .btn { justify-content: center; }
}

@media (max-width: 1100px) {
  .cards--catalog { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 24px; }
  .catalog__nav summary { padding: 12px 16px; background: var(--bg-card); border-radius: 10px; margin: 0; }
  .catalog__nav nav { padding: 8px 4px 0; }
  .cartpage__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 780px) {
  .nav__actions { margin-left: auto; gap: 10px; }
  .nav__actions .btn { padding: 12px 18px; font-size: 14px; }
  .catalog__tools { width: 100%; flex-direction: column; }
  .field--search input { width: 100%; }
  .cards--catalog { grid-template-columns: repeat(2, 1fr); }
  .product__pick { flex-direction: column; }
  .cart__tools { flex-wrap: wrap; }
  .cartform .btn { white-space: normal; }
  .cart__item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart__item img, .cart__noimg { width: 72px; height: 72px; }
  .cart__qty { grid-column: 2; }
  .cart__remove { grid-column: 2; justify-self: start; }
}

/* ---------- MOBILE HEADER ---------- */
@media (max-width: 780px) {
  .nav { display: flex; align-items: center; height: 72px; padding-left: 16px; padding-right: 12px; gap: 6px; animation: none; }
  .topbar .nav { height: 72px; padding: 0 12px 0 16px; }
  .nav__logo, .topbar .nav__logo { position: static; width: 112px; flex: none; margin-right: auto; top: auto; }
  .nav__logo:hover { transform: none; }
  .nav__actions { margin-left: 0; gap: 4px; }
  .nav__actions .btn { display: none; }
  .nav__cart { padding: 10px; }
  .nav__cart .icon { width: 28px; height: 28px; }
  .nav__badge { top: 2px; right: 0; }
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 9px; border: 0; background: none; cursor: pointer; }
  .nav__toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links { position: fixed; z-index: 50; inset: 72px 0 0 0; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 12px 24px 32px; background: var(--teal-dark); font-size: 20px; text-shadow: none; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav__links a { display: block; padding: 16px 0; }
  .nav__links a::after { display: none; }
  .nav__cta-item { display: block; border: 0 !important; padding-top: 24px; }
  .nav__cta-item .btn { display: inline-flex; width: 100%; justify-content: center; padding: 16px 24px; font-size: 17px; }
  body.menu-open { overflow: hidden; }
  .hero, .topbar { position: relative; z-index: 3; }
  .nav.is-open { z-index: 60; }
}

/* ---------- QUOTE DIALOG ---------- */
.quote { position: fixed; inset: 0; margin: auto; max-height: calc(100% - 32px); overflow: auto; border: 0; border-radius: 18px; padding: 32px 28px 28px; width: min(100% - 32px, 480px); background: var(--bg); color: var(--navy); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.quote::backdrop { background: rgba(8,40,38,.62); backdrop-filter: blur(3px); }
.quote h2 { font-size: 26px; color: var(--teal-text); margin: 4px 0 20px; }
.quote__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--grey); font-size: 26px; line-height: 1; cursor: pointer; }
.quote__close:hover { background: var(--bg-card); color: var(--navy); }
.quote__option { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(31,47,61,.15); border-radius: 14px; background: #fff; margin-bottom: 12px; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.quote__option:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(23,84,78,.5); }
.quote__option .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 1.8; flex: none; }
.quote__option--wa .icon { background: #25d366; }
.quote__option strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--teal-text); }
.quote__option small { display: block; font-size: 13px; color: var(--grey); margin-top: 2px; }
