@font-face { font-family: "Lalezar"; src: url("fonts/lalezar-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Lalezar"; src: url("fonts/lalezar-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url("fonts/vazirmatn-latin-400.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF; }

:root {
  --ink: #0E2340;        /* deep panel-cell blue: text, dark bands */
  --cell: #1F4E8C;       /* cell blue: battery, links */
  --paper: #F3F6F9;      /* pale sky: page background */
  --white: #FFFFFF;
  --sun: #F2A900;        /* saffron sun: production, primary action */
  --sun-ink: #2A1E00;
  --outage: #8A94A6;     /* grid-off slate */
  --outage-bg: #DCE2EA;
  --rule: #D5DDE6;
  --muted: #4E5D73;

  --display: "Lalezar", "Vazirmatn", Tahoma, sans-serif;
  --body: "Vazirmatn", Tahoma, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.35; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.45rem; margin-bottom: .4rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--cell); }
.muted { color: var(--muted); font-size: .95rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--ink); color: var(--white); padding: .5rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: .55rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.4 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sun { background: var(--sun); color: var(--sun-ink); }
.btn--sun:hover { background: #FFBE1A; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--lg { font-size: 1.35rem; padding-inline: 2rem; min-height: 60px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(243,246,249,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.nav__inner { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.35rem; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.nav nav { margin-inline-start: auto; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .98rem; }
.nav__links a:hover { color: var(--cell); text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { min-height: 42px; padding-block: .35rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.3; margin-bottom: 1.4rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }

/* Package finder */
.finder { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); }
.finder__title { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--rule); background: var(--paper);
  font: 400 .98rem/1.4 var(--body); color: var(--ink); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.chip:hover { border-color: var(--cell); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"]::before { content: "✓"; margin-inline-end: .4rem; color: var(--sun); }
.finder__result { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--rule); }
.finder__load { color: var(--muted); margin-bottom: .2rem; }
.finder__pick { font-size: 1.2rem; margin-bottom: 1rem; }
.finder__pick strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--cell); }

/* Packages */
.packages { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--white); border-block: 1px solid var(--rule); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--muted); }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: stretch; }

.pkg {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink); color: var(--white);
  border-radius: 14px; border-top: 8px solid var(--sun);
  padding: 1.4rem 1.3rem 1.3rem;
  transition: box-shadow .2s, opacity .2s;
  scroll-margin-top: 96px;
}
.pkg.is-pick { box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--sun); }
.pkg.is-short { opacity: .55; }
.pkg__head h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.pkg__kw { font-family: var(--display); font-size: 3.2rem; line-height: 1.1; color: var(--sun); margin: 0 0 .5rem; }
.pkg__kw small { font-family: var(--body); font-size: 1rem; color: rgba(255,255,255,.7); }
.pkg__fit { font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.75); min-height: 3.6em; }
.pkg__spec { margin: .5rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.pkg__spec div { display: flex; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .93rem; }
.pkg__spec dt { color: rgba(255,255,255,.65); white-space: nowrap; }
.pkg__spec dd { margin: 0; font-weight: 700; text-align: end; }
.pkg__hours { display: grid; gap: .1rem; margin: 1rem 0 .4rem; font-size: .85rem; color: rgba(255,255,255,.65); }
.pkg__hours strong { font-size: 1.1rem; color: var(--white); }
.pkg__price { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.pkg__cta { margin-top: auto; width: 100%; font-size: .95rem; }
.pkg__badge {
  position: absolute; top: -1.15rem; inset-inline-start: 1.1rem; margin: 0;
  background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: .82rem;
  padding: .2rem .8rem; border-radius: 999px;
}

/* Included */
.included { padding-block: clamp(3.5rem, 8vw, 6rem); }
.included__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; }
.included__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.included__list li { display: grid; gap: .2rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--sun); }
.included__list strong { font-size: 1.1rem; }
.included__list span { color: var(--muted); font-size: .97rem; }

/* Process */
.process { padding-block: clamp(3.5rem, 8vw, 6.5rem); background: var(--white); border-block: 1px solid var(--rule); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(step, persian);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--ink);
  font-family: var(--display); font-size: 1.4rem; line-height: 1;
}
.steps li::after { content: ""; position: absolute; top: 1.45rem; inset-inline-start: 3.4rem; inset-inline-end: -1rem; height: 2px; background: var(--rule); }
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--sun); border-color: var(--sun); }
.steps p { color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--cell); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 1rem; }

