
:root {
  --cream:        #FBF3E7;
  --cream-soft:   #F4E9D8;
  --ink:          #1E1610;
  --ink-soft:     #6B5D52;
  --terracotta:   #E2672B;
  --terracotta-d: #A8431B;
  --butter:       #F5E2C0;
  --sage:         #5F8A5B;
  --line:         rgba(30,22,16,0.10);
  --white:        #FFFDF9;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;
  --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-pill: 100px;
  --shadow: 0 8px 32px rgba(30,22,16,0.08);
  --lift:  0 20px 56px rgba(30,22,16,0.16);
  --ease:  cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--terracotta); color: #fff; }
:focus-visible { outline: 2.5px solid var(--terracotta-d); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 26px; }
section { position: relative; padding: 120px 0; overflow: hidden; }
@media (max-width: 768px) { section { padding: 80px 0; } }

/* ---- Typography ---- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.07; letter-spacing: -0.015em; }
em, .accent { font-style: italic; color: var(--terracotta-d); }
.eyebrow {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta-d); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 10px; }
.section-head p { margin-top: 14px; font-size: 1.04rem; color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.93rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 22px -6px rgba(226,103,43,.55); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(168,67,27,.5); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(30,22,16,.18); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: 100ms; }
[data-delay="2"] { transition-delay: 200ms; }
[data-delay="3"] { transition-delay: 320ms; }
[data-delay="4"] { transition-delay: 440ms; }

/* =========================================================  CURSOR + SCROLL PROGRESS  */
.cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; z-index: 4;
  background: radial-gradient(circle, rgba(226,103,43,.15) 0%, transparent 70%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .5s ease;
}
.cursor-dot {
  position: fixed; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta);
  pointer-events: none; z-index: 1001; transform: translate(-50%,-50%);
  opacity: 0; mix-blend-mode: multiply;
  transition: width .25s var(--ease), height .25s var(--ease), opacity .3s;
}
.cursor-dot.hover { width: 48px; height: 48px; background: rgba(226,103,43,.15); border: 1.5px solid var(--terracotta); }
@media (hover:none),(pointer:coarse) { .cursor-glow, .cursor-dot { display:none; } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--terracotta); z-index: 1002; width: 0; transition: width .1s linear; }

/* =========================================================  NAVBAR  */
.nav-wrap { position: fixed; top: 16px; left: 16px; right: 16px; z-index: 1000; display: flex; justify-content: center; pointer-events: none; }
.nav {
  pointer-events: auto; width: 100%; max-width: 1160px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 12px 11px 24px;
  background: rgba(251,243,231,.72); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(30,22,16,.08); border-radius: var(--r-pill);
  box-shadow: 0 8px 28px rgba(30,22,16,.06);
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled { background: rgba(251,243,231,.94); box-shadow: 0 12px 36px rgba(30,22,16,.12); }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; display: flex; align-items: center; gap: 5px; }
.nav-logo .dot { color: var(--terracotta); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left:0; bottom:-4px; width:0; height:2px; background:var(--terracotta); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 10px 18px; font-size: 0.86rem; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); align-items: center; justify-content: center; font-size: 1.1rem; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-burger { display: flex; } .nav-actions .btn-ghost { display: none; } }
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateY(-100%); transition: transform .55s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; }
.mobile-menu .close-btn { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* =========================================================  HERO  */
.hero { padding-top: 170px; padding-bottom: 80px; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); padding: 8px 20px;
  border-radius: var(--r-pill); font-size: 0.84rem; font-weight: 700;
  box-shadow: var(--shadow); margin-bottom: 28px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--sage); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(.6);opacity:1} 100%{transform:scale(2);opacity:0} }

.hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); max-width: 820px; margin: 0 auto; line-height: 1.04; }
.hero-sub { max-width: 500px; margin: 22px auto 0; font-size: 1.08rem; color: var(--ink-soft); }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-photo-section { position: relative; margin-top: 70px; }
.hero-photo-wrap { position: relative; width: 320px; margin: 0 auto; }
.hero-photo-glow {
  position: absolute; left: 50%; top: 54%; width: 420px; height: 420px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(226,103,43,.45) 0%, rgba(226,103,43,.16) 42%, transparent 70%);
  filter: blur(8px); z-index: 0; animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-49%) scale(1.06)} }
