:root {
  --paper: #faf9f6;
  --paper-alt: #eff2f7;
  --ink: #152238;
  --ink-soft: #5b6478;
  --gold: #f0af1e;
  --gold-dim: #fcebc2;
  --rust: #a63d40;
  --rust-dim: #f3dedd;
  --line: rgba(21, 34, 56, 0.13);
  --shadow: 0 24px 55px -22px rgba(21, 34, 56, 0.22);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, a {
  max-width: 100%;
}
p, h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--paper-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 8px;
}

.serif {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.serif-i {
  font-family: "Instrument Serif", serif;
  font-style: italic;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.unified-container {
  width: min(1200px, 100%);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}

/* ruled notebook texture (subtle, used behind hero only) */
.ruled {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 39px,
    rgba(21, 34, 56, 0.055) 40px
  );
}
.margin-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 78px;
  width: 1.5px;
  background: rgba(166, 61, 64, 0.28);
  z-index: 1;
}

/* progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 999;
  background: var(--rust);
}

/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 3vw;
  min-height: 72px;
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
header .logo {
  justify-self: start;
}
header nav {
  justify-self: center;
}
header .magnetic {
  justify-self: end;
}
header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 24px -14px rgba(21, 34, 56, 0.18);
}
.logo {
  font-family: "Instrument Serif";
  font-size: 36px;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}
.logo img {
  width: 90px;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}
.logo .seal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono";
  font-size: 12px;
  font-weight: 700;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
}
nav a {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 7px;
  font-weight: 700;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rust);
  transition: width 0.25s ease;
}
nav a:hover {
  color: var(--ink);
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}
nav a.active {
  color: var(--ink);
}
.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.nav-cta:hover {
  background: var(--rust);
  transform: translateY(-2px);
}
.magnetic {
  display: inline-block;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 5vw 60px;
  overflow: hidden;
}
.doodles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.doodle {
  position: absolute;
  opacity: 0.16;
  will-change: transform;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-left: 40px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  font-family: "IBM Plex Mono";
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "§";
  font-weight: 700;
}
h1.hero-title {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 1.03;
  overflow: hidden;
  letter-spacing: -0.01em;
}
h1.hero-title .line {
  display: block;
  overflow: hidden;
}
h1.hero-title .word {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
h1.hero-title em {
  font-style: italic;
  color: var(--rust);
}
.hero-sub {
  margin: 28px 0 38px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.75;
  max-width: 540px;
}
.hero-contact {
  margin: 0 0 38px;
  color: var(--ink);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 32px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 3px;
  position: relative;
  transition: background 0.25s ease;
}
.btn-primary:hover {
  background: var(--rust);
}
.btn-ghost {
  color: var(--ink);
  padding: 16px 8px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}
.btn-ghost:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.hero-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  box-shadow: var(--shadow);
  z-index: 2;
  transform: rotate(1.2deg);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: var(--line);
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 14px;
  border-bottom: 1px dashed var(--line);
}
.hero-card-head b {
  font-family: "Instrument Serif";
  font-size: 24px;
  line-height: 1.2;
}
.stamp {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--rust);
  border: 1.5px solid var(--rust);
  padding: 5px 12px;
  border-radius: 100px;
  transform: rotate(-6deg);
  font-weight: 700;
  animation: stampWobble 5s ease-in-out infinite;
}
@keyframes stampWobble {
  0%,
  100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(-2deg);
  }
}
.hero-card .row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.hero-card .row:last-child {
  border-bottom: none;
}
.hero-card .dot {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono";
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-card .dot.c1 {
  background: var(--gold-dim);
  color: #8a6a10;
}
.hero-card .dot.c2 {
  background: var(--paper-alt);
  color: var(--ink-soft);
}
.hero-card .dot.c3 {
  background: var(--rust-dim);
  color: var(--rust);
}
.hero-card .txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
}
.hero-card .txt b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}
.hero-card .txt span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 5vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-left: 40px;
}
.scroll-cue .dotline {
  width: 40px;
  height: 1px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.scroll-cue .dotline::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: var(--rust);
  animation: slide 1.6s infinite;
}
@keyframes slide {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

/* ---------- TRUST ---------- */
.trust {
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: auto;
}
.trust span.lbl {
  font-family: "IBM Plex Mono";
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
  flex: 0 0 auto;
}
.trust .badge {
  font-weight: 700;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 3px;
  background: var(--paper);
  font-size: 14px;
  flex: 0 0 auto;
}
.trust .badge:hover {
}

