/* =========================================================
   Skinmera — wellness brand styles
   ========================================================= */

:root{
  --ink:        #0b2238;
  --ink-soft:   #1a3a5c;
  --muted:      #5a6e83;
  --line:       #dce5ef;
  --paper:      #f6f9fc;
  --paper-2:    #eef4fa;
  --white:      #ffffff;

  --azure:      #2aa8e0;
  --azure-deep: #1378b3;
  --sky:        #b8e1f3;
  --sky-soft:   #e3f1f9;
  --navy:       #0d3a66;
  --accent:     #f2a93b;   /* warm contrast for buttons / highlights */

  --radius-s:   8px;
  --radius-m:   16px;
  --radius-l:   28px;

  --shadow-s:   0 1px 2px rgba(13, 58, 102, .06), 0 2px 6px rgba(13, 58, 102, .04);
  --shadow-m:   0 8px 24px rgba(13, 58, 102, .08);
  --shadow-l:   0 24px 60px rgba(13, 58, 102, .12);

  --container:  1180px;
  --gutter:     clamp(20px, 4vw, 40px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", "Helvetica Neue", Arial, sans-serif;

  --ease:   cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; height: auto; }
a{ color: var(--azure-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover{ color: var(--navy); }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1{ font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 400; }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3{ font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
p{ margin: 0 0 1em; color: var(--ink-soft); text-wrap: pretty; overflow-wrap: break-word; }
.lead{ font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.kicker{
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azure-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.kicker::before{
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--azure);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 .95rem var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  text-align: center;
}
.btn-primary{
  background: var(--azure-deep);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(19,120,179,.25);
}
.btn-primary:hover{ background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,58,102,.28); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--azure); color: var(--azure-deep); }

.btn .arrow{ transition: transform .25s var(--ease); }
.btn:hover .arrow{ transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--navy);
  color: #cfe1f0;
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a{ color: #cfe1f0; }
.topbar a:hover{ color: #fff; }
.topbar .pipe{ opacity: .35; margin: 0 10px; }

/* ---------- Navigation ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled{ box-shadow: var(--shadow-s); }

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand-mark{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sky), var(--azure) 70%, var(--azure-deep));
  box-shadow: inset 0 -4px 8px rgba(13,58,102,.18), 0 2px 6px rgba(13,58,102,.18);
}
.brand:hover{ color: var(--azure-deep); }

.menu{
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 28px;
}
.menu a{
  color: var(--ink);
  font-weight: 500;
  font-size: .96rem;
  position: relative;
  padding: 6px 0;
}
.menu a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--azure);
  transition: width .25s var(--ease);
}
.menu a:hover,
.menu a.active{ color: var(--azure-deep); }
.menu a:hover::after,
.menu a.active::after{ width: 100%; }

.nav-cta{ display: none; }

.burger{
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span{
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span::before,
.burger span::after{
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.burger span::before{ top: -6px; }
.burger span::after { top:  6px; }
.burger.open span{ background: transparent; }
.burger.open span::before{ transform: translateY(6px) rotate(45deg); }
.burger.open span::after{  transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 980px){
  .nav-cta{ display: inline-flex; }
}
@media (max-width: 979px){
  .menu{
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 22px var(--gutter) 30px;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-m);
  }
  .menu.open{ transform: translateY(0); }
  .menu li{ border-bottom: 1px solid var(--paper-2); }
  .menu li:last-child{ border-bottom: none; }
  .menu a{ display: block; padding: 14px 0; font-size: 1.05rem; }
  .burger{ display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 88% -10%, var(--sky-soft) 0%, transparent 60%),
    radial-gradient(700px 500px at -5% 105%, #f1f7fc 0%, transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .25;
  -webkit-mask-image: radial-gradient(700px 450px at 80% 30%, #000, transparent 70%);
          mask-image: radial-gradient(700px 450px at 80% 30%, #000, transparent 70%);
  pointer-events: none;
}

.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-text{ min-width: 0; }
.hero-visual-wrap{
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero h1 .accent{
  font-style: italic;
  color: var(--azure-deep);
}
.hero h1 .accent::after{
  content: "";
  display: block;
  width: 140px; height: 8px;
  background: linear-gradient(90deg, var(--sky), transparent);
  border-radius: 4px;
  margin-top: -4px;
}

.hero-actions{
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 26px;
}
.hero-meta{
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta .m{
  display: flex; flex-direction: column;
  gap: 2px;
}
.hero-meta .m strong{
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 500;
}
.hero-meta .m span{ font-size: .85rem; color: var(--muted); }

.hero-visual{
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  /* aspect-ratio matches the actual hero.jpg (1200×1500 → 4/5) */
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  background: var(--paper-2);
  box-shadow: var(--shadow-l);
  isolation: isolate;
}
.hero-visual img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover img{ transform: scale(1.05); }
.hero-visual::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,58,102,.32));
  pointer-events: none;
}

.hero-tag{
  position: absolute;
  /* Stay inside the card on every breakpoint instead of sticking out */
  left: clamp(14px, 3%, 24px);
  bottom: clamp(16px, 3.5%, 28px);
  right: auto;
  max-width: calc(100% - clamp(28px, 6%, 48px));
  background: var(--white);
  padding: clamp(10px, 1.4vw, 14px) clamp(14px, 1.8vw, 20px);
  border-radius: 14px;
  box-shadow: var(--shadow-m);
  display: inline-flex; align-items: center; gap: 12px;
  z-index: 2;
  font-size: clamp(.8rem, 1vw, .9rem);
  line-height: 1.35;
  border: 1px solid var(--line);
  white-space: normal;
}
.hero-tag .dot{
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 0 4px rgba(42,168,224,.18);
}

@media (max-width: 880px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{
    /* On tablet/mobile lean toward landscape so it doesn't dominate the viewport */
    aspect-ratio: 5 / 4;
    max-width: 560px;
  }
  .hero-visual img{
    object-position: center 30%;
  }
}
@media (max-width: 520px){
  .hero-visual{
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }
}

/* ---------- Section base ---------- */
section{
  padding: clamp(60px, 8vw, 110px) 0;
}
.section-head{
  max-width: 720px;
  margin-bottom: 50px;
}
.section-head.center{ margin-inline: auto; text-align: center; }

.alt{ background: var(--paper); }
.alt-2{ background: linear-gradient(180deg, var(--white), var(--paper-2) 80%); }

/* ---------- Intro / values strip ---------- */
.values{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.values .v{
  background: var(--white);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .25s var(--ease);
}
.values .v:hover{ background: var(--sky-soft); }
.values .v .num{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--azure-deep);
  font-size: 1.1rem;
}
.values .v h3{ margin: 0; font-size: 1.1rem; }
.values .v p{ margin: 0; font-size: .94rem; color: var(--muted); }

@media (max-width: 820px){
  .values{ grid-template-columns: 1fr; }
}

/* ---------- Product card / feature split ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}
@media (max-width: 880px){
  .split{ grid-template-columns: 1fr; }
}

.product-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 38px) clamp(22px, 3.2vw, 36px) clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.product-card::before{
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--sky-soft), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.product-card .pc-image{
  position: relative;
  height: clamp(220px, 28vw, 290px);
  margin-bottom: clamp(16px, 2.4vw, 22px);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 60%, var(--sky-soft), transparent 70%);
  border-radius: var(--radius-m);
}
.product-card .pc-image img{
  max-height: clamp(190px, 24vw, 250px);
  max-width: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(13,58,102,.18));
  transition: transform .5s var(--ease);
}
.product-card:hover .pc-image img{ transform: translateY(-6px) rotate(-2deg); }

.product-card .pc-name{
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 6px;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.product-card .pc-sub{
  font-size: clamp(.86rem, 1.1vw, .95rem);
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 clamp(14px, 2vw, 20px);
  text-wrap: pretty;
}
.product-card .pc-list{
  list-style: none;
  margin: 0 0 clamp(16px, 2.4vw, 22px);
  padding: 0;
  display: grid;
  gap: 10px;
}
.product-card .pc-list li{
  position: relative;
  padding-left: 26px;
  font-size: clamp(.88rem, 1.1vw, .96rem);
  line-height: 1.5;
  color: var(--ink-soft);
  overflow-wrap: break-word;
  hyphens: auto;
}
.product-card .pc-list li::before{
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: inset 0 0 0 3px var(--azure);
}
.product-card .pc-foot{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: clamp(14px, 2vw, 18px);
  border-top: 1px solid var(--paper-2);
}
.product-card .pc-foot .badge{
  font-size: clamp(.7rem, .85vw, .8rem);
  color: var(--azure-deep);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ---------- Ingredients ---------- */
.ingredients{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ingredient{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: clamp(20px, 2.6vw, 28px) clamp(18px, 2.2vw, 24px);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.ingredient:hover{
  transform: translateY(-4px);
  border-color: var(--sky);
}
.ingredient .ico{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sky-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--azure-deep);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
}
.ingredient h3{
  font-size: clamp(.98rem, 1.25vw, 1.1rem);
  line-height: 1.3;
  margin: 0 0 6px;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ingredient p{
  font-size: clamp(.86rem, 1.05vw, .94rem);
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

@media (max-width: 980px){ .ingredients{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .ingredients{ grid-template-columns: 1fr; } }

/* ---------- Lifestyle band ---------- */
.lifestyle{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--navy);
  color: #e8f1f8;
}
.lifestyle .ls-image{
  min-height: 360px;
  background-size: cover;
  background-position: center;
}
.lifestyle .ls-text{
  padding: clamp(28px, 5vw, 52px);
}
.lifestyle .ls-text h2{ color: #ffffff; }
.lifestyle .ls-text p{ color: #bfd2e3; max-width: 46ch; }
.lifestyle .ls-text .kicker{ color: var(--sky); }
.lifestyle .ls-text .kicker::before{ background: var(--sky); }
.lifestyle .ls-points{
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 12px;
}
.lifestyle .ls-points li{
  position: relative; padding-left: 26px; color: #d6e3ef;
}
.lifestyle .ls-points li::before{
  content: ""; position: absolute; left: 0; top: 10px;
  width: 14px; height: 2px; background: var(--sky);
}
@media (max-width: 880px){
  .lifestyle{ grid-template-columns: 1fr; }
  .lifestyle .ls-image{ min-height: 240px; order: -1; }
}

/* ---------- FAQ ---------- */
.faq{
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item.open{ border-color: var(--sky); box-shadow: var(--shadow-s); }
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font: 600 1rem var(--font-body);
  color: var(--ink);
}
.faq-q .ic{
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--azure-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.faq-item.open .faq-q .ic{
  background: var(--azure-deep);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner{
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: .96rem;
}

/* ---------- CTA band ---------- */
.cta{
  position: relative;
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 70px);
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(184,225,243,.45), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--azure-deep));
  color: #eaf3fa;
  overflow: hidden;
}
.cta h2{ color: #fff; max-width: 22ch; }
.cta p{ color: #cfe1f0; max-width: 46ch; }
.cta .row{
  display: flex; align-items: end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta .btn-primary{
  background: var(--white); color: var(--navy);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.cta .btn-primary:hover{ background: var(--sky-soft); color: var(--navy); }

/* ---------- Footer ---------- */
.foot{
  background: #0a1f35;
  color: #bfd2e3;
  padding: 70px 0 24px;
}
.foot-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.foot a{ color: #cfe1f0; }
.foot a:hover{ color: #fff; }
.foot .brand{ color: #fff; }
.foot .brand .brand-mark{
  background: radial-gradient(circle at 30% 30%, #fff, var(--sky) 70%, var(--azure));
}
.foot h4{
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}
.foot ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.foot p{ color: #99b2ca; font-size: .93rem; }
.foot-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
  color: #88a3bc;
}
@media (max-width: 880px){
  .foot-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .foot-grid{ grid-template-columns: 1fr; }
}

/* ---------- Cookie banner ---------- */
.cookie{
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-l);
  padding: 18px 22px;
  display: none;
  align-items: center;
  gap: 16px;
  z-index: 80;
  font-size: .92rem;
  max-width: 720px;
  margin: 0 auto;
}
.cookie.show{ display: flex; }
.cookie p{ margin: 0; color: var(--ink-soft); }
.cookie .actions{ display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn{ padding: 10px 18px; font-size: .85rem; }
@media (max-width: 620px){
  .cookie{ flex-direction: column; align-items: flex-start; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head{
  padding: 70px 0 50px;
  background:
    radial-gradient(700px 400px at 90% 0%, var(--sky-soft), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.page-head .crumbs{
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.page-head .crumbs a{ color: var(--azure-deep); }
.page-head h1{
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 22ch;
}

/* ---------- About page blocks ---------- */
.story{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.story img{ border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.story .body p + p{ margin-top: 1em; }
@media (max-width: 880px){ .story{ grid-template-columns: 1fr; gap: 30px; } }

.principles{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.principle{
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  position: relative;
}
.principle:nth-child(2){ transform: translateY(20px); }
.principle:nth-child(3){ transform: translateY(40px); }
.principle h3{ margin-top: 8px; }
.principle .pn{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--sky);
  line-height: 1;
}
@media (max-width: 980px){
  .principles{ grid-template-columns: 1fr; }
  .principle:nth-child(2),
  .principle:nth-child(3){ transform: none; }
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 880px){ .contact-grid{ grid-template-columns: 1fr; } }

.form{
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}
.form .row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form label{
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.form input,
.form select,
.form textarea{
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus{
  outline: none;
  border-color: var(--azure);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,168,224,.15);
}
.form textarea{ min-height: 130px; resize: vertical; }
.form .err{
  color: #c0392b;
  font-size: .82rem;
  display: none;
}
.form .field.invalid input,
.form .field.invalid textarea{
  border-color: #e29c92;
  background: #fdf3f1;
}
.form .field.invalid .err{ display: block; }
.form .consent{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--muted);
}
.form .consent input{ margin-top: 4px; }
@media (max-width: 620px){ .form .row{ grid-template-columns: 1fr; } }

.contact-info{
  display: grid; gap: 18px;
}
.contact-info .ci{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 24px;
}
.contact-info .ci h4{
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azure-deep);
}
.contact-info .ci p{ margin: 0; color: var(--ink); font-weight: 500; }
.contact-info .ci p + p{ margin-top: 4px; color: var(--muted); font-weight: 400; font-size: .92rem; }

.map-placeholder{
  margin-top: 50px;
  height: 360px;
  border-radius: var(--radius-l);
  background:
    linear-gradient(135deg, var(--sky-soft), #fff 50%, var(--sky-soft));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(400px 200px at 50% 50%, #000, transparent 80%);
          mask-image: radial-gradient(400px 200px at 50% 50%, #000, transparent 80%);
}
.map-placeholder .pin{
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.map-placeholder .pin .dot{
  width: 18px; height: 18px;
  background: var(--azure-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(19,120,179,.18), 0 0 0 14px rgba(19,120,179,.08);
}
.map-placeholder .pin strong{ color: var(--ink); font-family: var(--font-display); }

/* ---------- Success page ---------- */
.success{
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.success .card{
  max-width: 580px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 56px 40px;
  box-shadow: var(--shadow-m);
}
.success .check{
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--sky-soft);
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--azure-deep);
  font-size: 2.4rem;
}

/* ---------- Legal / long-form prose ---------- */
.prose{
  max-width: 800px;
  margin: 0 auto;
}
.prose h2{ font-size: 1.6rem; margin-top: 1.6em; }
.prose h3{ font-size: 1.15rem; margin-top: 1.4em; color: var(--ink); }
.prose p, .prose li{ color: var(--ink-soft); }
.prose ul{ padding-left: 1.1em; }
.prose .updated{ color: var(--muted); font-size: .9rem; margin-bottom: 30px; }

/* ---------- Reveal animations ---------- */
.reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible{ opacity: 1; transform: none; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
  html{ scroll-behavior: auto; }
}
