/* M.M & CO. — navy & gold, built from reference/design-canvas-page.html
   with the contrast, accessibility and behaviour fixes from docs/design.md. */

:root {
  --navy: #0f2744;
  --navy2: #16355d;
  --gold: #c9a96a;
  --bg: #eef3fa;
  --surf: #fff;
  --tx: #1f2d3d;
  --tx2: #5b6472; /* darkened from design.md fix 1 for 4.5:1 contrast on --bg */
  --line: #dde5f0;
  --eyebrow: #7a5e24; /* darkened from #9a7a3a, design.md fix 1 */
  --footer-bg: #0a1c33;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--tx);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

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

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gu {
  font-family: 'Noto Sans Gujarati', 'Plus Jakarta Sans', sans-serif;
}

/* Focus visibility (design.md fix 5) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn-gold:focus-visible,
.sticky a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Buttons — min 44px tap target (design.md fix 6) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: inherit;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-line {
  background: transparent;
  color: var(--navy);
}
.btn-line.on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #dbe6f5;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar .left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}
.topbar svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  flex: none;
}

/* Header / nav */
header.nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
header.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  flex: none;
}
.logo b {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 20px;
  display: block;
  line-height: 1.1;
}
.logo small {
  font-size: 11px;
  color: var(--tx2);
  letter-spacing: 0.04em;
}
nav.links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 500;
}
nav.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
nav.links a:hover,
nav.links a:focus-visible {
  color: var(--gold);
}
.navright {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  font-size: 13px;
  color: var(--tx2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  cursor: pointer;
}
.lang b {
  color: var(--navy);
}
.lang[aria-pressed="true"] {
  background: var(--bg);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(201, 169, 106, 0.22), transparent 45%), var(--bg);
  padding: 72px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 52px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p.sub {
  font-size: 18px;
  color: var(--tx2);
  margin: 20px 0 28px;
  max-width: 560px;
}
.hero .gu-line {
  font-size: 16px;
  color: var(--navy);
  margin: -8px 0 26px;
  font-weight: 600;
}
.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.tags {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.tags span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

/* Enquiry card */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 39, 68, 0.12);
  padding: 30px;
  border-top: 4px solid var(--gold);
}
.card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.card p.s {
  color: var(--tx2);
  font-size: 14px;
  margin: 0 0 18px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 5px;
  color: var(--navy);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--tx);
  min-height: 44px;
}
textarea {
  min-height: 76px;
  resize: vertical;
}
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 6px;
}
.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  flex: none;
}
.consent-row label {
  margin: 0;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--tx);
}
.consent-row a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}
.card .btn {
  width: 100%;
  margin-top: 18px;
}
.note {
  font-size: 12px;
  color: var(--tx2);
  margin-top: 10px;
}

/* Honeypot: visually hidden but present for assistive tech to skip,
   NOT display:none per form-and-tracking.md */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.form-msg.show {
  display: block;
}
.form-msg.success {
  background: #e7f3ea;
  color: #205a2c;
  border: 1px solid #bfe1c8;
}
.form-msg.error {
  background: #fdeceb;
  color: #8a241b;
  border: 1px solid #f3c6c1;
}
.form-msg a {
  text-decoration: underline;
  font-weight: 700;
}
.field-error {
  color: #9a241b;
  font-size: 12.5px;
  margin-top: 4px;
  display: none;
}
.field-error.show {
  display: block;
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: #c0392b;
}

/* Trust strip */
.trust {
  background: var(--navy);
  color: #fff;
}
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trust div b {
  display: block;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}
.trust div span {
  font-size: 13.5px;
  color: #c7d5ea;
}

section {
  padding: 84px 0;
}
.head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.head h2 {
  font-size: 38px;
  margin-bottom: 14px;
}
.head p {
  color: var(--tx2);
  margin: 0;
}

