/* ============================================================
   PhotoSmith AI — styles.css
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────
   All colours, sizes, weights and radii live here.
   Edit this block to restyle the entire site.
   ─────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:          #000;
  --bg-alt:      rgba(255,255,255,.02);
  --bg-card:     rgba(255,255,255,.04);
  --bg-card-h:   rgba(255,255,255,.07);
  --text:        #fff;
  --muted:       rgba(255,255,255,.88);
  --accent:      #FF9300;
  --accent-h:    #ffab33;
  --accent-dim:  rgba(255,147,0,.12);
  --accent-bdr:  rgba(255,147,0,.32);
  --border:      rgba(255,255,255,.08);
  --green:       rgba(80,210,120,.75);
  --red:         rgba(255,85,85,.85);

  /* Font families */
  --fd: 'Montserrat', sans-serif;   /* display / headings */
  --fb: 'Lato', sans-serif;         /* body copy          */

  /* Font weights */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-xbold:    800;

  /* ── Font sizes ─────────────────────────────────────────
     Fluid sizes: clamp(mobile-min, fluid-vw, desktop-max).
     Adjust min/max values to rescale at breakpoints.
     Adjust the vw value to control how fast they scale.   */

  /* Base */
  --fs-base:       1rem;        /* body copy, form inputs     */
  --fs-sm:         0.875rem;    /* small / secondary text     */
  --fs-xs:         0.8rem;      /* trust strip, footer links  */
  --fs-xxs:        0.72rem;     /* eyebrows, labels, footnotes*/
  --fs-tiny:       0.65rem;     /* tab numbers, tier badges   */

  /* Headings */
  --fs-h1:         clamp(2.8rem, 6.5vw, 5.2rem);
  --fs-h2:         clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3:         1.1rem;

  /* Navigation */
  --fs-nav:        0.875rem;
  --fs-btn:        0.9rem;
  --fs-btn-lg:     1rem;

  /* Hero */
  --fs-hero-sub:   clamp(1rem, 1.6vw, 1.2rem);
  --fs-stat-n:     1.8rem;      /* stat number  */
  --fs-stat-l:     0.95rem;     /* stat label   */

  /* Sections */
  --fs-sec-p:      1.05rem;     /* intro paragraph */

  /* Feature tabs + panels */
  --fs-ftab:       0.82rem;     /* tab button label    */
  --fs-panel-h:    1.5rem;      /* panel heading       */
  --fs-panel-sub:  1rem;        /* panel subtext       */
  --fs-fitem-nm:   1.2rem;        /* feature card name   */
  --fs-fitem-ds:   1rem;    /* feature card desc   */

  /* Pricing */
  --fs-pcard-ttl:  1.4rem;
  --fs-plat-n:     2.5rem;      /* "$5,000" display */

  /* Testimonials */
  --fs-quote:      clamp(1rem, 1.8vw, 1.2rem);
  --fs-metric-v:   1.4rem;

  /* Forms */
  --fs-form-input: 0.9375rem;
  --fs-form-sub:   0.95rem;     /* submit button */

  /* ── Layout ──────────────────────────────────────────── */
  --r:   10px;                         /* large border-radius  */
  --rs:  6px;                          /* small border-radius  */
  --pad: clamp(4rem, 8vw, 7rem);       /* section block padding*/
  --w:   1200px;                       /* max container width  */

  /* ── Feature tab icon ─────────────────────────────────
     Single value controls ALL tab icons simultaneously.  */
  --ftab-icon: 20px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cstyle%3E.t%7Bstroke:%23FF9300;stroke-opacity:.055;stroke-width:.7;fill:none%7D.v%7Bfill:%23FF9300;fill-opacity:.08%7D%3C/style%3E%3Cline class='t' x1='0' y1='30' x2='80' y2='30'/%3E%3Cline class='t' x1='120' y1='30' x2='200' y2='30'/%3E%3Cline class='t' x1='0' y1='90' x2='50' y2='90'/%3E%3Cline class='t' x1='50' y1='60' x2='130' y2='60'/%3E%3Cline class='t' x1='50' y1='90' x2='50' y2='60'/%3E%3Cline class='t' x1='130' y1='60' x2='130' y2='90'/%3E%3Cline class='t' x1='130' y1='90' x2='200' y2='90'/%3E%3Cline class='t' x1='0' y1='140' x2='40' y2='140'/%3E%3Cline class='t' x1='40' y1='140' x2='40' y2='160'/%3E%3Cline class='t' x1='40' y1='160' x2='100' y2='160'/%3E%3Cline class='t' x1='100' y1='160' x2='100' y2='140'/%3E%3Cline class='t' x1='100' y1='140' x2='200' y2='140'/%3E%3Cline class='t' x1='0' y1='185' x2='200' y2='185'/%3E%3Cline class='t' x1='80' y1='0' x2='80' y2='90'/%3E%3Cline class='t' x1='160' y1='0' x2='160' y2='200'/%3E%3Cline class='t' x1='25' y1='90' x2='25' y2='200'/%3E%3Cline class='t' x1='170' y1='90' x2='170' y2='185'/%3E%3Ccircle class='v' cx='80' cy='30' r='3'/%3E%3Ccircle class='v' cx='160' cy='30' r='3'/%3E%3Ccircle class='v' cx='50' cy='90' r='3'/%3E%3Ccircle class='v' cx='130' cy='90' r='3'/%3E%3Ccircle class='v' cx='40' cy='140' r='3'/%3E%3Ccircle class='v' cx='100' cy='140' r='3'/%3E%3Ccircle class='v' cx='160' cy='140' r='3'/%3E%3Crect class='v' x='77' y='57' width='6' height='6' rx='1'/%3E%3Crect class='v' x='127' y='57' width='6' height='6' rx='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  color: var(--text);
  font-family: var(--fb);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--fb); }
