/* ============================================================
   TATVA PHYSIOTHERAPY — premium static stylesheet
   Palette: deep medical blue, white, soft grey
   Type:    Instrument Serif (display) + Manrope (text)
   ============================================================ */

:root {
  --ink: #0B2A3F;          /* deep medical blue (primary text & buttons) */
  --ink-2: #143E5A;        /* slightly lighter blue */
  --ink-3: #1F6E8C;        /* mid blue / accents */
  --paper: #FBFBF9;        /* warm off-white */
  --paper-2: #F4F4F0;      /* warm soft grey */
  --bone: #ECEAE3;         /* warm beige-grey */
  --line: #E1E2DE;         /* soft border */
  --muted: #6C7480;        /* secondary text */
  --soft: #DCE6EE;         /* very soft blue accent */
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(11, 42, 63, 0.05);
  --shadow-md: 0 12px 32px -10px rgba(11, 42, 63, 0.18);
  --shadow-lg: 0 28px 60px -20px rgba(11, 42, 63, 0.28);
  --ease: cubic-bezier(.2,.7,.2,1);

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--ink); color: var(--paper); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  color: var(--ink-3);
  font-family: 'Instrument Serif', Georgia, serif;
}
.h-display {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h-display em { font-style: italic; color: var(--ink-3); }
.h-display--light { color: var(--paper); }
.h-display--light em { color: var(--soft); }

.lede {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 56ch;
  margin-top: 1.5rem;
  font-weight: 400;
}
.prose {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
  margin-top: 1.25rem;
}
.prose--light { color: rgba(255,255,255,.72); }

.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-3);
  display: inline-block;
}
.eyebrow--light { color: var(--soft); }
.eyebrow--light .eyebrow__dot { background: var(--soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn i { font-size: 1.05rem; }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--paper);
  color: var(--ink);
}
.btn--white:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  margin-top: 1.5rem;
  transition: all .25s var(--ease);
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow:hover { color: var(--ink-3); border-color: var(--ink-3); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 249, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 251, 249, 0.92);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: opacity .25s var(--ease);
}
.brand:hover { opacity: .85; }
.brand__mark {
  width: 52px; height: 52px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.85rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand__sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-pill);
  transition: all .2s var(--ease);
  position: relative;
}
.nav__link:hover { background: var(--paper-2); }
.nav__link.is-active {
  background: var(--ink);
  color: var(--paper);
}