/* ---------- TICKER ---------- */
.ticker-wrap {
  background: var(--ink);
  padding: 18px 0;
  overflow: hidden;
}
.ticker {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: scrollTicker 150s linear infinite;
}
.ticker span {
  font-family: "Instrument Serif";
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 0 16px;
  color: rgba(250, 249, 246, 0.7);
  text-transform: uppercase;
  font-weight: 400;
}
.ticker span.hl {
  color: var(--gold);
}
@keyframes scrollTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION GENERIC ---------- */
section {
  position: relative;
  padding: 130px 5vw;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}
.alt {
  background: var(--paper-alt);
}
.section-head {
  max-width: 620px;
  margin-bottom: 64px;
}
.tag {
  font-family: "IBM Plex Mono";
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
  display: block;
  font-weight: 700;
}
h2 {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
}
.reveal {
  opacity: 0;
  transform: translateY(46px);
}

.underline {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--rust);
}
.underline svg {
  position: absolute;
  left: -2%;
  bottom: -10px;
  width: 104%;
  height: 18px;
  overflow: visible;
}
.underline path {
  stroke: var(--gold);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.card-photo {
  position: relative;
  aspect-ratio: 4/5;
  width: min(520px, 100%);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  clip-path: inset(0 0 100% 0);
  border: 1px solid var(--line);
}
.card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.08), rgba(21, 34, 56, 0.32));
  pointer-events: none;
}
.card-photo .about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}
.monogram {
  position: relative;
  z-index: 2;
  font-family: "Instrument Serif";
  font-size: 180px;
  color: #fff;
  opacity: 0.92;
}
.card-photo .tagchip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 3px;
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.06em;
}
.about-body p {
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 17px;
  margin-bottom: 18px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.fact {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}
.fact b {
  font-family: "Instrument Serif";
  font-size: 36px;
  display: block;
}
.fact span {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- REPORT CARD PIN SCENE ---------- */
.grade-scene {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 5vw;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.grade-scene .tag {
  text-align: center;
  color: var(--gold);
}
.grade-headline {
  font-family: "Instrument Serif";
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 50px);
  max-width: 760px;
  margin-bottom: 56px;
  line-height: 1.2;
  color: var(--paper);
}
.grade-box {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.grade-letter-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grade-letter {
  font-family: "Instrument Serif";
  font-size: 190px;
  line-height: 1;
  color: var(--gold);
}
.approved-stamp {
  position: absolute;
  border: 3px solid var(--rust);
  color: var(--rust);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: "IBM Plex Mono";
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(2.4) rotate(-18deg);
  pointer-events: none;
}
.approved-stamp.show {
  animation: stampSlam 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) forwards;
}
@keyframes stampSlam {
  0% {
    opacity: 0;
    transform: scale(2.4) rotate(-18deg);
  }
  60% {
    opacity: 1;
    transform: scale(0.92) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-12deg);
  }
}
.grade-track-wrap {
  width: 320px;
  text-align: left;
}
.grade-track {
  height: 9px;
  background: rgba(250, 249, 246, 0.14);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.grade-track i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8%;
  background: var(--gold);
}
.grade-labels {
  display: flex;
  justify-content: space-between;
  font-family: "IBM Plex Mono";
  font-size: 11px;
  color: rgba(250, 249, 246, 0.5);
  margin-top: 10px;
  letter-spacing: 0.06em;
}
.grade-caption {
  font-family: "Inter";
  font-size: 14px;
  color: rgba(250, 249, 246, 0.6);
  margin-top: 18px;
  max-width: 320px;
}

/* ---------- APPROACH ---------- */
.steps {
  display: flex;
  flex-direction: column;
}
.step {
  display: grid;
  grid-template-columns: 90px 1fr 44px;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition:
    padding-left 0.3s ease,
    transform 0.3s ease;
}
.steps .step:last-child {
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: "Instrument Serif";
  font-size: 58px;
  color: var(--line);
  line-height: 1;
}
.step-body h3 {
  font-family: "Instrument Serif";
  font-size: 34px;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.15;
}
.step-body p {
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.85;
  font-size: 18px;
}
.step-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink-soft);
}
.step:hover {
}
.step:hover .step-num {
}
.step:hover .step-arrow {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--paper);
}