.container { width: 100%; max-width: var(--w); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--fd); line-height: 1.12; }
h1 { font-size: var(--fs-h1); font-weight: var(--fw-xbold); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }
.eyebrow { font-size: var(--fs-xxs); font-weight: var(--fw-bold); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.6rem; border-radius: var(--rs); font-family: var(--fd); font-size: var(--fs-btn); font-weight: var(--fw-semibold); letter-spacing: .01em; border: 1.5px solid transparent; transition: background .16s, border-color .16s, color .16s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-h); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.btn-lg { padding: .9rem 2rem; font-size: var(--fs-btn-lg); }

/* ── LOGO ───────────────────────────────────────────────── */
.lm { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--fd); font-weight: var(--fw-light); letter-spacing: .06em; color: var(--text); }
.lm strong { font-weight: var(--fw-bold); }
.lm .anvil { color: var(--accent); display: flex; align-items: center; }
.lm .ai { font-weight: var(--fw-bold); color: var(--accent); }
/* Source image 1000×200 px → 62 px tall at 1080 px viewport */
.nav-logo-img {
  display: block;
  height: clamp(32px, 5.74vw, 62px);
  width: auto;
  max-width: calc(clamp(32px, 5.74vw, 62px) * 5);
  object-fit: contain;
}

/* ── NAV ────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 200; border-bottom: 1px solid var(--border); background: rgba(0,0,0,.91); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav__i { display: flex; align-items: center; justify-content: space-between; height: clamp(52px, 5.74vw + 8px, 70px); }
.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__link { padding: .4rem .85rem; font-size: var(--fs-nav); color: var(--muted); border-radius: var(--rs); transition: color .14s; }
.nav__link:hover { color: var(--text); }
@media (max-width: 700px) { .nav__link:not(.btn) { display: none; } }

/* ── HERO ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: clamp(3.75rem, 7.5vw, 6.75rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.hero::after { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 1100px; height: 700px; background: radial-gradient(ellipse at center, rgba(255,147,0,.11) 0%, transparent 68%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; width: 100%; }
.hero__ey { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-bottom: 1.5rem; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.6); } }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: var(--fs-hero-sub); font-weight: var(--fw-light); color: var(--muted); width: 100%; max-width: 100%; line-height: 1.78; margin-bottom: 2.5rem; white-space: nowrap; }
@media (max-width: 860px) { .hero__sub { white-space: normal; } }
.hero__act { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; justify-content: center; }
.hero__trust { font-size: var(--fs-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; }
.hero__ti { display: flex; align-items: center; gap: .4rem; }
.hero__ti svg { color: var(--accent); }
.hero__stats { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--r); margin-top: 4rem; overflow: hidden; width: 100%; }
.hero__stat { flex: 1 1 0; padding: 1.4rem 1rem; border-right: 1px solid var(--border); text-align: center; cursor: default; transition: box-shadow .2s, border-color .2s; }
.hero__stat:last-child { border-right: none; }
.hero__stat:hover { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 18px rgba(255,147,0,.18); border-color: var(--accent); }
.hero__stat:hover .hero__sl { color: #fff; }
.hero__sn { font-family: var(--fd); font-size: var(--fs-stat-n); font-weight: var(--fw-bold); color: var(--accent); letter-spacing: -.03em; }
.hero__sl { font-size: var(--fs-stat-l); color: var(--muted); margin-top: .25rem; transition: color .18s; }
@media (max-width: 580px) {
  .hero__stat { flex: 1 1 45%; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .hero__stat:nth-child(even) { border-right: none; }
  .hero__stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── FADE ANIMATIONS ────────────────────────────────────── */