.hero-photo-container { position: relative; z-index: 1; }
.hero-photo {
  width: 100%; height: auto; display: block; margin: 0 auto;
  filter: grayscale(1) contrast(1.05);
  transition: filter .7s ease;
  /* transparent cutout: fade only the bottom (not a full-body shot), keep top untouched */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.55) 11%, #000 27%, #000 100%);
          mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.55) 11%, #000 27%, #000 100%);
}
.hero-photo-wrap:hover .hero-photo { filter: grayscale(0); }

/* Glass info badge, sits near the bottom of the cutout */
.hero-photo-badge {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  z-index: 3; width: 110%; padding: 13px 16px; text-align: center;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 9px;
  border-radius: var(--r-md);
  background: rgba(255,253,249,.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.55);
  /* feathered, no-hard-edge look */
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 100% 100% at center, #000 55%, transparent 100%);
}
.hero-photo-badge span { font-size: 0.72rem; font-weight: 800; color: var(--terracotta-d); white-space: nowrap; }
.hero-photo-badge .hpb-sep { color: rgba(168,67,27,.32); font-weight: 500; }
@media (max-width: 680px) {
  .hero { padding-top: 130px; }
  .hero-photo-wrap { width: 225px; }
  .hero-photo-badge { padding: 10px 12px; bottom: 0%; }
  .hero-photo-badge span { font-size: 0.65rem; }
}

.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.hero-stat { padding: 0 36px; border-right: 1px solid var(--line); text-align: center; }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; display: block; }
.hero-stat .lbl { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width:600px) { .hero-stat { padding:0 18px 18px; border-right:none; border-bottom:1px solid var(--line); width:50%; } }

/* decorative floating blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }

/* =========================================================  MARQUEE  */
.marquee-band { background: var(--ink); color: var(--cream); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: mleft 24s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; padding: 0 26px; }
.marquee-item .sep { color: var(--terracotta); margin-left: 26px; font-style: normal; }
@keyframes mleft { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =========================================================  ABOUT  */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
@media (max-width:880px) { .about-grid { grid-template-columns:1fr; gap:40px; } }
.about-visual { position: relative; background: var(--butter); border-radius: var(--r-lg); padding: 15px; overflow: hidden; }
.about-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; border-radius: var(--r-md); filter: grayscale(.1); }
.about-tag {z-index: 1; position: absolute; top: 24px; left: 24px; background: var(--ink); color: var(--cream); font-size: 0.78rem; font-weight: 800; padding: 8px 14px; border-radius: var(--r-pill); }
.about-copy > p { font-size: 1.03rem; color: var(--ink-soft); margin-bottom: 16px; }
.about-copy strong { color: var(--ink); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.fact-card { background: var(--cream-soft); border-radius: var(--r-md); padding: 18px 20px; transition: transform .35s var(--ease), background .3s; }
.fact-card:hover { transform: translateY(-4px); background: var(--butter); }
.fact-card h4 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.fact-card p { font-size: 0.88rem; color: var(--ink-soft); margin:0; }

/* =========================================================  PROJECTS  */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width:780px) { .project-grid { grid-template-columns:1fr; } }
.project-card { border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.project-card:hover { transform: translateY(-10px); box-shadow: var(--lift); }
.project-visual {
  height: 220px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.browser-chrome { width: 88%; max-width: 340px; }
.browser-bar { background: rgba(255,255,255,.2); backdrop-filter: blur(4px); border-radius: 8px 8px 0 0; padding: 8px 12px; display: flex; align-items: center; gap: 6px; }
.bc-dot { width: 7px; height: 7px; border-radius: 50%; }
.bc-url { flex: 1; background: rgba(255,255,255,.25); border-radius: 4px; height: 12px; margin-left: 6px; }
.browser-content { background: rgba(255,255,255,.18); border-radius: 0 0 8px 8px; height: 90px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px; }
.browser-content span { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,.85); font-weight: 600; text-align: center; }
.project-body { padding: 24px 26px 28px; }
.project-kicker { font-size: 0.76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-d); }
.project-body h3 { font-size: 1.35rem; margin: 8px 0 10px; }
.project-body p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 16px; }
.project-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 0.78rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); background: var(--cream-soft); color: var(--ink-soft); }
.project-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 0.88rem; color: var(--ink); }
.project-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.project-card:hover .project-link svg { transform: translate(3px,-3px); }