/* ---------- RESULTS ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.stat:hover {
  transform: translateY(-6px);
}
.stat b {
  font-family: "Instrument Serif";
  font-size: 50px;
  display: block;
  color: var(--ink);
}
.stat b .unit {
  font-size: 26px;
  color: var(--rust);
}
.stat span {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.testimonials {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 38px 34px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.t-quote {
  font-size: 26px;
  line-height: 1.7;
  color: var(--ink);
  font-family: "Instrument Serif";
}
.t-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.t-name {
  margin-top: 26px;
  font-family: "IBM Plex Mono";
  font-size: 14px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---------- PRICING ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.price-card.featured {
  border-color: var(--rust);
  background: linear-gradient(160deg, var(--paper), var(--rust-dim));
}
.price-card:hover {
  border-color: var(--rust);
  box-shadow: 0 16px 38px -18px rgba(21, 34, 56, 0.3);
}
.price-card.featured::before {
  content: "POPULAR";
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--rust);
  color: var(--paper);
  font-family: "IBM Plex Mono";
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
}
.price-name {
  font-family: "Instrument Serif";
  font-size: 28px;
}
.price-amt {
  font-family: "Instrument Serif";
  font-size: 46px;
}
.price-amt span {
  font-family: "IBM Plex Mono";
  font-size: 13px;
  color: var(--ink-soft);
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin-bottom: 4px;
}
.price-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.price-cta {
  display: block;
  text-align: center;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  width: 100%;
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
}
.contact p.lead {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 20px auto 44px;
  font-size: 18px;
  line-height: 1.8;
}
.contact-form {
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  padding: 14px 16px;
  font-family: "Inter";
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rust);
}
.contact-form label {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form .magnetic {
  align-self: flex-start;
}
.contact-form button {
  border: none;
  cursor: pointer;
  font-family: "Inter";
}

footer {
  padding: 56px 5vw 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  font-family: "Inter";
  font-size: 14px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 28px;
  background: linear-gradient(
    180deg,
    rgba(250, 249, 246, 0.95),
    rgba(239, 242, 247, 0.9)
  );
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
footer > .footer-brand {
  flex: 0 1 320px;
  margin-top: 0;
}
footer > .footer-links {
  flex: 1 1 280px;
  align-self: center;
}
.map-preview {
  width: min(100%, 1120px);
  margin: 60px auto 40px;
  padding: 26px;
  border: 1px solid rgba(21, 34, 56, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 55px -40px rgba(21, 34, 56, 0.35);
}
.map-preview h4 {
  font-family: "Instrument Serif";
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--ink);
  text-align: center;
}
.map-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(21, 34, 56, 0.12);
}
.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
.map-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
}
.map-note a {
  color: var(--rust);
  text-decoration: underline;
}
.footer-brand {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.footer-brand h3 {
  font-family: "Instrument Serif";
  font-size: 34px;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: justify;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  min-width: 0;
  width: auto;
  margin-left: auto;
  margin-right: 60px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 140px;
}
.footer-links h4 {
  font-family: "IBM Plex Mono";
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
.footer-links li {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  transition: color 0.25s ease;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink-soft);
  min-height: 32px;
  width: min(100%, 180px);
  text-align: left;
  padding-left: 0;
}
.footer-links a .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(240, 175, 30, 0.18);
  line-height: 1;
  margin: 0;
  overflow: hidden;
  padding: 0;
}
.footer-links a .social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
  margin-top: 18px;
  width: 100%;
  align-items: flex-start;
}
.footer-meta.footer-meta-large {
  gap: 16px;
  font-size: 20px;
}
.footer-meta span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  line-height: 1.5;
  flex-wrap: wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.footer-meta span:first-child {
  font-weight: 700;
}
.footer-meta span:nth-child(2) {
  color: var(--rust);
}
.footer-meta span:last-child {
  color: var(--ink-soft);
}
.footer-links a.linkedin-link {
  color: var(--ink);
  font-weight: 700;
}
.footer-links a.linkedin-link .social-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0a66c2, #00a0dc);
  color: #fff;
  box-shadow: 0 16px 28px rgba(10, 102, 194, 0.25);
}
.footer-links a.linkedin-link .social-icon svg {
  width: 18px;
  height: 18px;
}
.footer-links a.linkedin-link:hover .social-icon {
  transform: scale(1.05);
}
.footer-links a.linkedin-link:hover {
  color: #0a66c2;
}
.footer-links a.whatsapp-link {
  color: var(--ink);
  font-weight: 700;
}
.footer-links a.whatsapp-link .social-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #25d366, #1ebea5);
  color: #fff;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.25);
}
.footer-links a.whatsapp-link .social-icon svg {
  width: 18px;
  height: 18px;
}
.footer-links a.whatsapp-link:hover .social-icon {
  transform: scale(1.05);
}
.footer-links a.whatsapp-link:hover {
  color: #25d366;
}
.footer-links a.instagram-link {
  color: var(--ink);
  font-weight: 700;
}
.footer-links a.instagram-link .social-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
  box-shadow: 0 16px 28px rgba(245, 133, 41, 0.25);
}
.footer-links a.instagram-link .social-icon svg {
  width: 18px;
  height: 18px;
}
.footer-links a.instagram-link:hover .social-icon {
  transform: scale(1.05);
}
.footer-links a.instagram-link:hover {
  color: #e4405f;
}
.footer-links a.facebook-link {
  color: var(--ink);
  font-weight: 700;
}
.footer-links a.facebook-link .social-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1877f2, #145dbf);
  color: #fff;
  box-shadow: 0 16px 28px rgba(24, 119, 242, 0.25);
}
.footer-links a.facebook-link .social-icon svg {
  width: 18px;
  height: 18px;
}
.footer-links a.facebook-link:hover .social-icon {
  transform: scale(1.05);
}
.footer-links a.facebook-link:hover {
  color: #1877f2;
}
.footer-links a.youtube-link {
  color: var(--ink);
  font-weight: 700;
}
.footer-links a.youtube-link .social-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff0000, #c4122e);
  color: #fff;
  box-shadow: 0 16px 28px rgba(255, 0, 0, 0.25);
}
.footer-links a.youtube-link .social-icon svg {
  width: 18px;
  height: 18px;
}
.footer-links a.youtube-link:hover .social-icon {
  transform: scale(1.05);
}
.footer-links a.youtube-link:hover {
  color: #ff0000;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  nav,
  .nav-cta {
    display: none;
  }
  header {
    justify-content: space-between;
    padding: 16px 16px;
    min-height: 64px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero {
    padding: 84px 16px 52px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    text-align: center;
    max-width: 100%;
    width: 100%;
    gap: 28px;
    justify-items: center;
    box-sizing: border-box;
  }
  .hero-card {
    margin: 0 auto;
    width: min(520px, 100%);
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-title {
    font-size: clamp(36px, 9vw, 56px);
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    max-width: 100%;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .hero-contact {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-ctas .magnetic {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .btn-primary,
  .btn-ghost {
    display: inline-block;
    width: 100%;
    text-align: center;
    max-width: 100%;
  }
  .grade-track-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-card {
    margin-top: 24px;
    max-width: 100%;
    width: 100%;
  }
  .hero-card-head {
    padding: 16px 16px 12px;
  }
  .hero-card .row {
    padding: 12px 16px;
    gap: 10px;
  }
  .hero-card .dot {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .hero-card .txt b {
    font-size: 13px;
  }
  .hero-card .txt span {
    font-size: 11px;
  }
  .margin-rule {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .card-photo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-facts {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .testimonials {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .grade-box {
    gap: 28px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .grade-letter {
    font-size: 100px;
  }
  .grade-letter-wrap {
    width: 140px;
    height: 140px;
  }
  .approved-stamp {
    width: 100px;
    height: 100px;
    font-size: 9px;
  }
  section {
    padding: 70px 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .step {
    grid-template-columns: 50px 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .step-body h3 {
    font-size: 24px;
  }
  .step-body p {
    font-size: 15px;
  }
  .step-arrow {
    display: none;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 32px 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
  }
  .footer-brand {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .footer-brand p {
    text-align: left;
    font-size: 11px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 12px 0 0 0;
    box-sizing: border-box;
  }
  .footer-links {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    gap: 20px;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .footer-links > div {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .footer-links ul {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 12px 0 0 0;
    box-sizing: border-box;
  }
  .footer-links li {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .footer-links a {
    width: min(100%, 180px);
    font-size: 13px;
    max-width: 100%;
  }
  .footer-links a .social-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
  .footer-links a .social-icon svg {
    width: 16px;
    height: 16px;
  }
  .footer-meta {
    font-size: 11px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 16px 0 0 0;
    box-sizing: border-box;
  }
  .footer-meta.footer-meta-large {
    font-size: 12px;
    gap: 10px;
  }
  .footer-meta span {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    flex-wrap: wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .footer-brand h3 {
    font-size: 22px;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    box-sizing: border-box;
  }
  .map-preview {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    margin: 40px auto 30px;
    box-sizing: border-box;
  }
  .trust {
    padding: 20px 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .trust-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .ticker-wrap {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .grade-scene {
    padding: 60px 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
}

@media (max-width: 576px) {
  header {
    justify-content: space-between;
    padding: 14px 16px;
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  header nav {
    display: none;
  }
  .logo {
    font-size: 20px;
    gap: 6px;
  }
  .logo img {
    width: 44px;
  }
  .hero {
    padding: 80px 4vw 30px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-sub {
    margin: 18px auto 24px;
    max-width: 100%;
  }
  .about-grid {
    gap: 28px;
  }
  .contact-form {
    padding: 16px 12px;
  }
  .footer-links {
    width: 100%;
    gap: 16px;
    justify-content: center;
  }
  footer {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 48px 4vw 40px;
  }
  footer > .footer-brand {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  footer > .footer-links {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  .footer-links > div {
    text-align: center;
  }
  .whatsapp-float {
    right: max(20px, env(safe-area-inset-right) + 10px);
    bottom: max(20px, env(safe-area-inset-bottom) + 10px);
    width: 72px;
    height: 72px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 38px;
    height: 38px;
  }
  .hero {
    padding: 100px 4vw 32px;
  }
  .hero-title {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 15px;
    margin: 20px 0 28px;
  }
  .scroll-cue {
    display: none;
  }
  .trust {
    padding: 20px 4vw;
    overflow-x: auto;
  }
  .trust-inner {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .trust span.lbl {
    flex: 0 0 auto;
  }
  .trust .badge {
    font-size: 12px;
    padding: 6px 10px;
    flex: 0 0 auto;
  }
  section {
    padding: 64px 4vw;
  }
  .about-body p {
    font-size: 15px;
  }
  .contact-form {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    gap: 12px;
  }
  .price-card {
    padding: 18px 14px;
    gap: 12px;
    align-items: stretch;
  }
  .price-name {
    font-size: 20px;
  }
  .price-amt {
    font-size: 30px;
  }
  .price-list {
    gap: 10px;
  }
  .price-list li {
    font-size: 13px;
    line-height: 1.45;
  }
  .price-cta {
    padding: 12px 10px;
    font-size: 13px;
    margin-top: 2px;
  }
  footer {
    padding: 48px 4vw 48px;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
  .footer-links ul {
    gap: 8px;
  }
  .footer-links a {
    width: min(100%, 170px);
    font-size: 14px;
  }
  .footer-links a .social-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
  .footer-links a .social-icon svg {
    width: 16px;
    height: 16px;
  }
  .footer-brand h3 {
    font-size: 22px;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  .footer-meta {
    font-size: 10px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 16px 0 0 0;
    box-sizing: border-box;
  }
  .footer-meta.footer-meta-large {
    font-size: 11px;
    gap: 8px;
  }
  .footer-meta span {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    flex-wrap: wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  .ticker span {
    font-size: 15px;
    padding: 0 12px;
  }
}

/* ===== COMPREHENSIVE RESPONSIVE BREAKPOINTS ===== */