.fu { opacity: 0; transform: translateY(20px); animation: fuA .7s ease forwards; }
.fu:nth-child(1) { animation-delay: .05s; }
.fu:nth-child(2) { animation-delay: .15s; }
.fu:nth-child(3) { animation-delay: .25s; }
.fu:nth-child(4) { animation-delay: .35s; }
.fu:nth-child(5) { animation-delay: .45s; }
@keyframes fuA { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding-block: calc(var(--pad) * 0.7); }
.section--alt { background: var(--bg-alt); }
.sec-head { max-width: 640px; margin-bottom: clamp(1.75rem, 3.5vw, 2.8rem); }
.sec-head p { margin-top: .75rem; color: var(--muted); font-size: var(--fs-sec-p); line-height: 1.7; }

/* ── FEATURES ───────────────────────────────────────────── */
.fw { display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
@media (max-width: 860px) { .fw { grid-template-columns: 1fr; } }

.ftabs { border-right: 1px solid var(--border); display: flex; flex-direction: column; }
@media (max-width: 860px) {
  .ftabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .ftabs::-webkit-scrollbar { display: none; }
}

.ftab { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.25rem; border: none; background: transparent; color: var(--muted); font-family: var(--fd); font-size: var(--fs-ftab); font-weight: var(--fw-semibold); letter-spacing: .03em; text-align: left; cursor: pointer; border-bottom: 1px solid var(--border); transition: background .15s, color .15s; white-space: nowrap; }
.ftab:last-child { border-bottom: none; }
.ftab:hover { background: var(--bg-card); color: var(--text); }
.ftab.active { background: var(--accent-dim); color: var(--accent); border-left: 2px solid var(--accent); }
@media (max-width: 860px) {
  .ftab { border-bottom: none; border-right: 1px solid var(--border); padding: .85rem 1rem; }
  .ftab.active { border-left: none; border-bottom: 2px solid var(--accent); }
}

/* Tab icon — fixed size regardless of label length.
   Change --ftab-icon in :root to resize all tab icons. */
.ftab-icon { width: var(--ftab-icon); height: var(--ftab-icon); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ftab-icon svg { width: 100%; height: 100%; }

/* Tab number badge */
.ftn { font-size: var(--fs-tiny); opacity: .5; margin-left: auto; }
@media (max-width: 860px) { .ftn { display: none; } }

/* Panels */
.fpanel { display: none; padding: 1.25rem 2rem; }
.fpanel.active { display: block; }
.fpanel h3 { font-size: var(--fs-panel-h); font-weight: var(--fw-bold); margin-bottom: .5rem; }
.fpanel__sub { color: var(--muted); font-size: var(--fs-panel-sub); margin-bottom: 1.75rem; line-height: 1.65; }

/* Feature items grid */
.fitems-wrap { position: relative; }
.fitems { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }

/* Coming Soon overlay */
.fpanel--coming-soon .fitems { filter: blur(4px); pointer-events: none; user-select: none; }
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.coming-soon-overlay span {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: var(--fw-xbold);
  letter-spacing: .22em;
  color: var(--accent);
  transform: rotate(-12deg);
  text-shadow: 0 0 40px rgba(255,147,0,.45);
  border: 2px solid var(--accent);
  padding: .4rem 1.75rem;
  border-radius: var(--rs);
  background: rgba(0,0,0,.65);
  white-space: nowrap;
}

.fitem { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rs); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; transition: background .15s, border-color .15s; }
.fitem:hover { background: var(--bg-card-h); border-color: var(--accent-bdr); }
.fitem__ic { width: 34px; height: 34px; background: var(--accent-dim); border: 1px solid var(--accent-bdr); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.fitem__ic svg { width: 16px; height: 16px; }
.fitem__nm { font-weight: var(--fw-bold); font-size: var(--fs-fitem-nm); }
.fitem__ds { font-size: var(--fs-fitem-ds); color: var(--muted); line-height: 1.55; flex: 1; }

/* ── PRICING ─────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .pgrid { grid-template-columns: 1fr; } }

/* Two-column layout inside a single full-width pricing card */
.pcols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 640px) { .pcols { grid-template-columns: 1fr; } }

.pcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.pcard--feat { border-color: var(--accent-bdr); background: rgba(255,147,0,.05); }
.pcard__lbl { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-xxs); font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pcard__ttl { font-size: var(--fs-pcard-ttl); font-weight: var(--fw-bold); font-family: var(--fd); }
.pcard__desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; }

.ctbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ctbl th { text-align: left; padding: .45rem .6rem; color: var(--muted); font-weight: var(--fw-semibold); font-size: var(--fs-xxs); letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.ctbl td { padding: .55rem .6rem; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--text); }
.ctbl tr:last-child td { border-bottom: none; }
.ctbl td:last-child { color: var(--accent); font-weight: var(--fw-semibold); text-align: right; }

.vtiers { display: flex; flex-direction: column; gap: .5rem; }
.vtier { display: flex; align-items: center; justify-content: space-between; padding: .65rem .9rem; border-radius: var(--rs); background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: var(--fs-sm); }
.vtier--best { background: var(--accent-dim); border-color: var(--accent-bdr); }
.vtier__bdg { font-size: var(--fs-tiny); font-weight: var(--fw-bold); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: rgba(255,147,0,.15); padding: .15rem .45rem; border-radius: 2rem; }
.vtier__p { font-family: var(--fd); font-weight: var(--fw-bold); color: var(--text); }
.vtier__per { font-size: var(--fs-xxs); color: var(--muted); }

.plat-p { display: flex; align-items: baseline; gap: .5rem; margin-block: .25rem; }
.plat-p__n { font-family: var(--fd); font-size: var(--fs-plat-n); font-weight: var(--fw-xbold); color: var(--accent); letter-spacing: -.03em; }
.plat-p__pd { color: var(--muted); font-size: var(--fs-sm); }

.pincs { display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.pinc { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--fs-sm); color: var(--muted); }
.pinc svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.pnote { font-size: var(--fs-xxs); color: var(--muted); padding: .75rem 1rem; background: rgba(255,255,255,.03); border-radius: var(--rs); border-left: 2px solid var(--accent); line-height: 1.55; }

/* ── CALCULATOR ─────────────────────────────────────────── */
.calc-btn { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .75rem 1rem; background: var(--accent-dim); border: 1px solid var(--accent-bdr); border-radius: var(--rs); color: var(--accent); font-size: var(--fs-sm); font-weight: var(--fw-semibold); font-family: var(--fd); letter-spacing: .02em; transition: background .15s, border-color .15s; }
.calc-btn:hover { background: rgba(255,147,0,.18); border-color: rgba(255,147,0,.5); }
.calc-btn__chev { margin-left: auto; transition: transform .25s; }
.calc-btn[aria-expanded="true"] .calc-btn__chev { transform: rotate(180deg); }

.calc-panel { display: none; margin-top: 1.5rem; border: 1px solid var(--accent-bdr); border-radius: var(--r); overflow: hidden; background: rgba(0,0,0,.55); }
.calc-panel.open { display: block; animation: cpA .25s ease; }
@keyframes cpA { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.calc-inner { padding: clamp(1.25rem, 3vw, 1.75rem); }
.calc-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.calc-close { background: none; border: none; color: var(--muted); padding: .3rem; border-radius: var(--rs); transition: color .14s; }
.calc-close:hover { color: var(--text); }
.calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .calc-body { grid-template-columns: 1fr; } }