/* =========================================================  DESKFLO CALLOUT  */
.deskflo-band {
  background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 60px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
@media (max-width:780px) { .deskflo-band { grid-template-columns:1fr; padding:36px 26px; gap:24px; } }
.deskflo-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(226,103,43,.2); border: 1px solid rgba(226,103,43,.4); padding: 7px 16px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 800; color: var(--terracotta); margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase; }
.deskflo-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--cream); margin-bottom: 14px; }
.deskflo-band p { color: rgba(251,243,231,.68); font-size: 1rem; max-width: 520px; }
.deskflo-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.deskflo-visual { width: 220px; height: 160px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-display); font-style: italic; font-size: 1.8rem; color: var(--terracotta); }
@media (max-width:780px) { .deskflo-visual { display:none; } }

/* =========================================================  SKILLS / SERVICES  */
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width:800px) { .skills-grid { grid-template-columns:1fr; } }
.skill-card { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 30px; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.skill-card:hover { transform: translateY(-7px); box-shadow: var(--lift); border-color: transparent; }
.skill-icon { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--cream-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.4rem; }
.skill-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.skill-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }
.skill-card p.small-note { font-size: 0.85rem; margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; margin-top: 4px; }
.projects-more { text-align: center; margin-top: 44px; }

/* =========================================================  PRICING  */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
@media (max-width:960px) { .pricing-grid { grid-template-columns:1fr; max-width:460px; margin:0 auto; } }
.price-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 36px 30px; display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--lift); }
.price-card.featured { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: scale(1.04); }
.price-card.featured:hover { transform: scale(1.04) translateY(-8px); }
.price-badge { position: absolute; top: -13px; left: 28px; background: var(--terracotta); color: #fff; font-size: 0.74rem; font-weight: 800; padding: 5px 14px; border-radius: var(--r-pill); letter-spacing: .04em; }
.price-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 800; }
.price-desc { font-size: 0.88rem; color: var(--ink-soft); margin-top: 5px; }
.price-card.featured .price-desc { color: rgba(251,243,231,.6); }
.price-amount { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; margin: 20px 0 2px; }
.price-amount .sup { font-size: 1.1rem; font-weight: 500; font-family: var(--font-body); vertical-align: super; }
.price-amount .sub { font-size: 0.95rem; font-weight: 500; font-family: var(--font-body); color: var(--ink-soft); }
.price-card.featured .price-amount .sub { color: rgba(251,243,231,.55); }
.price-note { font-size: 0.8rem; font-weight: 800; color: var(--terracotta-d); margin-bottom: 22px; }
.price-card.featured .price-note { color: var(--terracotta); }
.price-desc-strong { font-size: 0.88rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.feat-list { flex: 1; margin-bottom: 26px; }
.feat-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--ink-soft); padding: 7px 0; border-bottom: 1px solid var(--line); }
.price-card.featured .feat-list li { color: rgba(251,243,231,.72); border-color: rgba(251,243,231,.1); }
.feat-list li:last-child { border: none; }
.feat-list li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; stroke: var(--terracotta-d); }
.price-card.featured .feat-list li svg { stroke: var(--terracotta); }

.pay-flow { max-width: 740px; margin: 56px auto 0; background: var(--butter); border-radius: var(--r-lg); padding: 32px 28px; text-align: center; }
.pay-flow h4 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.pay-flow p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 20px; }
.pay-steps { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ps { background: var(--white); padding: 9px 16px; border-radius: var(--r-pill); font-size: 0.83rem; font-weight: 700; }
.ps-arr { color: var(--terracotta-d); font-weight: 800; padding: 0 4px; }

/* =========================================================  CONTACT  */
.contact-box { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width:860px) { .contact-box { grid-template-columns:1fr; padding:36px 24px; gap:36px; } }
.contact-box h2 { color: var(--cream); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.contact-box > div > p { color: rgba(251,243,231,.68); margin-top: 14px; }
.contact-links { margin-top: 28px; display: flex; flex-direction: column; gap: 0; }
.contact-links a { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.95rem; padding: 14px 0; border-bottom: 1px solid rgba(251,243,231,.1); transition: gap .3s var(--ease), color .25s; }
.contact-links a:hover { gap: 18px; color: var(--terracotta); }
.contact-links svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 700; margin-bottom: 6px; color: rgba(251,243,231,.72); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: rgba(251,243,231,.07); border: 1px solid rgba(251,243,231,.15);
  border-radius: var(--r-sm); padding: 13px 16px; color: var(--cream); transition: border-color .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(251,243,231,.3); }
.form-group select option { color: var(--ink); background: var(--cream); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--terracotta); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width:480px) { .form-row { grid-template-columns:1fr; } }
.form-note { font-size: 0.78rem; color: rgba(251,243,231,.4); margin-top: 10px; }

/* =========================================================  FOOTER  */
footer { padding: 40px 0 28px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.footer-logo .dot { color: var(--terracotta); }
.footer-links { display: flex;  gap: 20px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover { color: var(--terracotta-d); }
.footer-copy { font-size: 0.82rem; color: var(--ink-soft); width: 100%; text-align: center; margin-top: 4px; }

/* =========================================================  TOAST  */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: var(--cream); padding: 13px 24px; border-radius: var(--r-pill); font-size: 0.88rem; font-weight: 700; z-index: 9999; transition: transform .5s var(--ease); box-shadow: var(--lift); pointer-events: none; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================  CHECKOUT PAGE  */
.page-hero { padding: 160px 0 40px; text-align: center; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(1.9rem,4vw,2.9rem); }
.page-hero p { color: var(--ink-soft); margin-top: 12px; font-size: 1rem; }
.steps-bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 32px 0; }
.step-item { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 700; color: var(--ink-soft); }
.step-circle { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; transition: all .3s; }
.step-item.active .step-circle { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.step-item.done .step-circle { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.step-item.active, .step-item.done { color: var(--ink); }
.step-line { width: 48px; height: 2px; background: var(--line); transition: background .3s; }
.step-line.done { background: var(--ink); }
.checkout-wrap { max-width: 920px; margin: 0 auto; padding: 0 26px 120px; }
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.85fr; gap: 26px; align-items: start; }
@media (max-width:780px) { .checkout-grid { grid-template-columns:1fr; } }
.panel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.panel-card h3 { font-size: 1.25rem; margin-bottom: 20px; }
.summary-card { background: var(--ink); color: var(--cream); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 110px; }
.summary-kicker { font-size: 0.78rem; font-weight: 700; color: rgba(251,243,231,.55); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.summary-plan { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 9px 0; border-bottom: 1px solid rgba(251,243,231,.1); }
.summary-row:last-of-type { border: none; }
.summary-row .muted { color: rgba(251,243,231,.55); }
.summary-total { font-weight: 800; font-size: 1.04rem; }
.pay-now-box { margin-top: 18px; background: rgba(226,103,43,.15); border: 1px solid rgba(226,103,43,.4); border-radius: var(--r-md); padding: 16px 18px; }
.pay-now-amount { font-family: var(--font-display); font-size: 2.2rem; color: var(--terracotta); }
.pay-now-label { font-size: 0.78rem; color: rgba(251,243,231,.65); margin-top: 2px; }
.pkg-select-card { border: 1.5px solid transparent; border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 12px; cursor: pointer; transition: border-color .25s, background .25s; overflow: hidden; }

.pkg-select-card.selected { border-color: transparent; }
.pkg-select-card input[type=radio] { accent-color: var(--terracotta); flex-shrink: 0; }
.pkg-header { display: flex; align-items: center; gap: 8px 12px; margin-bottom: 6px; flex-wrap: wrap; }
.pkg-name { font-weight: 800; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.pkg-price { font-family: var(--font-display); font-size: 1.2rem; margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.pkg-desc { font-size: 0.86rem; color: var(--ink-soft); margin-left: 20px; }
@media (max-width: 420px) {
  .pkg-select-card { padding: 16px; }
  .pkg-price { margin-left: 0; }
  .pkg-desc { margin-left: 0; margin-top: 2px; }
}
.upi-row { display: flex; align-items: center; justify-content: space-between; background: var(--cream-soft); border-radius: var(--r-md); padding: 14px 18px; margin-top: 16px; gap: 10px; flex-wrap: wrap; }
.upi-row code { font-weight: 800; font-size: 0.95rem; }
.copy-btn { font-size: 0.8rem; font-weight: 800; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: var(--r-pill); }
.pay-btn-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; text-align: center; }
.pay-btn-wrap small { color: var(--ink-soft); font-size: 0.8rem; }
.success-wrap { text-align: center; padding: 20px 0; }
.success-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon svg { width: 30px; height: 30px; }
.success-wrap h3 { font-size: 1.8rem; margin-bottom: 12px; }
.success-wrap p { color: var(--ink-soft); max-width: 400px; margin: 0 auto 24px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 512px) {
  /* Hides the Book Now button entirely on mobile screens */
  .nav-actions .btn-primary{
    display: none !important;
  }
}