/* --- Small Phones (iPhone SE, 320px) --- */
@media (max-width: 320px) {
  .logo {
    font-size: 16px;
  }
  .logo img {
    width: 36px;
  }
  .hero-title {
    font-size: clamp(24px, 8.5vw, 32px);
  }
  .hero-sub {
    font-size: 13px;
  }
  section {
    padding: 48px 14px;
  }
  footer {
    padding: 28px 8px 28px 10px;
  }
  .footer-brand h3 {
    font-size: 18px;
  }
  .footer-brand p {
    font-size: 9px;
  }
  .footer-meta {
    font-size: 9px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 10px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 140px);
    font-size: 12px;
  }
  .footer-links a .social-icon {
    width: 24px;
    height: 24px;
  }
  .footer-links a .social-icon svg {
    width: 13px;
    height: 13px;
  }
  .whatsapp-float {
    width: 48px;
    height: 48px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 26px;
    height: 26px;
  }
}

/* --- Mid-Small Phones (Samsung Galaxy S23, Realme 8, 360px) --- */
@media (max-width: 360px) and (min-width: 321px) {
  .logo {
    font-size: 17px;
  }
  .logo img {
    width: 38px;
  }
  .hero-title {
    font-size: clamp(26px, 8.5vw, 34px);
  }
  .hero-sub {
    font-size: 13.5px;
  }
  section {
    padding: 52px 15px;
  }
  footer {
    padding: 32px 10px 32px 12px;
  }
  .footer-brand h3 {
    font-size: 19px;
  }
  .footer-brand p {
    font-size: 9.5px;
  }
  .footer-meta {
    font-size: 9.5px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 10.5px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 150px);
    font-size: 12.5px;
  }
  .footer-links a .social-icon {
    width: 26px;
    height: 26px;
  }
  .footer-links a .social-icon svg {
    width: 14px;
    height: 14px;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* --- Standard Phones (iPhone 12/13/14, Redmi Note 10/11/12/13, Realme 9 Pro/10/11 Pro, 390-393px) --- */
@media (max-width: 393px) and (min-width: 361px) {
  .logo {
    font-size: 18px;
  }
  .logo img {
    width: 40px;
  }
  .hero-title {
    font-size: clamp(28px, 8.5vw, 36px);
  }
  .hero-sub {
    font-size: 14px;
  }
  section {
    padding: 56px 16px;
  }
  footer {
    padding: 36px 12px 36px 14px;
  }
  .footer-brand h3 {
    font-size: 20px;
  }
  .footer-brand p {
    font-size: 10px;
  }
  .footer-meta {
    font-size: 10px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 11px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 160px);
    font-size: 13px;
  }
  .footer-links a .social-icon {
    width: 28px;
    height: 28px;
  }
  .footer-links a .social-icon svg {
    width: 15px;
    height: 15px;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 29px;
    height: 29px;
  }
}