.calc-section-lbl { font-size: var(--fs-xxs); font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.calc-checks { display: flex; flex-direction: column; gap: .35rem; }
.cchk { display: flex; align-items: center; gap: .6rem; cursor: pointer; padding: .3rem .5rem; border-radius: var(--rs); transition: background .12s; user-select: none; }
.cchk:hover { background: rgba(255,255,255,.04); }
.cchk input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.cchk__box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); flex-shrink: 0; transition: background .14s, border-color .14s; display: flex; align-items: center; justify-content: center; }
.cchk__box--free { border-color: var(--green) !important; background: rgba(80,210,120,.08) !important; }
.cchk input:checked ~ .cchk__box { background: var(--accent); border-color: var(--accent); }
.cchk input:checked ~ .cchk__box::after { content: ""; display: block; width: 9px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) translate(1px,-1px); }
.cchk input:disabled ~ .cchk__box { opacity: .55; cursor: not-allowed; }
.cchk__lbl { font-size: var(--fs-sm); flex: 1; }
.cchk__cost { font-size: var(--fs-xxs); color: var(--muted); white-space: nowrap; }
.cchk__cost.free { color: var(--green); }

.calc-fields { display: flex; flex-direction: column; gap: .75rem; margin-top: .1rem; }
.calc-field { display: flex; flex-direction: column; gap: .22rem; }
.calc-flbl { font-size: var(--fs-xxs); font-weight: var(--fw-semibold); color: var(--muted); }
.calc-fi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rs); padding: .6rem .8rem; color: var(--text); font-family: var(--fb); font-size: var(--fs-sm); outline: none; transition: border-color .14s, box-shadow .14s; -webkit-appearance: none; appearance: none; }
.calc-fi:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,147,0,.1); }
.calc-fi::placeholder { color: rgba(255,255,255,.22); }
.calc-hint { font-size: var(--fs-xxs); color: var(--muted); line-height: 1.4; }

.calc-tier-sel { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .65rem; }
.ctier { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--rs); padding: .6rem .8rem; display: flex; flex-direction: column; gap: .15rem; text-align: left; transition: background .14s, border-color .14s; cursor: pointer; }
.ctier:hover { background: rgba(255,255,255,.07); }
.ctier[aria-pressed="true"] { background: var(--accent-dim); border-color: var(--accent-bdr); }
.ctier__name { font-size: var(--fs-xxs); font-weight: var(--fw-bold); font-family: var(--fd); color: var(--text); }
.ctier__rate { font-size: var(--fs-xxs); color: var(--muted); }
.ctier[aria-pressed="true"] .ctier__rate { color: var(--accent); }
.calc-auto-note { font-size: var(--fs-xxs); color: var(--muted); line-height: 1.5; min-height: 1.4em; margin-bottom: .5rem; }