.nav__cta { padding: 12px 20px; font-size: 0.88rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(31, 110, 140, 0.06), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(11, 42, 63, 0.04), transparent 50%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .display { margin-top: 1.5rem; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.25rem;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.meta__item { display: flex; flex-direction: column; gap: 4px; }
.meta__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.meta__label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.meta__divider {
  width: 1px; height: 32px;
  background: var(--line);
}

.hero__visual {
  position: relative;
}
.hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero__image:hover img { transform: scale(1.03); }
.hero__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}
.hero__badge i {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.95rem;
}
.hero__badge strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero__badge span {
  font-size: 0.75rem;
  color: var(--muted);
}
.hero__chip {
  position: absolute;
  top: -10px; right: -10px;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 260px;
  animation: floaty 5s ease-in-out infinite;
}
.hero__chip i {
  width: 38px; height: 38px;
  background: var(--soft);
  color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero__chip span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__chip small {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.hero__scroll span {
  width: 1px; height: 36px;
  background: var(--ink);
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}
.hero__scroll small {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: var(--paper-2);
}
.trust__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust__item i { color: var(--ink-3); font-size: 1rem; }

/* ============================================================
   About
   ============================================================ */
.about {
  padding: clamp(72px, 11vw, 140px) 0;
}
.about--page { padding-top: clamp(40px, 6vw, 80px); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about__signature {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sig__line {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}
.sig__role {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.about__copy .h-display { margin-top: 1.25rem; }

.feature-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all .3s var(--ease);
}
.feature:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.feature p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ============================================================
   Services
   ============================================================ */
.services {
  padding: clamp(72px, 11vw, 140px) 0;
  background: var(--paper-2);
}
.services--page { background: var(--paper); padding-top: clamp(40px, 6vw, 80px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .prose { margin-left: auto; margin-right: auto; }
.section-head .h-display { margin-top: 1.25rem; }
.section-head__desc { margin-top: 1.25rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: all .35s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 3px;
  background: var(--ink);
  transition: width .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { width: 100%; }
.service-card__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.service-card__icon {
  display: block;
  width: 52px; height: 52px;
  background: var(--soft);
  color: var(--ink);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  transition: all .35s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--ink);
  color: var(--paper);
}
.service-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}
.service-card--detailed { padding: 36px 30px 32px; }

.services__footer {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* ============================================================
   Why choose
   ============================================================ */
.why {
  padding: clamp(72px, 11vw, 140px) 0;
  background: var(--ink);
  color: var(--paper);
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why__head .h-display { margin-top: 1.25rem; }
.why__head .btn { margin-top: 2.25rem; }

.why__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all .3s var(--ease);
}
.why__list li:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  transform: translateX(4px);
}
.why__list li i {
  width: 32px; height: 32px;
  background: var(--soft);
  color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why__list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.why__list li span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(31, 110, 140, 0.08), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  text-align: center;
  position: relative;
}
.cta__inner .h-display { margin: 1.5rem 0 0; }
.cta__inner .prose { margin: 1.5rem auto 0; max-width: 56ch; }
.cta__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.5rem;
}

/* ============================================================
   Page hero (about/services/contact)
   ============================================================ */
.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  max-width: 760px;
}
.page-hero .display { margin-top: 1.5rem; }
.page-hero .lede { margin-top: 1.75rem; max-width: 60ch; }

/* ============================================================
   Values (about page)
   ============================================================ */
.values {
  padding: clamp(72px, 11vw, 140px) 0;
  background: var(--paper-2);
}
.values .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 3rem;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
.value-card__num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-3);
  display: block;
  margin-bottom: 1.5rem;
}
.value-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.value-card p {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-section { padding: clamp(56px, 9vw, 104px) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info .h-display { margin-bottom: 2rem; }
.contact-block {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-block:last-of-type { border-bottom: 0; }
.contact-block__icon {
  width: 44px; height: 44px;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-block__label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-block p {
  font-size: 1rem;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.6;
}
.contact-block p a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-block p a:hover { border-bottom-color: var(--ink); }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.form-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.4rem 0 1.75rem;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all .25s var(--ease);
  outline: none;
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(11,42,63,0.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   Map
   ============================================================ */
.map-section { padding: clamp(56px, 9vw, 104px) 0; background: var(--paper-2); }
.map-frame {
  margin-top: 2.5rem;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.map-frame iframe { width: 100%; height: 100%; display: block; }
.map-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: clamp(56px, 8vw, 88px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .brand__mark {
  background: var(--paper);
  color: var(--ink);
}
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__sub { color: rgba(255,255,255,0.5); }
.footer__tagline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--paper);
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}
.footer__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 42ch;
}

.footer__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  transition: color .2s;
}
.footer__links a:hover { color: var(--paper); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.92rem;
}
.footer__contact a, .footer__contact span {
  color: rgba(255,255,255,0.72);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer__contact i {
  color: var(--soft);
  font-size: 0.95rem;
  margin-top: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer__bottom span { color: rgba(255,255,255,0.55); }
.footer__bottom em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: var(--soft);
}

/* ============================================================
   Floating action buttons
   ============================================================ */
.fab {
  position: fixed;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  z-index: 40;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab--wa {
  right: 24px;
  bottom: 24px;
  background: #25D366;
  color: #fff;
}
.fab--call {
  right: 24px;
  bottom: 92px;
  background: var(--ink);
  color: var(--paper);
  display: none;
}
.fab--wa::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: .5;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid,
  .about__grid,
  .why__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .about__visual { max-width: 520px; margin: 0 auto; aspect-ratio: 4/4; }
  .hero__scroll { display: none; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 80px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__link { width: 100%; text-align: left; padding: 12px 16px; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .brand__mark { width: 44px; height: 44px; font-size: 1.55rem; border-radius: 12px; }
  .brand__name { font-size: 1.55rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.18em; }

  .fab--call { display: grid; }
  .fab--wa { width: 52px; height: 52px; font-size: 1.35rem; right: 16px; bottom: 16px; }
  .fab--call { width: 52px; height: 52px; font-size: 1.2rem; right: 16px; bottom: 80px; }

  .hero__chip { display: none; }
  .hero__meta { gap: 16px; }
  .meta__divider { display: none; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .trust__row { justify-content: flex-start; gap: 16px; }
  .trust__item { font-size: 0.82rem; }
}

/* Hide Emergent badge (preview env) */
#emergent-badge { display: none !important; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