/* --- Large Phones (Google Pixel 7/8 Pro, OnePlus 11, Realme 12 Pro, 412px) --- */
@media (max-width: 412px) and (min-width: 394px) {
  .logo {
    font-size: 19px;
  }
  .logo img {
    width: 42px;
  }
  .hero-title {
    font-size: clamp(30px, 8.5vw, 38px);
  }
  .hero-sub {
    font-size: 14.5px;
  }
  section {
    padding: 60px 16px;
  }
  footer {
    padding: 38px 12px 38px 14px;
  }
  .footer-brand h3 {
    font-size: 21px;
  }
  .footer-brand p {
    font-size: 10.5px;
  }
  .footer-meta {
    font-size: 10.5px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 11.5px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 165px);
    font-size: 13.5px;
  }
  .footer-links a .social-icon {
    width: 29px;
    height: 29px;
  }
  .footer-links a .social-icon svg {
    width: 15.5px;
    height: 15.5px;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}

/* --- Extra Large Phones (iPhone 15 Pro Max, 430px) --- */
@media (max-width: 430px) and (min-width: 413px) {
  .logo {
    font-size: 20px;
  }
  .logo img {
    width: 44px;
  }
  .hero-title {
    font-size: clamp(32px, 8.5vw, 40px);
  }
  .hero-sub {
    font-size: 15px;
  }
  section {
    padding: 64px 16px;
  }
  footer {
    padding: 40px 12px 40px 14px;
  }
  .footer-brand h3 {
    font-size: 22px;
  }
  .footer-brand p {
    font-size: 11px;
  }
  .footer-meta {
    font-size: 11px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 12px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 170px);
    font-size: 14px;
  }
  .footer-links a .social-icon {
    width: 30px;
    height: 30px;
  }
  .footer-links a .social-icon svg {
    width: 16px;
    height: 16px;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 31px;
    height: 31px;
  }
}

/* --- Google Pixel 8 Pro (448px) --- */
@media (max-width: 448px) and (min-width: 431px) {
  .logo {
    font-size: 20.5px;
  }
  .logo img {
    width: 45px;
  }
  .hero-title {
    font-size: clamp(34px, 8.5vw, 42px);
  }
  .hero-sub {
    font-size: 15.5px;
  }
  section {
    padding: 68px 16px;
  }
  footer {
    padding: 42px 12px 42px 14px;
  }
  .footer-brand h3 {
    font-size: 23px;
  }
  .footer-brand p {
    font-size: 11.5px;
  }
  .footer-meta {
    font-size: 11.5px;
    margin-left: -8px;
  }
  .footer-meta.footer-meta-large {
    font-size: 12.5px;
    margin-left: -8px;
  }
  .footer-links a {
    width: min(100%, 175px);
    font-size: 14.5px;
  }
  .footer-links a .social-icon {
    width: 31px;
    height: 31px;
  }
  .footer-links a .social-icon svg {
    width: 16.5px;
    height: 16.5px;
  }
  .whatsapp-float {
    width: 58px;
    height: 58px;
  }
  .whatsapp-float .whatsapp-icon {
    width: 32px;
    height: 32px;
  }
}

/* --- iPad Mini (768px) --- */
@media (max-width: 768px) and (min-width: 449px) {
  .hero-title {
    font-size: clamp(36px, 6vw, 52px);
  }
  .hero-sub {
    font-size: 16px;
  }
  section {
    padding: 80px 24px;
  }
  footer {
    padding: 48px 24px;
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- iPad Air (820px) --- */
@media (max-width: 820px) and (min-width: 769px) {
  .hero-title {
    font-size: clamp(40px, 5.5vw, 56px);
  }
  .hero-sub {
    font-size: 17px;
  }
  section {
    padding: 88px 28px;
  }
  footer {
    padding: 52px 28px;
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Laptop HD (1280px) --- */
@media (max-width: 1280px) and (min-width: 821px) {
  .hero-title {
    font-size: clamp(44px, 5vw, 64px);
  }
  section {
    padding: 110px 40px;
  }
  footer {
    padding: 64px 40px;
  }
}

/* --- Windows Laptop (1366px) --- */
@media (max-width: 1366px) and (min-width: 1281px) {
  .hero-title {
    font-size: clamp(48px, 4.8vw, 68px);
  }
  section {
    padding: 120px 48px;
  }
  footer {
    padding: 72px 48px;
  }
}

/* --- MacBook Air (1440px) --- */
@media (max-width: 1440px) and (min-width: 1367px) {
  .hero-title {
    font-size: clamp(52px, 4.5vw, 72px);
  }
  section {
    padding: 125px 56px;
  }
  footer {
    padding: 80px 56px;
  }
}

/* --- Desktop FHD (1920px) --- */
@media (max-width: 1920px) and (min-width: 1441px) {
  .hero-title {
    font-size: clamp(56px, 4vw, 80px);
  }
  section {
    padding: 130px 64px;
  }
  footer {
    padding: 88px 64px;
  }
}

/* --- 2K Monitor (2560px) --- */
@media (max-width: 2560px) and (min-width: 1921px) {
  .hero-title {
    font-size: clamp(64px, 3.5vw, 90px);
  }
  section {
    padding: 140px 80px;
  }
  footer {
    padding: 96px 80px;
  }
  .container {
    max-width: 1400px;
  }
}

/* --- 4K Monitor (3840px) --- */
@media (min-width: 2561px) {
  .hero-title {
    font-size: clamp(72px, 3vw, 100px);
  }
  section {
    padding: 160px 120px;
  }
  footer {
    padding: 112px 120px;
  }
  .container {
    max-width: 1600px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  h1.hero-title .word {
    transform: none !important;
  }
}

.whatsapp-float {
  position: fixed;
  right: 54px;
  bottom: 150px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 28px 60px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px rgba(0,0,0,.26);
}
.whatsapp-float .whatsapp-icon {
  width: 52px;
  height: 52px;
  display: block;
}

