*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette from logo */
  --red:        #C8102E;
  --red-hover:  #a80d26;
  --red-pale:   #fdf2f4;
  --red-mid:    #f0c4cb;

  --ink:        #111214;
  --near-black: #1a1c20;
  --steel:      #4a4d57;
  --muted:      #7a7d8a;
  --light-gray: #e8e9ed;
  --off-white:  #f5f5f7;
  --white:      #ffffff;

  /* Typography */
  --line: #e2e3e8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 44px; }

/* ── Animations ── */
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { width: 0; }
  to   { width: 52px; }
}

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  animation: navSlide .5s cubic-bezier(.16,1,.3,1) both;
}
header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
}

nav {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 62px;
}

/* ── Logo ── */
.logo-wrap {
  display: flex; align-items: center; gap: 0;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  height: 60px; /* choose desired size */
  width: auto;
}
.logo-text {
  display: flex; flex-direction: column;
  padding-left: 12px; gap: 0; line-height: 1;
}
.logo-maitri {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--ink); letter-spacing: .5px;
}
.logo-associates {
  font-family: 'Inter', sans-serif;
  font-size: .58rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--steel); margin-top: 2px;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--steel);
  text-decoration: none; position: relative;
  transition: color .2s; letter-spacing: .2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--red);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-block; padding: 9px 22px;
  font-family: 'Inter', sans-serif; font-size: .8rem;
  font-weight: 600; border-radius: 3px; cursor: pointer;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background .2s, border-color .2s, transform .12s, box-shadow .2s;
  letter-spacing: .3px;
}
.btn:active { transform: scale(.98); }
.btn-red  { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover  { background: var(--red-hover); box-shadow: 0 3px 16px rgba(200,16,46,.3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--light-gray); }
.btn-outline:hover { border-color: var(--ink); background: var(--off-white); }

.ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.ham span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: all .25s;
}

.mob {
  display: none; position: fixed; inset: 0;
  background: var(--white); z-index: 99;
  flex-direction: column; align-items: center;
  justify-content: center; gap: 28px;
  opacity: 0; transition: opacity .2s;
}
.mob.open { display: flex; }
.mob.visible { opacity: 1; }
.mob-x {
  position: absolute; top: 20px; right: 22px;
  background: none; border: none; font-size: 1.3rem;
  color: var(--ink); cursor: pointer; padding: 6px; line-height: 1;
}
.mob a {
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  text-decoration: none; transition: color .2s;
}
.mob a:hover { color: var(--red); }

/* ── Hero ── */
.hero {
  padding: 40px 0 88px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: relative; overflow: hidden;
}
/* Decorative red rule left-accent */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .4s ease .1s both;
}
.hero-eyebrow-line {
  width: 0; height: 1.5px; background: var(--red);
  animation: slideRight .6s ease .25s both;
}
.hero-eyebrow-text {
  font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--red);
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -.5px; color: var(--ink);
  max-width: 820px; margin-bottom: 26px;
  opacity: 0; animation: fadeUp .6s ease .2s both;
}
.hero h1 em {
  font-style: italic; color: var(--red);
}

.hero-sub {
  font-size: 1rem; color: var(--steel);
  max-width: 520px; line-height: 1.8; font-weight: 400;
  margin-bottom: 40px;
  opacity: 0; animation: fadeUp .55s ease .35s both;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 72px;
  opacity: 0; animation: fadeUp .5s ease .45s both;
}

.hero-meta {
  display: flex; gap: 0; padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0; animation: fadeUp .5s ease .58s both;
}
.hm { padding-right: 44px; margin-right: 44px; border-right: 1px solid var(--line); }
.hm:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hm-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem; font-weight: 700; color: var(--red);
  letter-spacing: -1px; line-height: 1; margin-bottom: 5px;
}
.hm-lbl { font-size: .7rem; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }

/* ── Sections ── */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }

.sec-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.sec-eyebrow-rule { width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.sec-label {
  font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: var(--red);
}
.sec-h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem; font-weight: 700; letter-spacing: -.3px;
  color: var(--ink); line-height: 1.2; margin-bottom: 16px;
}
.sec-p { font-size: .9rem; color: var(--steel); line-height: 1.8; margin-bottom: 12px; }

/* ── Service categories ── */
.cat { margin-bottom: 52px; }
.cat:last-child { margin-bottom: 0; }

.cat-head {
  display: flex; align-items: center; gap: 14px;
  font-size: .65rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: var(--steel);
  margin-bottom: 1px; padding-bottom: 12px; position: relative;
}
.cat-head::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0; background: var(--line);
  transition: width .7s cubic-bezier(.16,1,.3,1);
}
.cat-head.drawn::after { width: 100%; }
.cat-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: .6rem; font-weight: 700; letter-spacing: 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  transition: background .18s, opacity .38s ease, transform .38s ease,
              border-left .15s, padding-left .15s;
}
.svc.in { opacity: 1; transform: translateY(0); }
.svc.in:hover {
  background: var(--red-pale);
  border-left: 2.5px solid var(--red);
  padding-left: 21.5px;
  transform: none;
}

.svc-n { font-size: .62rem; color: var(--red); font-weight: 700; letter-spacing: .5px; margin-bottom: 5px; }
.svc-name { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; transition: color .18s; }
.svc.in:hover .svc-name { color: var(--red); }
.svc-desc { font-size: .79rem; color: var(--steel); line-height: 1.6; }

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.fi-l {
  opacity: 0; transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.fi-r {
  opacity: 0; transform: translateX(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.fi-l.in, .fi-r.in { opacity: 1; transform: none; }

.fi {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.fi.in { opacity: 1; transform: none; }

.feat-list { list-style: none; margin-top: 8px; }
.feat-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .875rem; color: var(--near-black);
  padding: 13px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(-12px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1), padding-left .18s;
}
.feat-list li:first-child { border-top: 1px solid var(--line); }
.feat-list li.in { opacity: 1; transform: none; }
.feat-list li:hover { padding-left: 5px; }
.feat-check {
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feat-check svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.5; }

/* ── About bg ── */
#about { background: var(--off-white); }

/* About image */
.about-image { width: 100%; max-width: 420px; border-radius: 8px; display: block; margin: 0 auto; }

/* ── Contact ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.contact-detail { display: flex; gap: 12px; font-size: .85rem; margin-bottom: 10px; }
.cd-lbl {
  color: var(--red); min-width: 60px; font-size: .68rem;
  padding-top: 2px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; flex-shrink: 0;
}
.cd-val { color: var(--near-black); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .75rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; letter-spacing: .2px; }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 10px 14px;
  font-family: 'Inter', sans-serif; font-size: .875rem;
  color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 3px;
  outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.07);
}
.field input::placeholder,
.field textarea::placeholder { color: #bbbbc4; }
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23909090' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-btn {
  width: 100%; padding: 12px;
  font-family: 'Inter', sans-serif; font-size: .875rem; font-weight: 600;
  background: var(--red); color: #fff;
  border: 1.5px solid var(--red); border-radius: 3px;
  cursor: pointer; margin-top: 4px; letter-spacing: .3px;
  transition: background .2s, transform .12s, box-shadow .2s;
}
.form-btn:hover { background: var(--red-hover); box-shadow: 0 3px 16px rgba(200,16,46,.3); }
.form-btn:active { transform: scale(.99); }
.form-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.form-ok { display: none; text-align: center; padding: 52px 20px; }
.form-ok.show { display: block; animation: fadeUp .45s ease both; }
.form-ok-icon {
  width: 52px; height: 52px; background: var(--red);
  border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.form-ok p:first-of-type { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-ok p:last-of-type { font-size: .83rem; color: var(--steel); }

/* ── Footer ── */
footer { background: var(--ink); padding: 56px 0 28px; }
.ft-top {
  display: flex; justify-content: space-between; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 24px; align-items: flex-start;
}
.ft-map {
  flex: 1 1 320px;
  max-width: 420px;
}
.ft-map h4 {
  font-size: .62rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.28); margin-bottom: 16px;
}
.ft-map-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.ft-map-frame iframe {
  display: block;
  width: 100%;
  height: 210px;
  border: 0;
  filter: saturate(.9) contrast(1.05);
}
.ft-map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: .76rem;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  transition: color .2s;
}
.ft-map-link:hover { color: rgba(255,255,255,.94); }
.ft-logo-wrap {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.ft-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-address{
    font-size: small;
    color: rgba(255, 255, 255, 0.792);
}
.ft-logo-icon img {
  height: 60px;
  width: auto;
}
.ft-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 700; color: #fff;
}
.ft-brand-name span { color: var(--red); font-style: italic; }
.ft-tagline { font-size: .75rem; color: rgba(255,255,255,.32); line-height: 1.7; max-width: 260px; }
.ft-cols { display: flex; gap: 56px; flex-shrink: 0; }
.ft-col h4 {
  font-size: .62rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.28); margin-bottom: 16px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col a {
  font-size: .78rem; color: rgba(255,255,255,.48);
  text-decoration: none; position: relative; transition: color .2s;
}
.ft-col a::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: var(--red);
  transition: width .25s ease;
}
.ft-col a:hover { color: rgba(255,255,255,.92); }
.ft-col a:hover::after { width: 100%; }
.ft-bot { display: flex; justify-content: space-between; align-items: center; }
.ft-copy { font-size: .72rem; color: rgba(255,255,255,.2); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .nav-links, .nav-right { display: none; }
  .ham { display: flex; }
  .logo-icon { width: auto; height: auto; } /* remove fixed box */
  .logo-icon img { height: 48px; width: auto; } /* slightly smaller but visible */
  .logo-text .logo-maitri { font-size: .95rem; }
  .logo-text .logo-associates { font-size: .54rem; }
  .two-col, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 2.4rem; }
  .hero::before { width: 3px; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .hm { border-right: none; padding-right: 0; margin-right: 0; }
  .ft-top { flex-direction: column; }
  .ft-map { max-width: none; width: 100%; }
  .ft-map-frame iframe { height: 240px; }
  .ft-cols { flex-wrap: wrap; gap: 32px; }
  .fi-l, .fi-r { transform: translateY(14px); }
  .fi-l.in, .fi-r.in { transform: none; }
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 52px; }
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ft-bot { flex-direction: column; gap: 8px; text-align: center; }
}