/* =========================================================
   קורס שטח למעצבות — Landing page
   Mobile-first · RTL · no build step
   ========================================================= */

:root {
  --cream: #F7F0E7;
  --beige: #E8D4BF;
  --beige-soft: #F0E3D4;
  --gold: #C9A477;
  --gold-deep: #A9824F;   /* gold for small text (contrast on cream) */
  --gold-ink: #8A6A40;
  --brown: #493021;
  --brown-2: #5E4230;
  --text: #5A4232;
  --white: #FFFAF5;
  --wa-green: #25D366;

  --font-display: "Atlas", "Assistant", Arial, sans-serif;
  --font-body: "Atlas", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 1px 2px rgba(73, 48, 33, .05), 0 12px 32px -12px rgba(73, 48, 33, .18);
  --shadow-lift: 0 2px 4px rgba(73, 48, 33, .06), 0 22px 48px -18px rgba(73, 48, 33, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: 20px;
  --header-h: 64px;
  --sticky-h: 0px;

  /* subtle stone / marble grain */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='.004 .012' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .3 0 0 0 -9 1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");

  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- fonts (Atlas, self-hosted) ---------- */
@font-face { font-family: "Atlas"; src: url("/assets/fonts/atlas-thin-aaa.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Atlas"; src: url("/assets/fonts/atlas-light-aaa.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Atlas"; src: url("/assets/fonts/atlas-regular-aaa.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atlas"; src: url("/assets/fonts/atlas-medium-aaa.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Atlas"; src: url("/assets/fonts/atlas-black-aaa.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--sticky-h);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--brown); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 500; color: var(--brown); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--brown); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.container--form { max-width: 760px; }

/* blueprint drawing lines */
.blueprint path, .blueprint circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.blueprint--light path, .blueprint--light circle { stroke: rgba(201, 164, 119, .35); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(247, 240, 231, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(201, 164, 119, .35);
}
.site-header__inner {
  height: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 46px; width: auto; mix-blend-mode: multiply; }
@media (min-width: 768px) { .brand img { height: 56px; } }
.header-cta {
  font-size: .95rem; font-weight: 500; color: var(--brown); text-decoration: none;
  padding: 8px 18px; border: 1px solid rgba(201, 164, 119, .8); border-radius: 999px;
  background: rgba(255, 250, 245, .55);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.header-cta:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--brown); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 30px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 1.0625rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s;
}
.btn--primary {
  --bg: linear-gradient(135deg, #D6B68B 0%, var(--gold) 45%, #B48C5C 100%);
  background: var(--bg); color: var(--brown);
  box-shadow: 0 10px 28px -10px rgba(150, 110, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  font-size: 1.125rem;
}
.btn--primary::before { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(120%);
  transition: transform .9s var(--ease-out);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 4px; border-radius: inherit; z-index: -1;
  border: 1px solid rgba(255, 250, 245, .55); pointer-events: none;
}
.btn__arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(150, 110, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .btn--primary:hover::before { transform: translateX(-120%); }
  .btn--primary:hover .btn__arrow { transform: translateX(-5px); }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn--block { width: 100%; }

.btn--wa {
  background: var(--white); color: var(--brown);
  border: 1px solid rgba(201, 164, 119, .75);
  box-shadow: 0 6px 18px -10px rgba(73, 48, 33, .3);
  padding-inline: 24px;
}
.btn--wa .wa-icon { width: 24px; height: 24px; color: var(--wa-green); flex: none; }
@media (hover: hover) {
  .btn--wa:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }
}

/* ---------- shared typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
  padding-block: 10px;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em; color: var(--brown-2);
  border-block: 1px solid rgba(201, 164, 119, .7);
}
.eyebrow__sep { width: 1px; height: 1.1em; background: var(--gold); }
.gold-rule { display: block; width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-inline: auto; }
.gold-rule--start { margin-inline: 0; background: linear-gradient(-90deg, var(--gold), transparent); }

.section { position: relative; padding-block: 88px; }
@media (min-width: 768px) { .section { padding-block: 128px; } }

.section-head { text-align: center; margin-bottom: 44px; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }
.section-head h2 { font-size: clamp(2rem, 7vw, 3.4rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; color: var(--gold-deep);
}
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--header-h) + 36px) var(--gutter) 64px;
  background:
    var(--grain),
    radial-gradient(120% 70% at 85% 0%, #FFF8EE 0%, transparent 60%),
    linear-gradient(180deg, #F8F1E8 0%, #F1E4D4 100%);
}
.hero__light { /* soft sun beams like the photo */
  position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 246, 230, .7) 44%, transparent 52%),
    linear-gradient(115deg, transparent 55%, rgba(255, 246, 230, .5) 60%, transparent 66%);
  animation: beams 18s ease-in-out infinite alternate;
}
@keyframes beams { from { transform: translate3d(-3%, 0, 0); opacity: .75; } to { transform: translate3d(3%, 0, 0); opacity: 1; } }

.hero__lines {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .4;
}
.hero__lines path, .hero__lines circle { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s var(--ease) .3s forwards; }
.hero__lines path:nth-child(2) { animation-delay: .5s; }
.hero__lines path:nth-child(3) { animation-delay: .7s; }
.hero__lines path:nth-child(4) { animation-delay: .9s; animation-duration: 4s; }
.hero__lines path:nth-child(5) { animation-delay: 1.1s; }
.hero__lines path:nth-child(6) { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* mobile: the arch photo fills the lower part of the screen */
.hero__media {
  position: absolute; z-index: -2;
  inset: 0;
  will-change: transform;
}
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 50% 30%;
  transform-origin: 60% 40%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero__media::after { /* readability gradient */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
      rgba(247, 240, 231, .97) 0%,
      rgba(247, 240, 231, .92) 38%,
      rgba(247, 240, 231, .55) 62%,
      rgba(247, 240, 231, .1) 85%,
      rgba(247, 240, 231, .25) 100%);
}
.hero__arch-outline { display: none; }

.hero__content {
  position: relative; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  max-width: 620px; margin-inline: auto;
}
.hero__title {
  font-size: clamp(2.2rem, 10vw, 5.2rem);
  font-weight: 400; line-height: 1.04; letter-spacing: -.015em;
  color: var(--brown);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hero__title .line { display: block; }
.hero__sub { font-size: clamp(1.1rem, 4.4vw, 1.35rem); line-height: 1.6; color: var(--brown-2); max-width: 32ch; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid rgba(73, 48, 33, .35); border-radius: 20px;
  display: none;
}
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-deep); animation: hint 2s var(--ease) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* hero entrance */
.reveal-hero { opacity: 0; transform: translateY(22px); filter: blur(4px); animation: rise .9s var(--ease-out) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

@media (min-width: 600px) {
  .hero__media img { object-position: 50% 25%; }
}

/* desktop: text on the start side, the arch as a framed window rising from the floor */
@media (min-width: 960px) {
  .hero {
    justify-content: center;
    padding: calc(var(--header-h) + 40px) var(--gutter) 80px;
    min-height: max(100svh, 720px);
  }
  .hero__content {
    margin-inline: max(var(--gutter), calc((100vw - 1180px) / 2)) auto;
    width: 52%; max-width: 640px; align-items: center;
  }
  .hero__title { font-size: clamp(3.4rem, 4.6vw, 4.9rem); }
  .hero__title .line { white-space: nowrap; }
  .hero__media {
    inset: auto;
    left: max(5vw, calc((100vw - 1280px) / 2 + 40px));
    bottom: 0;
    top: calc(var(--header-h) + 24px);
    width: min(34vw, 460px);
    border-radius: 999px 999px 0 0;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(73, 48, 33, .45);
  }
  .hero__media img { object-position: 60% 20%; }
  .hero__media::after {
    background: linear-gradient(180deg, transparent 70%, rgba(247, 240, 231, .35) 100%);
  }
  .hero__arch-outline {
    display: block; position: absolute; z-index: -1;
    left: calc(max(5vw, calc((100vw - 1280px) / 2 + 40px)) - 18px);
    bottom: 0; top: calc(var(--header-h) + 6px);
    width: calc(min(34vw, 460px) + 36px); height: auto;
    fill: none; stroke: var(--gold); stroke-width: 1;
  }
  .hero__arch-outline path { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 3.6s var(--ease) .6s forwards; }
  .scroll-hint { display: block; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: linear-gradient(180deg, #F1E4D4 0%, var(--cream) 22%); }
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__visual { display: none; }
.lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5.4vw, 2.05rem);
  line-height: 1.6; color: var(--brown); text-align: center;
  max-width: 34ch; margin-inline: auto;
}
.lead mark, .audience__text .hl {
  background: linear-gradient(transparent 62%, rgba(201, 164, 119, .32) 62%) no-repeat;
  background-size: 0% 100%;
  background-position: 100% 0;
  color: inherit;
  transition: background-size 1.1s var(--ease-out) .35s;
}
.is-visible mark, .is-visible .hl, .reveal.is-visible mark { background-size: 100% 100%; }

.pillars { display: grid; gap: 14px; margin-top: 48px; }
.pillar {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 22px;
  background: rgba(255, 250, 245, .78);
  border: 1px solid rgba(201, 164, 119, .45);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.pillar::before { /* marble wash */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .28; pointer-events: none;
  background: var(--veins); background-size: 600px;
}
.pillar > * { position: relative; z-index: 1; }
.pillar__num {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-ink);
  border: 1px solid var(--gold); border-radius: 50% 50% 4px 4px;  /* tiny arch */
}
.pillar p { font-size: 1.15rem; font-weight: 500; color: var(--brown); line-height: 1.45; }
.pillar__corner { /* drafting corner marks */
  position: absolute; inset: 8px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 14px no-repeat;
  opacity: .55; transition: inset .45s var(--ease-out), opacity .45s;
}
@media (hover: hover) {
  .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
  .pillar:hover .pillar__corner { inset: 5px; opacity: 1; }
}

@media (min-width: 700px) {
  .pillars { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pillar { flex-direction: column; align-items: flex-start; padding: 30px 28px 32px; min-height: 190px; }
  .pillar p { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 300px; gap: 72px; }
  .about__body { grid-column: 1; grid-row: 1; }
  .lead { text-align: start; margin-inline: 0; }
  .about__visual {
    display: block; grid-column: 2; grid-row: 1; position: relative; margin: 0;
    aspect-ratio: 460 / 1040; max-height: 640px; justify-self: center;
  }
  .about__visual img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 999px 999px var(--radius) var(--radius);
    box-shadow: var(--shadow-lift);
  }
  .about__visual-lines { position: absolute; inset: -14px -14px 24px; width: calc(100% + 28px); height: calc(100% - 10px); }
}

/* =========================================================
   CURRICULUM (from the ad)
   ========================================================= */
.awaits { background: var(--cream); padding-top: 0; }
.awaits__list { display: grid; gap: 0; max-width: 860px; margin-inline: auto; border-top: 1px solid rgba(201, 164, 119, .5); }
.awaits__list li {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(201, 164, 119, .5);
  font-size: 1.1rem; color: var(--brown-2); font-weight: 500;
  transition: padding .4s var(--ease-out), color .3s;
}
.awaits__list li::before {
  content: ""; flex: none; width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 119, .18);
}
@media (hover: hover) { .awaits__list li:hover { padding-inline-start: 14px; color: var(--brown); } }
@media (min-width: 768px) {
  .awaits__list { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .awaits__list li { font-size: 1.15rem; padding: 22px 6px; }
  .awaits__list li:nth-child(-n+2) { border-top: 1px solid rgba(201, 164, 119, .5); }
}

/* =========================================================
   FIVE
   ========================================================= */
.five {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 80px;
  background:
    var(--grain),
    radial-gradient(80% 120% at 20% 50%, #5C3F2C 0%, transparent 70%),
    var(--brown);
  color: var(--beige);
}
.five::before { /* stone veins */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background: var(--veins); background-size: 900px;
  mix-blend-mode: screen;
}
.five__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.five__grid path, .five__grid circle { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 3s var(--ease); }
.five.is-visible .five__grid path, .five.is-visible .five__grid circle { stroke-dashoffset: 0; }
.five__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.five__num { width: min(56vw, 240px); }
.five__num text {
  font-family: var(--font-display); font-size: 260px; font-weight: 300;
  fill: transparent; stroke: var(--gold); stroke-width: 1.4;
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2.6s var(--ease), fill 1.4s var(--ease) 1.6s;
}
.five__num.is-visible text { stroke-dashoffset: 0; fill: rgba(201, 164, 119, .14); }
.five__text h2 { color: var(--white); font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 300; }
.five__text p { font-size: clamp(1.15rem, 4.6vw, 1.6rem); color: var(--beige); margin-top: 8px; font-family: var(--font-display); }
.five__text .gold-rule { margin: 26px auto 0; width: 140px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
@media (min-width: 768px) {
  .five { padding-block: 110px; }
  .five__inner { flex-direction: row; justify-content: center; gap: 56px; text-align: start; }
  .five__num { width: 260px; }
  .five__text .gold-rule { margin-inline: 0; background: linear-gradient(-90deg, var(--gold), transparent); }
}

/* =========================================================
   AUDIENCE
   ========================================================= */
.audience {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 250, 245, .9), transparent 70%),
    var(--beige-soft);
}
.audience::before { /* big faint arch */
  content: ""; position: absolute; left: 50%; top: 48px; translate: -50% 0;
  width: min(86vw, 640px); height: calc(100% - 48px);
  border: 1px solid rgba(201, 164, 119, .45); border-bottom: 0;
  border-radius: 999px 999px 0 0; pointer-events: none;
}
.audience__text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 5.6vw, 2.2rem);
  line-height: 1.65; color: var(--brown); text-align: center;
  max-width: 30ch; margin-inline: auto;
}
.audience__text .hl { font-weight: 500; }

/* =========================================================
   GUIDES
   ========================================================= */
.guides { background: var(--cream); }
.guides .section-head h2 { font-size: clamp(1.85rem, 6.6vw, 3.2rem); }
.guides__grid { display: grid; gap: 22px; max-width: 860px; margin-inline: auto; }
@media (min-width: 700px) { .guides__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.guide {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 40px 26px 32px;
  background: linear-gradient(180deg, var(--white), #FBF4EA);
  border: 1px solid rgba(201, 164, 119, .55);
  border-radius: 180px 180px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.guide::after { /* inner gold frame */
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1px solid rgba(201, 164, 119, .3);
  border-radius: 172px 172px calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px);
}
@media (hover: hover) { .guide:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); } }
.guide__arch {
  width: 92px; height: 112px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 999px 999px 6px 6px;
  background: radial-gradient(90% 60% at 50% 30%, #FBF3E8, #EAD8C3);
}
.guide__arch span { font-family: var(--font-display); font-size: 3.8rem; font-weight: 300; color: var(--gold-ink); line-height: 1; margin-top: 14px; }
.guide__name { font-size: clamp(1.8rem, 6vw, 2.2rem); margin-top: 6px; }
.guide__phone { text-decoration: none; color: var(--gold-ink); font-weight: 500; letter-spacing: .04em; }
.guide__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide .btn--wa { margin-top: 8px; position: relative; z-index: 1; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background:
    var(--grain),
    linear-gradient(180deg, var(--cream), var(--beige-soft));
}
.contact__card {
  position: relative;
  padding: 36px 20px 32px;
  background: rgba(255, 250, 245, .92);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(73, 48, 33, .35), 0 2px 6px rgba(73, 48, 33, .05);
}
.contact__card::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 164, 119, .35);
  border-radius: calc(var(--radius-lg) - 5px); pointer-events: none;
}
@media (min-width: 600px) { .contact__card { padding: 56px 52px 48px; } }
.contact__head { text-align: center; margin-bottom: 30px; }
.contact__head h2 { font-size: clamp(1.65rem, 6.2vw, 2.4rem); line-height: 1.25; }
.contact__head p { margin-top: 12px; font-size: 1.15rem; color: var(--brown-2); }

.form { position: relative; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; color: var(--brown); font-size: 1rem; }
.req { color: var(--gold-deep); }
.opt { font-weight: 400; color: #8B7462; font-size: .92rem; }
.field input, .field textarea {
  width: 100%;
  font: 400 1rem/1.5 var(--font-body);
  font-size: max(16px, 1rem); /* prevents iOS zoom */
  color: var(--brown);
  background: var(--white);
  border: 1px solid #DCC6AC;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 54px;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:not(:placeholder-shown), .field input[dir="ltr"]:focus { text-align: left; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(201, 164, 119, .22); background: #fff; }
.field input[aria-invalid="true"] { border-color: #B4533A; box-shadow: 0 0 0 4px rgba(180, 83, 58, .12); }
.field__error { min-height: 0; color: #A2442C; font-size: .92rem; font-weight: 500; }
.field__error:empty { display: none; }

.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }

.btn--submit { margin-top: 6px; min-height: 60px; font-size: 1.2rem; }
.spinner {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid rgba(73, 48, 33, .25); border-top-color: var(--brown);
  opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .2s;
}
.btn--submit.is-loading { pointer-events: none; }
.btn--submit.is-loading .btn__label { opacity: 0; }
.btn--submit.is-loading .spinner { opacity: 1; transform: none; animation: spin .8s linear infinite; }
.btn__label { transition: opacity .2s; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  margin-top: 4px; padding: 18px 20px; border-radius: var(--radius);
  text-align: center; font-size: 1.05rem; line-height: 1.6;
  animation: rise .6s var(--ease-out) both;
}
.form__status.is-success { background: #F3EBDD; border: 1px solid var(--gold); color: var(--brown); }
.form__status.is-success strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 2px; }
.form__status.is-error { background: #FBEDE7; border: 1px solid #D9A493; color: #7E3522; }
.form__status .retry {
  margin-top: 10px; background: none; border: 1px solid currentColor; color: inherit;
  border-radius: 999px; padding: 8px 20px; font: 500 1rem var(--font-body); cursor: pointer; min-height: 44px;
}
.form.is-done .field, .form.is-done .btn--submit { display: none; }

.contact__wa { margin-top: 30px; }
.contact__or { display: flex; align-items: center; gap: 14px; color: #8B7462; font-size: .95rem; margin-bottom: 18px; }
.contact__or::before, .contact__or::after { content: ""; flex: 1; height: 1px; background: rgba(201, 164, 119, .55); }
.wa-row { display: grid; gap: 12px; }
@media (min-width: 520px) { .wa-row { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   CLOSING + FOOTER
   ========================================================= */
.closing { padding-block: 8px 56px; background: var(--beige-soft); text-align: center; }
.closing__pill {
  display: inline-block; max-width: 100%;
  padding: 18px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #E9D7C1, #DFC6A8);
  border: 1px solid rgba(201, 164, 119, .8);
  font-family: var(--font-display); font-size: clamp(1.15rem, 4.6vw, 1.6rem); color: var(--brown); line-height: 1.45;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 520px) { .closing__pill { border-radius: var(--radius-lg); } }
.closing__contacts { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; font-size: 1.1rem; }
.closing__contacts li { display: inline-flex; align-items: center; gap: 8px; color: var(--brown-2); }
.closing__contacts svg { width: 20px; height: 20px; color: var(--gold-deep); }
.closing__contacts a { color: var(--brown); font-weight: 500; text-decoration: none; padding-block: 8px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.closing__contacts a:hover { background-size: 100% 1px; }

.site-footer { padding: 36px var(--gutter) 40px; text-align: center; background: var(--cream); border-top: 1px solid rgba(201, 164, 119, .4); color: #8B7462; font-size: .9rem; }
.site-footer img { height: 54px; width: auto; margin: 0 auto 10px; mix-blend-mode: multiply; opacity: .9; }

/* =========================================================
   MOBILE STICKY BAR
   ========================================================= */
.sticky-bar {
  position: fixed; z-index: 60; inset: auto 0 0 0;
  display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 6px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 250, 245, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201, 164, 119, .55);
  box-shadow: 0 -10px 30px -18px rgba(73, 48, 33, .35);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.sticky-bar.is-shown { transform: none; }
.sticky-bar a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; padding: 6px 8px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .92rem; white-space: nowrap; color: var(--brown);
  border: 1px solid rgba(201, 164, 119, .7); background: var(--white);
}
.sticky-bar svg { width: 20px; height: 20px; flex: none; }
.sticky-bar .wa-icon { color: var(--wa-green); }
.sticky-bar__form { background: linear-gradient(135deg, #D6B68B, var(--gold)) !important; border-color: transparent !important; }
@media (max-width: 767px) {
  body.has-sticky { --sticky-h: calc(70px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-hero { opacity: 1; transform: none; filter: none; animation: none; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-hero { opacity: 1; transform: none; filter: none; }
  .hero__media img { animation: none; transform: none; }
  .hero__light { animation: none; }
  .hero__lines path, .hero__lines circle, .hero__arch-outline path { stroke-dashoffset: 0; animation: none; }
  .five__grid path, .five__grid circle { stroke-dashoffset: 0; }
  .five__num text { stroke-dashoffset: 0; fill: rgba(201, 164, 119, .14); }
  .lead mark, .audience__text .hl { background-size: 100% 100%; }
}