/* Contact */
.contact { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem); }
.contact__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.contact p { color: rgba(255,255,255,.75); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.footer { background: var(--ink); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; flex-wrap: wrap; }

/* Custom builder */
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.builder { padding-block: clamp(3.5rem, 8vw, 6rem); }
.builder__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.group { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.group legend { font-family: var(--display); font-size: 1.45rem; padding: 0; margin-bottom: .7rem; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__box {
  display: grid; gap: .15rem; height: 100%;
  padding: 1rem 1.1rem; border-radius: 14px;
  background: var(--white); border: 2px solid var(--rule);
  transition: border-color .15s, background-color .15s;
}
.opt__art { display: block; background: var(--paper); border-radius: 9px; margin-bottom: .5rem; }
.opt__art svg { display: block; width: 100%; height: auto; max-height: 120px; }
.opt input:checked + .opt__box .opt__art { background: rgba(255,255,255,.1); }
.opt__model { font-size: .82rem; line-height: 1.5; color: var(--muted); text-align: end; overflow-wrap: anywhere; }
.opt input:checked + .opt__box .opt__model { color: rgba(255,255,255,.8); }
.brand-row { margin-bottom: 1.25rem; }
.brand-row .opts { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.brand-row .opt__box { padding: .7rem .8rem; }
.brand-row__name { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; margin: 0 0 .5rem; font: 700 1.05rem/1.4 var(--body); }
.brand-row__name::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); }
.qty-row { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: .25rem; font-weight: 700; }
.qtys { display: flex; flex-wrap: wrap; gap: .5rem; }
.qty { position: relative; cursor: pointer; }
.qty input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qty span { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 .9rem; border-radius: 999px; background: var(--white); border: 2px solid var(--rule); font-weight: 400; }
.qty input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.qty input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.summary__diagram { margin: 0 -.4rem .6rem; }
.summary__diagram svg { display: block; width: 100%; height: auto; }
.flow { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 5 6; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.flow--out { stroke: #fff; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.summary__note span { display: block; }
.summary__note span + span { margin-top: .4rem; }
.summary .pkg__spec dd { overflow-wrap: anywhere; }
.opt__box strong { font-size: 1.2rem; }
.opt__box small { font-size: .85rem; line-height: 1.7; color: var(--muted); }
.opt:hover .opt__box { border-color: var(--cell); }
.opt input:checked + .opt__box { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: inset 0 6px 0 var(--sun); }
.opt input:checked + .opt__box small { color: rgba(255,255,255,.7); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--sun); outline-offset: 3px; }

.summary {
  position: sticky; top: 96px;
  background: var(--ink); color: var(--white);
  border-radius: 14px; border-top: 8px solid var(--sun);
  padding: 1.4rem 1.4rem 1.5rem;
}
.summary h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.summary__note { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: rgba(242,169,0,.14); border-inline-start: 3px solid var(--sun); font-size: .9rem; line-height: 1.8; }
.summary__send { width: 100%; margin-top: 1.2rem; }
.summary__status { margin: .7rem 0 0; font-size: .88rem; color: rgba(255,255,255,.8); min-height: 1.6em; }

.pkg__actions { margin-top: auto; display: grid; gap: .5rem; }
.pkg__edit {
  min-height: 44px; background: none; border: 0; cursor: pointer;
  font: 400 .92rem/1.4 var(--body); color: rgba(255,255,255,.85);
  text-decoration: underline; text-underline-offset: 5px;
}
.pkg__edit:hover { color: var(--sun); }

.included { background: var(--white); border-block: 1px solid var(--rule); }
.process { background: var(--paper); border: 0; }
.faq { background: var(--white); border-top: 1px solid var(--rule); }
#builder, #packages { scroll-margin-top: 72px; }

/* Layering: section backgrounds < floating sun < content */
.wrap { position: relative; z-index: 2; }

/* Floating sun */
.sun {
  --size: 120px;
  position: fixed; top: 0; left: 0; z-index: 1;
  width: var(--size); height: var(--size);
  pointer-events: none; will-change: transform;
  transform: translate3d(-999px, -999px, 0);
}
.sun i { position: absolute; inset: 0; border-radius: 50%; }
.sun .sun__glow { inset: -120%; background: radial-gradient(circle, rgba(255,196,60,.5) 0, rgba(255,196,60,.16) 36%, rgba(255,196,60,0) 68%); }
.sun .sun__rays {
  inset: -70%;
  background: repeating-conic-gradient(from 0deg, rgba(240,140,0,.85) 0 4deg, transparent 4deg 20deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 0 46%, #000 49%, transparent 98%);
          mask-image: radial-gradient(circle closest-side, transparent 0 46%, #000 49%, transparent 98%);
  animation: sun-spin 60s linear infinite;
}
.sun__core {
  background: radial-gradient(circle at 40% 38%, #FFF7DA 0, #FFD75E 34%, #F2A900 72%, #E48E00 100%);
  box-shadow: 0 0 44px 12px rgba(255,190,40,.55);
  animation: sun-pulse 4.5s ease-in-out infinite;
}
@keyframes sun-spin { to { transform: rotate(360deg); } }
@keyframes sun-pulse { 50% { box-shadow: 0 0 60px 20px rgba(255,190,40,.7); } }

/* Hero photo */
.hero { position: relative; overflow: hidden; padding-bottom: 0; border-bottom: 1px solid var(--rule); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: min(760px, 62vw); aspect-ratio: 1; border-radius: 50%;
  inset-inline-end: max(-6vw, calc(50% - 720px)); bottom: -34%;
  background:
    radial-gradient(circle, rgba(242,169,0,.17) 0 37%, transparent 37.3%),
    repeating-radial-gradient(circle, transparent 0 9.2%, rgba(31,78,140,.16) 9.2% 9.5%);
}
.hero__grid { align-items: end; }
.hero__text { align-self: center; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__photo { position: relative; margin: 0; }
.hero__photo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(10px -6px 22px rgba(242,169,0, calc(.45 * var(--shine, 1)))) brightness(calc(1 + .08 * var(--shine, 1)));
}
.hero__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 76% 34%, rgba(255,214,120,.6) 0, rgba(255,214,120,.22) 12%, rgba(255,214,120,0) 23%);
  mix-blend-mode: screen; opacity: var(--shine, 1);
}

.brand__mark { border-radius: 50%; object-fit: cover; width: 44px; height: 44px; border: 2px solid var(--sun); }

/* Finder band */
.find { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.find .finder { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.find .finder__result { margin: 0; padding: 0; border: 0; padding-inline-start: clamp(1.5rem, 4vw, 3rem); border-inline-start: 1px dashed var(--rule); }

/* ============ Classic Iranian theme: lapis and turquoise tilework, gold, kaghaz paper ============ */
@font-face { font-family: "Nastaliq"; src: url("fonts/nastaliq-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nastaliq"; src: url("fonts/nastaliq-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Markazi"; src: url("fonts/markazi-arabic.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Markazi"; src: url("fonts/markazi-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF; }

:root {
  --ink: #14275C;        /* lajvard (lapis) */
  --cell: #1B7F8C;       /* firoozeh (turquoise), darkened for text */
  --firoozeh: #43C1C4;
  --paper: #F5EEDC;      /* kaghaz */
  --white: #FFFBF1;      /* ivory surface */
  --sun: #E3A917;        /* zar (gold) */
  --sun-ink: #2B1D00;
  --rule: #DFD2B4;
  --muted: #5A5670;
  --outage: #9A917A;
  --outage-bg: #E8DEC6;
  --nastaliq: "Nastaliq", "Markazi", Tahoma, serif;
  --display: "Markazi", Tahoma, serif;
  --body: "Markazi", Tahoma, serif;
  --kashi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18'%3E%3Crect width='36' height='18' fill='%2314275C'/%3E%3Cpath d='M18 2l7 7-7 7-7-7z' fill='%23E3A917'/%3E%3Cpath d='M0 2l7 7-7 7zM36 2l-7 7 7 7z' fill='%2343C1C4'/%3E%3Cpath d='M18 6l3 3-3 3-3-3z' fill='%2314275C'/%3E%3C/svg%3E");
  --girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.075'%3E%3Crect x='11' y='11' width='30' height='30'/%3E%3Crect x='11' y='11' width='30' height='30' transform='rotate(45 26 26)'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
html { font-size: 122%; }
body { background-image: var(--grain); line-height: 1.75; }

/* Type */
h1, h2 { font-family: var(--nastaliq); font-weight: 400; line-height: 2.25; }
.hero h1 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); line-height: 2.2; margin-bottom: .6rem; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); margin-bottom: .6rem; }
h3, .brand, .pkg__kw, .steps li::before, .finder__pick strong, .group legend { font-weight: 700; }
.finder__title { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 2.3; margin-bottom: .5rem; }
.section-head h2 { margin-bottom: .2rem; }
.btn, .chip, .pkg__edit, summary { font-family: var(--body); }
.btn { font-size: 1.05rem; border-radius: 12px; }
.brand__name { font-family: "Markazi", serif; font-weight: 700; }

/* Realistic surfaces */
.btn--sun {
  background: linear-gradient(180deg, #F3C94B 0%, #E3A917 55%, #C98D0A 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 0 #9C6C05, 0 8px 18px -8px rgba(110,74,0,.6);
  border-color: transparent;
}
.btn--sun:hover { background: linear-gradient(180deg, #F8D667 0%, #EBB52A 55%, #D0940F 100%); }
.btn--line { background: var(--white); box-shadow: 0 6px 16px -10px rgba(20,39,92,.5); }
.nav { background: rgba(245,238,220,.93); border-bottom: 0; box-shadow: 0 1px 0 var(--rule), 0 10px 24px -18px rgba(20,39,92,.45); }
.nav::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 6px; background: var(--kashi) repeat-x center / auto 6px; opacity: .9; }

.finder, .opt__box, .qty span {
  background-image: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0) 40%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 30px -18px rgba(60,44,10,.45);
}
.finder { border-radius: 18px; outline: 1px solid rgba(227,169,23,.55); outline-offset: -9px; }
.chip { background: var(--paper); }

/* Lapis tile panels with a gilded manuscript frame */
.pkg, .summary, .opt input:checked + .opt__box {
  background-color: var(--ink);
  background-image: var(--girih), linear-gradient(165deg, #1E3F8E 0%, #14275C 55%, #0E1C45 100%);
}
.pkg, .summary {
  border-top: 0; border-radius: 16px;
  outline: 1px solid rgba(227,169,23,.7); outline-offset: -8px;
  box-shadow: 0 0 0 1px #0B173A, 0 22px 40px -22px rgba(11,23,58,.75);
}
.pkg { padding: 1.7rem 1.4rem 1.5rem; }
.pkg::before, .summary::before { content: ""; position: absolute; inset-inline: 22px; top: 8px; height: 6px; background: var(--kashi) repeat-x center / auto 6px; }
.summary { padding-top: 1.9rem; }
.pkg.is-pick { box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--sun), 0 22px 40px -22px rgba(11,23,58,.75); }
.pkg__kw { color: #F0C24B; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.pkg__kw { font-family: var(--nastaliq); font-weight: 400; line-height: 1.9; }
.hero__photo { margin-top: 4.5rem; }
.pkg__kw { font-size: 2.3rem; }
.opt input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--sun), 0 14px 30px -16px rgba(11,23,58,.7); border-color: var(--sun); }
.opt__art { background: linear-gradient(180deg, #EFE6CF, #E4D8BA); }
.opt__art svg { filter: drop-shadow(0 5px 5px rgba(40,30,10,.28)); }

/* Tile borders between sections */
.packages, .included, .faq, .contact { position: relative; border: 0; }
.packages::before, .included::before, .faq::before, .contact::before, .footer::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 14px; z-index: 0;
  background: var(--kashi) repeat-x center / auto 14px;
}
.footer { position: relative; }
.hero { border-bottom: 0; }
.packages, .included, .faq { background-color: var(--white); background-image: var(--grain); }
.contact, .footer { background-image: var(--girih), linear-gradient(180deg, #17306B, #0F1D48); }
.included__list li { border-inline-start: 4px solid var(--firoozeh); }
.steps li::before { background: var(--white); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--sun); }
.steps li:last-child::before { background: var(--sun); }
.faq__list { border-top: 3px double var(--ink); }

/* Hero: photo standing in a tiled arch */
.hero::before { display: none; }
.hero .wrap { z-index: auto; }
.hero__text, .hero__photo img, .hero__shine { position: relative; z-index: 2; }
.hero__shine { position: absolute; }
.hero__arch { position: absolute; z-index: 0; inset: -16% 3% 0 3%; width: 94%; height: 116%; filter: drop-shadow(0 18px 26px rgba(11,23,58,.45)); }
.hero__photo { margin-top: 1.5rem; }
.hero__photo img { filter: drop-shadow(8px -4px 20px rgba(255,196,60, calc(.5 * var(--shine, 1)))) drop-shadow(0 10px 14px rgba(0,0,0,.35)) brightness(calc(1 + .07 * var(--shine, 1))); }

/* A more lifelike sun: hot core, limb, corona and soft streaks */
.sun .sun__glow {
  inset: -230%;
  background: radial-gradient(circle, rgba(255,226,150,.75) 0, rgba(255,196,80,.34) 18%, rgba(255,170,40,.12) 40%, rgba(255,170,40,0) 66%);
}
.sun .sun__rays {
  inset: -260%;
  background:
    repeating-conic-gradient(from 8deg, rgba(255,214,120,.5) 0 1.4deg, transparent 1.4deg 17deg),
    repeating-conic-gradient(from 0deg, rgba(255,190,70,.38) 0 5deg, transparent 5deg 41deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 0 15%, #000 18%, transparent 92%);
          mask-image: radial-gradient(circle closest-side, transparent 0 15%, #000 18%, transparent 92%);
  filter: blur(5px);
  animation-duration: 140s;
}
.sun .sun__core {
  background: radial-gradient(circle, #FFFEF6 0, #FFF6CF 34%, #FFE083 58%, #FDBB2D 80%, #F09819 100%);
  box-shadow: 0 0 18px 6px rgba(255,244,200,.95), 0 0 60px 26px rgba(255,200,80,.6), 0 0 130px 60px rgba(255,160,30,.28);
  filter: blur(.6px);
}
@keyframes sun-pulse { 50% { box-shadow: 0 0 22px 8px rgba(255,244,200,1), 0 0 76px 34px rgba(255,200,80,.68), 0 0 150px 70px rgba(255,160,30,.32); } }

/* ============ Modern + classic balance ============
   Modern: clean sans type, white surfaces, flat pill buttons, open spacing.
   Classic: nastaliq headline, tiled arch, lapis panels, kashi accents. */
@font-face { font-family: "VazirVar"; src: url("fonts/vazirmatn-var-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "VazirVar"; src: url("fonts/vazirmatn-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF; }
:root {
  --paper: #F7F4EC; --white: #FFFFFF; --rule: #E6DFCE; --muted: #555A78;
  --display: "VazirVar", Tahoma, sans-serif;
  --body: "VazirVar", Tahoma, sans-serif;
}
html { font-size: 100%; }
body { line-height: 1.9; background-image: none; }
.hero h1 { font-size: clamp(2.3rem, 4.7vw, 3.8rem); line-height: 2.1; margin-bottom: .8rem; }
h2 { font-family: var(--body); font-weight: 800; line-height: 1.5; font-size: clamp(1.65rem, 3vw, 2.3rem); margin-bottom: 1rem; letter-spacing: -.01em; }
h2::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-inline-end: .55em; background: var(--sun); transform: rotate(45deg) translateY(-.08em); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--sun); }
.contact h2::before { box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--sun); }
.packages h2::before, .included h2::before, .faq h2::before, .finder__title::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--sun); }
.finder__title { font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.6; margin-bottom: 1rem; }
h3, .brand, .steps li::before, .finder__pick strong, .group legend { font-weight: 800; }
.brand__name { font-family: var(--body); font-weight: 900; }
.pkg__kw { font-family: var(--body); font-weight: 900; font-size: 3rem; line-height: 1.15; }

.btn { border-radius: 999px; font-size: 1rem; font-weight: 700; }
.btn--sun { background: linear-gradient(180deg, #EFBD35, #E0A313); box-shadow: 0 10px 20px -12px rgba(110,74,0,.75); }
.btn--sun:hover { background: linear-gradient(180deg, #F5C84A, #E6AB1D); }
.finder { outline: 0; border-radius: 24px; border-color: var(--rule); }
.finder, .opt__box, .qty span { background-image: none; box-shadow: 0 18px 40px -26px rgba(20,39,92,.4); }
.opt__art { background: var(--paper); }
.pkg, .summary { outline: 0; border-radius: 22px; box-shadow: 0 26px 44px -26px rgba(11,23,58,.7); }
.pkg::before, .summary::before { inset-inline: 26px; top: 0; border-radius: 0 0 6px 6px; }
.packages::before, .included::before, .faq::before, .footer::before { display: none; }
.packages, .included, .faq { background: var(--white); border-block: 1px solid var(--rule); }
.included__list li { border-inline-start-width: 3px; }

/* Photo framed by the arch: the frame hides the photo's cut edges, a tiled ledge closes the bottom */
.hero__photo img { clip-path: url(#arch-clip); }
.hero__photo::after {
  content: ""; position: absolute; z-index: 3; inset-inline: -1%; bottom: 0; height: 16px;
  background: var(--kashi) repeat-x center / auto 16px; border-radius: 4px 4px 0 0;
  box-shadow: 0 -1px 0 var(--sun), 0 -10px 18px -6px rgba(11,23,58,.55);
}
.hero { padding-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ============ Hero: wide photo across the page, headline in the open sky ============ */
.hero h1 { font-family: "Lalezar", var(--body); font-weight: 400; font-size: clamp(2.3rem, 4.5vw, 3.8rem); line-height: 1.4; margin-bottom: 1rem; }
.hero {
  --scene-h: min(50vw, 68vh);
  padding: 0; min-height: calc(var(--scene-h) + 15rem);
  background: linear-gradient(180deg, #FCF9F0 0%, #F6F1E2 55%, #EFE8D2 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: 3; inset-inline: 0; bottom: 0; height: 12px;
  background: var(--kashi) repeat-x center / auto 12px;
}
.hero__inner { padding-top: clamp(1.75rem, 3.5vw, 3rem); }
.hero__text { position: relative; z-index: 3; max-width: 30rem; margin-inline-start: 9.5rem; padding-bottom: 0; }
.hero__text .lead { font-size: 1.05rem; line-height: 1.8; max-width: none; margin-bottom: 1.25rem; }
.hero__scene { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; margin: 0; }
.hero__scene img {
  display: block; width: 100%; height: var(--scene-h);
  object-fit: cover; object-position: 50% 0%;
  filter: brightness(calc(1 + .06 * var(--shine, 1))) saturate(calc(1 + .08 * var(--shine, 1)));
  /* the tree is cut off at the photo's top edge: fade that corner out instead of showing a hard line */
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(to bottom, transparent 0, #000 26%);
          mask-image: linear-gradient(#000, #000), linear-gradient(to bottom, transparent 0, #000 26%);
  -webkit-mask-size: 64.2% 100%, 36% 100%; mask-size: 64.2% 100%, 36% 100%;
  -webkit-mask-position: 100% 0, 0 0; mask-position: 100% 0, 0 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* warm light falling from the sun's corner onto the panels; lives over the photo only */
.hero__scene .hero__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; opacity: var(--shine, 1);
  background: linear-gradient(200deg, rgba(255,214,120,.75) 0%, rgba(255,214,120,.25) 38%, rgba(255,214,120,0) 62%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 46%);
          mask-image: linear-gradient(to bottom, transparent 30%, #000 46%);
}

/* Photo flush against the top of the page, right under the header; headline sits in its sky */
.hero { --scene-h: min(50vw, 78vh); min-height: var(--scene-h); }
.hero__inner { padding-top: clamp(.9rem, 1.8vw, 1.6rem); }
.hero h1 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); margin-bottom: .8rem; }
.hero__scene { top: 0; bottom: auto; }
.find__lead { max-width: 46rem; font-size: 1.2rem; margin: 0 0 1.75rem; color: var(--ink); }

/* ============ Navy surfaces drawn as a solar panel: cells, busbars, fingers, aluminium frame ============ */
:root {
  --girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='78' height='78'%3E%3Cpath d='M0 6h78M0 12h78M0 18h78M0 24h78M0 30h78M0 36h78M0 42h78M0 48h78M0 54h78M0 60h78M0 66h78M0 72h78' stroke='%23fff' stroke-opacity='.05'/%3E%3Cpath d='M19.5 0v78M39 0v78M58.5 0v78' stroke='%23B9CBEE' stroke-opacity='.2' stroke-width='1.2'/%3E%3Crect x='.75' y='.75' width='76.5' height='76.5' rx='9' fill='none' stroke='%23DCE6F7' stroke-opacity='.27' stroke-width='1.5'/%3E%3Cpath d='M0 -6l6 6-6 6-6-6zM78 -6l6 6-6 6-6-6zM0 72l6 6-6 6-6-6zM78 72l6 6-6 6-6-6z' fill='%23E6EDF9' fill-opacity='.36'/%3E%3C/svg%3E");
  --panel-glass: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 68%, rgba(120,170,255,.10) 100%);
  --panel-blue: linear-gradient(160deg, #1A3B8C 0%, #12296A 50%, #0B1B49 100%);
  --frame: 0 0 0 1px #7C8798, 0 0 0 6px #DDE2EA, 0 0 0 7px #8C96A6;
}
.pkg, .summary, .opt input:checked + .opt__box, .contact, .footer {
  background-color: #12296A;
  background-image: var(--panel-glass), var(--girih), var(--panel-blue);
  background-size: auto, 78px 78px, auto;
}
.pkg, .summary { border-radius: 8px; box-shadow: var(--frame), 0 28px 44px -24px rgba(11,23,58,.7); }
.pkg.is-pick { box-shadow: var(--frame), 0 0 0 11px var(--sun), 0 28px 44px -24px rgba(11,23,58,.7); }
.pkg::before, .summary::before { display: none; }
.pkg__badge { top: -1.5rem; }
.opt input:checked + .opt__box { background-size: auto, 52px 52px, auto; }
.pkg-grid { gap: 1.9rem; }
/* text sits on the cells: a soft shade keeps it crisp over the grid lines */
.pkg h3, .pkg__fit, .pkg__spec, .pkg__hours, .pkg__price, .summary h3, .summary .pkg__spec { text-shadow: 0 1px 2px rgba(6,14,40,.85); }

.pkg__spec dt, .pkg__fit, .pkg__hours, .pkg__price, .pkg__kw small { color: rgba(255,255,255,.86); }

/* ============ Courses ============ */
.courses {
  position: relative; padding-block: clamp(3.5rem, 8vw, 6rem); color: var(--white);
  background-color: #12296A;
  background-image: var(--panel-glass), var(--girih), var(--panel-blue);
  background-size: auto, 78px 78px, auto;
}
.courses h2::before { box-shadow: 0 0 0 3px #12296A, 0 0 0 4px var(--sun); }
.courses .section-head p { color: rgba(255,255,255,.82); }
.course {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--white); color: var(--ink);
  border-radius: 22px; padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: 0 30px 50px -28px rgba(4,10,30,.8);
}
.course + .course { margin-top: 1.5rem; }
.course h3 { font-size: 1.7rem; line-height: 1.5; margin-bottom: .6rem; }
.course__info p { color: var(--muted); }
.course__facts { margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.course__facts dt { font-size: .85rem; color: var(--muted); }
.course__facts dd { margin: 0; font-weight: 800; }
.course__syllabus h4 { margin: 0 0 .8rem; font-size: 1.05rem; font-weight: 800; color: var(--cell); }
.course__syllabus ol { list-style: none; margin: 0; padding: 0; counter-reset: topic; }
.course__syllabus li {
  counter-increment: topic; position: relative;
  padding: .55rem 0 .55rem 0; padding-inline-start: 3rem; border-bottom: 1px solid var(--rule);
}
.course__syllabus li:last-child { border-bottom: 0; }
.course__syllabus li::before {
  content: counter(topic, persian);
  position: absolute; inset-inline-start: 0; top: .5rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-weight: 800; font-size: .95rem;
}

/* Courses: short banner on the home page, full list on courses.html */
.courses--teaser { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.courses__teaser { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.courses__teaser h2 { margin-bottom: .4rem; }
.courses__teaser p { margin: 0; color: rgba(255,255,255,.85); }
.courses--page { min-height: 62vh; }
.courses--page h1 { font-family: "Lalezar", var(--body); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.45; margin-bottom: .5rem; }
.course h2 { font-size: 1.6rem; line-height: 1.5; margin-bottom: .6rem; }
.course h2::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--sun); }
.course__syllabus h3 { margin: 0 0 .8rem; font-size: 1.05rem; font-weight: 800; color: var(--cell); }
.course__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.course-empty { color: var(--white); }
.nav__links a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* Sunlight and shade: the page is shaded away from the floating sun and lit around it.
   Kept moderate so text in the shade stays readable. The header stays above the shade. */
.shade {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  mix-blend-mode: multiply;
  background: radial-gradient(circle at var(--sx, 85%) var(--sy, 20%),
    #fff 0, #fff 16vmax, #C6CDEA 32vmax, #8D99CC 54vmax, #6471B0 86vmax);
}
.shade[hidden] { display: none; }

/* ============ Night-sky background ============
   Only the page background is shaded: the shade sits behind the content, so photos,
   cards and panels keep their own colours. Text lives on tiles so it stays readable. */
.shade {
  z-index: 0; mix-blend-mode: normal;
  background: radial-gradient(circle at var(--sx, 85%) var(--sy, 20%),
    rgba(15,27,74,0) 0, rgba(15,27,74,0) 15vmax, rgba(15,27,74,.42) 30vmax, rgba(15,27,74,.8) 52vmax, rgba(11,20,58,.93) 84vmax);
}
/* stars: only where the sky is dark */
.shade::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, #fff 0 1.1px, transparent 1.7px),
    radial-gradient(circle, #fff 0 .9px, transparent 1.5px),
    radial-gradient(circle, #FFE9B0 0 1.5px, transparent 2.2px),
    radial-gradient(circle, #fff 0 .7px, transparent 1.2px),
    radial-gradient(circle, #CFE0FF 0 1.3px, transparent 2px);
  background-size: 263px 241px, 197px 311px, 419px 367px, 149px 173px, 347px 293px;
  background-position: 31px 47px, 139px 201px, 211px 89px, 71px 127px, 293px 239px;
  opacity: .85;
  -webkit-mask-image: radial-gradient(circle at var(--sx, 85%) var(--sy, 20%), transparent 0, transparent 26vmax, #000 52vmax);
          mask-image: radial-gradient(circle at var(--sx, 85%) var(--sy, 20%), transparent 0, transparent 26vmax, #000 52vmax);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: .95; } }
/* sections whose background is plain page colour let the sky show over it */
.packages, .included, .faq { position: static; }

/* tiles: every block of text that used to sit on the bare background */
.tile, .section-head, .find__lead, .builder__form, .included__grid, .faq__grid {
  background: var(--white); border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 22px 44px -28px rgba(6,12,40,.75);
}
.section-head { width: fit-content; max-width: 100%; padding-block: clamp(1rem, 2.4vw, 1.5rem); }
.section-head p { margin: 0; }
.section-head h2::before, .tile h2::before, .included__grid h2::before, .faq__grid h2::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--sun); }
.find__lead { max-width: 46rem; }
.builder__form .group:last-child { margin-bottom: 0; }
.steps li::before { box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--sun); }
/* tiles that sit on the solar-panel sections keep their own look */
.courses .section-head { background: none; box-shadow: none; padding: 0; }

/* ============ Birds layer ============ */
.birds { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .birds { display: none; } }

/* Sparrows: positioned every frame by script.js; only the wing beat is CSS */
.bird {
  position: absolute; left: 0; top: 0; height: auto; opacity: 0;
  transform: translate3d(-200px, -200px, 0); animation: none; will-change: transform;
  filter: drop-shadow(0 3px 3px rgba(20,20,40,.25));
}
.bird svg { display: block; width: 100%; height: auto; overflow: visible; }
.bird .bird__wing { transform-box: view-box; transform-origin: 31px 21px; animation: wing-beat .17s ease-in-out infinite alternate; }
.bird .bird__wing--far { animation-delay: -.03s; }
@keyframes wing-beat { from { transform: scaleY(1) rotate(-6deg); } to { transform: scaleY(-.8) rotate(8deg); } }

/* Spinning sun: the rays turn clearly, and the disc carries a faint texture that turns the other way */
.sun .sun__rays {
  background:
    repeating-conic-gradient(from 6deg, rgba(255,206,100,.75) 0 2.2deg, transparent 2.2deg 15deg),
    repeating-conic-gradient(from 0deg, rgba(255,186,60,.5) 0 6deg, transparent 6deg 30deg);
  filter: blur(3px);
  animation: sun-spin 26s linear infinite;
}
.sun .sun__core {
  background:
    repeating-conic-gradient(from 0deg, rgba(255,255,255,.1) 0 14deg, rgba(240,150,20,.07) 14deg 36deg),
    radial-gradient(circle, #FFFEF6 0, #FFF6CF 34%, #FFE083 58%, #FDBB2D 80%, #F09819 100%);
  animation: sun-pulse 4.5s ease-in-out infinite, sun-spin-back 40s linear infinite;
}
@keyframes sun-spin-back { to { transform: rotate(-360deg); } }

/* Responsive */
@media (max-width: 1100px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav nav { margin-inline-start: 0; }
  .nav__cta { margin-inline-start: auto; }
  .hero__grid, .included__grid, .faq__grid, .builder__grid, .course { grid-template-columns: 1fr; }
  .summary { position: static; }
  .sun { --size: 84px; }
  .hero { --scene-h: 80vw; min-height: 0; display: flex; flex-direction: column; }
  .hero__scene { order: -1; }
  .hero__inner { padding-top: 1.5rem; padding-bottom: 2.75rem; width: 100%; }
  .hero__text { margin-inline-start: 0; max-width: none; }
  .hero__scene { position: relative; margin-top: 0; }
  .hero__scene img { object-position: 47% 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__text { padding-bottom: 0; }
  .hero__photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero::before { width: 120vw; inset-inline-end: -10vw; bottom: -12%; }
  .find .finder { grid-template-columns: 1fr; }
  .find .finder__result { padding-inline-start: 0; border-inline-start: 0; padding-top: 1.25rem; border-top: 1px dashed var(--rule); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .included__list { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr 1fr; }
  .opt__box { padding: .7rem .8rem; }
  .pkg__fit { min-height: 0; }
}
@media (max-width: 560px) {
  .nav__cta { padding-inline: 1rem; font-size: .9rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .contact__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