/* Problem */
.problem {
  background: #fff;
}
.problem .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.problem h2 {
  font-size: 38px;
  margin-bottom: 16px;
}
.pains {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.pains li {
  background: var(--bg);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
}
.closing {
  margin-top: 20px;
  font-weight: 600;
  color: var(--navy);
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
@media (prefers-reduced-motion: no-preference) {
  .svc {
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .svc:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.1);
  }
}
.ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.ico svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc small {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: 700;
}
.svc h3 {
  font-size: 22px;
  margin: 4px 0 12px;
}
.svc ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--tx2);
  font-size: 14.5px;
  flex: 1;
}
.svc a.more {
  font-weight: 600;
  color: var(--navy);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.svc a.more:hover,
.svc a.more:focus-visible {
  color: var(--eyebrow);
}

/* CTA band */
.band {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.band h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 10px;
}
.band p {
  color: #c7d5ea;
  margin: 0 auto 26px;
  max-width: 560px;
}
.band .btns {
  justify-content: center;
}

/* Who we help */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  gap: 12px;
  align-items: center;
}
.who i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
}
.step .n {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
}
.step h3 {
  font-size: 20px;
  margin: 10px 0 8px;
}
.step p {
  margin: 0;
  color: var(--tx2);
  font-size: 14.5px;
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  padding: 26px;
  border-radius: 14px;
  background: #fff;
}
.why-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.why-item p {
  margin: 0;
  color: var(--tx2);
  font-size: 14.5px;
}

/* Latest updates */
.updates {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.updates h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.upd {
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  font-size: 14.5px;
}
.upd b {
  color: var(--eyebrow);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.review p {
  margin: 0 0 10px;
  color: var(--tx);
}
.review span {
  color: var(--tx2);
  font-size: 13.5px;
  font-weight: 600;
}

/* FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 22px;
}
summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  flex: none;
}
details[open] summary::after {
  content: "\2013";
}
details p {
  margin: 0 0 18px;
  color: var(--tx2);
  font-size: 15px;
}

/* Office photo */
.office-photo-wrap {
  display: flex;
  justify-content: center;
}
.office-photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.12);
}

/* Contact */
.contact {
  background: var(--navy);
  color: #fff;
}
.contact .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact h2 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 14px;
}
.contact p {
  color: #c7d5ea;
}
.clist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.clist li {
  display: flex;
  gap: 14px;
}
.clist b {
  color: var(--gold);
  min-width: 84px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
  flex: none;
}
.clist a {
  text-decoration: underline;
}
.map {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #c7d5ea;
  padding: 24px;
}
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 14px;
}
.directions {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: underline;
  color: var(--gold);
  font-weight: 600;
  min-height: 44px;
  align-items: center;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: #9fb2cc;
  padding: 48px 0 32px;
  font-size: 13.5px;
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
footer b {
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
footer a {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  min-height: 32px;
}
footer .disc {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 12.5px;
  line-height: 1.7;
}
footer .bottom {
  margin-top: 16px;
  font-size: 12px;
}

/* Sticky mobile call/WhatsApp bar — footer gets extra bottom padding so the
   bar never covers content (design.md fix 8) */
.sticky {
  display: none;
}

/* Floating WhatsApp (desktop only) */
.float-wa {
  display: none;
}
@media (min-width: 961px) {
  .float-wa.on {
    display: flex;
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1fae5a;
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 39, 68, 0.25);
    z-index: 25;
  }
  .float-wa svg {
    width: 28px;
    height: 28px;
    fill: #fff;
  }
}

@media (max-width: 960px) {
  nav.links {
    display: none;
  }
  nav.links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line);
  }
  nav.links.open a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .topbar .left a.email-item,
  .topbar .left a[href^="https://wa.me"] {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero .wrap,
  .problem .grid,
  .contact .grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
  .svc-grid,
  .why-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .who-grid,
  .steps,
  .trust .wrap {
    grid-template-columns: 1fr 1fr;
  }
  footer .cols {
    grid-template-columns: 1fr;
  }
  footer {
    padding-bottom: 96px;
  }
  .sticky {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
  }
  .sticky a {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-weight: 700;
    color: var(--navy);
    background: var(--gold);
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .sticky a + a {
    background: var(--navy);
    color: #fff;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }
  .svc-grid,
  .why-grid,
  .who-grid,
  .steps,
  .trust .wrap,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .head h2,
  .problem h2,
  .contact h2 {
    font-size: 30px;
  }
  .upd {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .navright .lang {
    display: none;
  }
  .logo small {
    display: none;
  }
  .navright .btn-gold {
    padding: 10px 14px;
    font-size: 13.5px;
  }
}