.calc-breakdown { margin-top: .5rem; }
.cbr-rows { display: flex; flex-direction: column; }
.cbr-empty { font-size: var(--fs-sm); color: var(--muted); padding: .5rem 0; font-style: italic; }
.cbr-row { display: flex; justify-content: space-between; align-items: baseline; padding: .38rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: var(--fs-sm); }
.cbr-row:last-child { border-bottom: none; }
.cbr-row__mod { color: var(--muted); }
.cbr-row__cr { font-weight: var(--fw-semibold); color: var(--text); text-align: right; white-space: nowrap; }
.cbr-row__cr.free { color: var(--green); }
.cbr-total { border-top: 1px solid var(--border); margin-top: .75rem; padding-top: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.cbr-total__row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); }
.cbr-total__row--big { font-family: var(--fd); font-weight: var(--fw-bold); font-size: 1.3rem; color: var(--accent); padding-top: .15rem; }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.ttrack { position: relative; overflow: hidden; border-radius: var(--r); }
.tcard { display: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(2rem, 5vw, 3rem); }
.tcard.active { display: block; animation: tfi .45s ease; }
@keyframes tfi { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tcard__q { font-size: var(--fs-quote); font-weight: var(--fw-light); line-height: 1.8; color: var(--text); margin-bottom: 1.75rem; position: relative; }
.tcard__q::before { content: '\201C'; font-family: var(--fd); font-size: 5rem; line-height: 0; color: var(--accent); opacity: .25; position: absolute; top: .75rem; left: -.2rem; }
.tcard__body { padding-left: 1rem; }
.tcard__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.tcard__au strong { display: block; font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.tcard__au span { font-size: var(--fs-xxs); color: var(--muted); }
.tcard__mx { display: flex; gap: 1.5rem; }
.tmx { text-align: right; }
.tmx__v { font-family: var(--fd); font-size: var(--fs-metric-v); font-weight: var(--fw-bold); color: var(--accent); letter-spacing: -.02em; }
.tmx__l { font-size: var(--fs-xxs); color: var(--muted); }
.tctrl { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: background .2s, transform .2s; cursor: pointer; }
.tdot.active { background: var(--accent); transform: scale(1.3); }
.tcaret { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: background .14s, color .14s; }
.tcaret:hover { background: var(--bg-card-h); color: var(--text); }

/* ── CONTACT ─────────────────────────────────────────────── */
.cwrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .cwrap { grid-template-columns: 1fr; } }
.cpitch h2 { margin-top: .5rem; margin-bottom: .75rem; }
.cpitch p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; margin-bottom: 1.5rem; }
.fcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: clamp(1.75rem, 4vw, 2.5rem); }
.fcard h3 { font-size: var(--fs-base); font-weight: var(--fw-semibold); padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.ff { display: flex; flex-direction: column; gap: .32rem; margin-bottom: .85rem; }
.ff:last-of-type { margin-bottom: 0; }
.flbl { font-size: var(--fs-xxs); font-weight: var(--fw-bold); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.flbl .req { color: var(--accent); margin-left: 2px; }
.fi, .fsl, .fta { width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.11); border-radius: var(--rs); padding: .65rem .875rem; color: var(--text); font-family: var(--fb); font-size: var(--fs-form-input); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .14s, box-shadow .14s, background .14s; }
.fi::placeholder, .fta::placeholder { color: rgba(255,255,255,.22); }
.fi:focus, .fsl:focus, .fta:focus { border-color: var(--accent); background: rgba(255,147,0,.04); box-shadow: 0 0 0 3px rgba(255,147,0,.1); }
.fi.valid, .fsl.valid { border-color: var(--green); }
.fi.invalid, .fsl.invalid, .fta.invalid { border-color: var(--red); background: rgba(255,85,85,.03); }
.fta { resize: vertical; min-height: 100px; }
.fsl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem; }
.fsl option { background: #111; }
.ferr { font-size: var(--fs-xxs); color: rgba(255,100,100,.9); display: none; min-height: 1em; }
.ferr.show { display: block; }
.fsub { width: 100%; margin-top: .75rem; padding: .875rem; font-family: var(--fd); font-size: var(--fs-form-sub); font-weight: var(--fw-bold); letter-spacing: .02em; background: var(--accent); color: #000; border: none; border-radius: var(--rs); transition: background .16s; }
.fsub:hover { background: var(--accent-h); }
.fok { display: none; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 2.5rem 1rem; }
.fok.show { display: flex; }
.fok svg { color: var(--accent); }
.fok h3 { font-size: 1.15rem; }
.fok p { color: var(--muted); font-size: var(--fs-sm); max-width: 280px; line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding-block: 2.25rem; }
.footer__i { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; }
.footer__link { font-size: var(--fs-xs); color: var(--muted); transition: color .14s; }
.footer__link:hover { color: var(--text); }
.footer__bot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); text-align: center; font-size: var(--fs-xxs); color: var(--muted); }

/* ── FABs ────────────────────────────────────────────────── */
.fab-grp { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 500; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.fab { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border); background: rgba(0,0,0,.88); backdrop-filter: blur(10px); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: background .14s, color .14s, border-color .14s, opacity .2s; cursor: pointer; }
.fab:hover { background: var(--bg-card-h); color: var(--text); border-color: rgba(255,255,255,.2); }
.fab-top { opacity: 0; pointer-events: none; transform: translateY(8px); }
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }
