/* =========================================================
   MyMo Chennai — Design tokens
   Palette: navy-950 #0b1c3d (authority) / navy-800 #142b52 (gradient)
            gold-500 #c9a227 (accent, CTAs) / gold-300 #e4c766 (highlight)
            ink-700 #232b38 (body text) / slate-500 #5c6675 (muted)
            paper-50 #f6f7fa (section alt) / white #ffffff
   Type:    Sora (display/headings) + Inter (body/UI) + Inter for eyebrows (tracked caps)
   Signature: the "MM" chevron mark + a repeating angled divider between
              sections, standing in for the brand's sense of momentum.
   ========================================================= */

:root {
  --navy-950: #0b1c3d;
  --navy-800: #142b52;
  --navy-700: #1c3a6b;
  --gold-500: #c9a227;
  --gold-300: #e4c766;
  --ink-700: #232b38;
  --slate-500: #5c6675;
  --slate-300: #9aa4b2;
  --paper-50: #f6f7fa;
  --paper-100: #eef1f6;
  --white: #ffffff;
  --border: #e3e7ee;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(11, 28, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 28, 61, 0.12);
  --shadow-gold: 0 10px 24px rgba(201, 162, 39, 0.28);

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { color: var(--slate-500); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container-xl {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
}

.bg-paper { background: var(--paper-50); }
.bg-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #dfe6f2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #b9c3d6; }

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { box-shadow: 0 14px 30px rgba(201, 162, 39, 0.4); color: var(--navy-950); }
.btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-navy {
  background: var(--navy-950);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-950);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; color: var(--slate-500); letter-spacing: 0.04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy-950); }
.nav-links a.btn::after { display: none; }
.nav-links li:last-child { margin-left: 4px; }
@media (min-width: 941px) {
  .nav-links li:last-child { margin-top: 0 !important; border-bottom: none; }
  .nav-links a.btn { padding: 11px 22px !important; }
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-950);
}
.nav-phone svg { width: 18px; height: 18px; color: var(--gold-500); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-950);
  position: relative;
  transition: all 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 66px 0 0 0; background: var(--white); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 28px 24px; gap: 4px; transform: translateX(100%); transition: transform 0.28s ease; overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 130px;
}
.hero-mark {
  position: absolute;
  right: -60px;
  top: -80px;
  width: 480px;
  height: 480px;
  opacity: 0.08;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero p.lead {
  color: #c4cede;
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }
.hero-trust span { font-size: 0.8rem; color: #9fabc2; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 18px; }
.hero-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.hero-check svg { width: 20px; height: 20px; color: var(--gold-300); flex-shrink: 0; margin-top: 2px; }
.hero-check p { margin: 0; color: #d3dae7; font-size: 0.92rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 90px; text-align: left; }
  .hero-trust { gap: 22px; }
}

/* Angled divider — signature transition device */
.angle-divider {
  position: relative;
  height: 64px;
  margin-top: -64px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media (max-width: 700px) {
  .angle-divider { height: 36px; margin-top: -36px; }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -70px;
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 20px;
}
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy-950); }
.stat span { font-size: 0.82rem; color: var(--slate-500); font-weight: 600; }
@media (max-width: 760px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -46px; }
}

/* ---------- Service cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--gold-300); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.93rem; margin-bottom: 16px; }
.card-link { font-weight: 700; font-size: 0.85rem; color: var(--navy-950); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Process (real sequence — numbered legitimately) ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 22px 0 0; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--paper-100);
  -webkit-text-stroke: 1.5px var(--gold-500);
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px; right: -13px;
  width: 24px; height: 1px;
  background: var(--border);
  display: none;
}
@media (min-width: 761px) {
  .process-step:not(:last-child)::after { display: block; }
}
@media (max-width: 760px) {
  .process-row { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}

/* ---------- Why us / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: none; }
.check-list svg { width: 22px; height: 22px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.check-list strong { display: block; color: var(--navy-950); font-size: 0.98rem; margin-bottom: 2px; }
.check-list p { margin: 0; font-size: 0.88rem; }

.panel-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-950), var(--navy-700));
  padding: 44px 34px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.panel-visual .mark { position: absolute; opacity: 0.08; right: -30px; bottom: -30px; width: 220px; height: 220px; }
.panel-visual h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 14px; }
.panel-visual p { color: #c4cede; font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-banner p { color: #c4cede; margin: 0; }

/* ---------- Forms ---------- */
.form-control-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--navy-950); margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-700);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.14);
}
.field-error { color: #c0392b; font-size: 0.8rem; margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 24px; }
.alert-success { background: #e9f8ef; color: #1b7a3d; border: 1px solid #bfe8cf; }
.alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f6c7c2; }

/* ---------- Contact info cards ---------- */
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--paper-100); display: flex; align-items: center; justify-content: center;
}
.contact-info-item .ic svg { width: 22px; height: 22px; color: var(--navy-950); }
.contact-info-item strong { display: block; color: var(--navy-950); margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { font-size: 0.92rem; margin: 0; color: var(--slate-500); }
.contact-info-item a:hover { color: var(--navy-950); }

.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aab5c8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.9rem; color: #aab5c8; }
.footer-links a:hover { color: var(--gold-300); }
.footer-brand p { color: #8792a8; font-size: 0.9rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #7c869c;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: var(--white); }

/* Breadcrumb / page header */
.page-hero {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 64px 0 88px;
  position: relative;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: #c4cede; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: #9fabc2; margin-bottom: 18px; }
.breadcrumb a { color: #c4cede; }
.breadcrumb a:hover { color: var(--gold-300); }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
