/* ============================================================
   Pet Namastê — Centro de Reabilitação e Fisioterapia Veterinária
   Paleta extraída do logotipo:
   roxo principal, roxo profundo, creme, marrom quente, verde-água
   ============================================================ */

:root{
  --purple:        #9C63A7;
  --purple-dark:   #6B3A7A;
  --purple-deep:   #452154;
  --purple-light:  #E4D3EA;
  --purple-pale:   #F7F1F8;
  --cream:         #FBF6EC;
  --brown:         #8A6D4E;
  --teal:          #6FA8A3;
  --teal-light:    #BFDEDA;
  --pink:          #E0729A;
  --pink-dark:     #C24B79;
  --pink-deep:     #8C2F56;
  --pink-light:    #F6D6E3;
  --pink-pale:     #FDF1F5;
  --white:         #FFFFFF;
  --ink:           #3A2E42;
  --ink-soft:      #6b5f74;

  --font-head: 'Playfair Display', serif;
  --font-body: 'Quicksand', sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -20px rgba(107,58,122,0.28);
  --shadow-card: 0 12px 30px -14px rgba(107,58,122,0.22);
  --container: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body{ max-width: 100%; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family: var(--font-head); color: var(--purple-deep); margin:0; line-height:1.2; }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
.icon, svg use{ fill: currentColor; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-block;
  font-family: var(--font-body);
  font-weight:700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title{ font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 16px; }
.section-subtitle{ color: var(--ink-soft); font-size:1.05rem; max-width:640px; }
.section-subtitle--muted{ font-size:.85rem; font-style:italic; opacity:.75; }
.section-head{ text-align:center; max-width:680px; margin: 0 auto 52px; }
.section-head--light .section-title{ color: var(--white); }
.section-head--light .section-subtitle{ color: rgba(255,255,255,.82); }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight:700;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary{ background: var(--purple-dark); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover{ transform: translateY(-2px); background: var(--purple-deep); }
.btn--ghost{ border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover{ background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn--light{ background: var(--white); color: var(--purple-dark); }
.btn--light:hover{ transform: translateY(-2px); box-shadow: 0 15px 30px -10px rgba(0,0,0,.25); }
.btn--small{ padding: 10px 22px; font-size:.85rem; }
.btn--full{ width:100%; }
.btn--whatsapp{ background:#25D366; color:#fff; margin-top: 26px; }
.btn--whatsapp svg{ width:20px; height:20px; }
.btn--whatsapp:hover{ transform: translateY(-2px); }

/* ===== Header ===== */
.header{
  position: fixed; top:0; left:0; right:0; z-index:100;
  padding: calc(18px + env(safe-area-inset-top)) 0 18px;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.header__inner{ padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.header.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(69,33,84,.18);
  padding: 10px 0;
}
.header__inner{ display:flex; align-items:center; justify-content:space-between; gap: 20px; }

.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{ width:44px; height:44px; border-radius:50%; object-fit:cover; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.brand__name{ font-family: var(--font-head); font-weight:600; font-size:1.25rem; color: var(--purple-deep); }
.header:not(.is-scrolled) .brand__name{ color: var(--white); }

.nav{ display:flex; align-items:center; gap: 30px; }
.nav__link{ font-weight:600; font-size:.95rem; color: var(--white); opacity:.9; transition: opacity .2s ease, color .2s ease; }
.nav__link:hover{ opacity:1; }
.header.is-scrolled .nav__link{ color: var(--ink); }
.header.is-scrolled .nav__link:hover{ color: var(--purple-dark); }

.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none; padding:0;
}
.hamburger span{ width:100%; height:2px; background: var(--white); border-radius:2px; transition: all .3s ease; }
.header.is-scrolled .hamburger span{ background: var(--purple-deep); }

/* ===== Hero ===== */
.hero{
  position:relative;
  overflow:hidden;
  padding: 170px 0 130px;
  background: radial-gradient(120% 140% at 20% 0%, var(--purple) 0%, var(--purple-dark) 55%, var(--purple-deep) 100%);
}
.hero__blob{ position:absolute; border-radius:50%; filter: blur(2px); opacity:.35; }
.hero__blob--1{ width:340px; height:340px; background: var(--teal); top:-120px; right:-80px; }
.hero__blob--2{ width:260px; height:260px; background: var(--purple-light); bottom:-100px; left:-60px; }

.hero__paws{ position:absolute; inset:0; pointer-events:none; }
.paw{ position:absolute; width:46px; height:46px; fill: rgba(255,255,255,.14); animation: float 7s ease-in-out infinite; }
.paw--1{ top: 22%; left: 8%; animation-delay: 0s; }
.paw--2{ top: 62%; left: 42%; width:32px; height:32px; animation-delay: 1.4s; }
.paw--3{ top: 15%; right: 30%; width:28px; height:28px; animation-delay: 2.6s; }
@keyframes float{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-18px) rotate(8deg); }
}

.hero__inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items:center;
}
.hero__title{ color: var(--white); font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 22px; }
.hero__subtitle{ color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 520px; margin-bottom: 36px; }
.hero__actions{ display:flex; gap:18px; flex-wrap:wrap; }

.hero__media{ display:flex; justify-content:center; }
.hero__frame{
  width: 300px; height:300px; border-radius:50%;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow-soft), 0 0 0 10px rgba(255,255,255,.12);
  animation: floaty 6s ease-in-out infinite;
}
.hero__logo{ width:100%; height:100%; border-radius:50%; object-fit:cover; }
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-14px); }
}

.hero__wave{ position:absolute; bottom:-2px; left:0; width:100%; height:90px; fill: var(--cream); }

/* ===== Parceria Veterinária (lançamento) ===== */
.partnership{
  position:relative;
  padding: 90px 0 110px;
  background: linear-gradient(160deg, var(--pink) 0%, var(--pink-dark) 55%, var(--pink-deep) 100%);
  overflow:hidden;
}
.badge--new{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--white);
  color: var(--pink-deep);
  font-weight:800;
  font-size:.75rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -10px rgba(140,47,86,.4);
  animation: pulse-badge 2.4s ease-in-out infinite;
}
.badge--new svg{ width:14px; height:14px; fill: var(--pink-dark); }
@keyframes pulse-badge{
  0%,100%{ box-shadow: 0 10px 24px -10px rgba(140,47,86,.4); }
  50%{ box-shadow: 0 10px 24px -10px rgba(140,47,86,.4), 0 0 0 8px rgba(255,255,255,.25); }
}
.partnership .section-head--light .section-title{ color: var(--white); }
.partnership .section-head--light .section-subtitle{ color: rgba(255,255,255,.88); }
.partnership__grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.partnership__feature{ margin-bottom: 30px; }
.feature-card{
  display:flex; align-items:center; gap:28px;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 36px;
  box-shadow: var(--shadow-soft);
  text-decoration:none; color:inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: 0 22px 40px -16px rgba(107,58,122,.3); }
.feature-card__icon{
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  width:72px; height:72px; border-radius:20px;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-pale));
  color: var(--pink-deep);
}
.feature-card__icon svg{ width:36px; height:36px; fill:none; stroke: var(--pink-deep); }
.feature-card__badge{
  display:inline-block; font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color: var(--pink-deep); background: var(--pink-pale); padding:4px 12px; border-radius:50px; margin-bottom:10px;
}
.feature-card__title{ font-size:1.25rem; margin-bottom:8px; }
.feature-card__text{ color: var(--ink-soft); font-size:.96rem; }
.feature-card__more{ display:inline-block; margin-top:12px; font-weight:700; font-size:.88rem; color: var(--pink-deep); }
.feature-card:hover .feature-card__more{ color: var(--purple-dark); }
.partnership__grid .card__icon{
  background: linear-gradient(135deg, var(--pink-light), var(--pink-pale));
  color: var(--pink-deep);
}
.partnership__grid .card__icon svg{ stroke: var(--pink-deep); }
.partnership__note{
  text-align:center;
  color: rgba(255,255,255,.85);
  margin-top: 40px;
  font-size:.95rem;
}
.partnership__note strong{ color: var(--white); }

/* ===== Filosofia ===== */
.philosophy{ padding: 110px 0; background: var(--cream); }
.philosophy__inner{ display:grid; grid-template-columns: .8fr 1.2fr; gap:70px; align-items:center; }

.philosophy__art{ display:flex; justify-content:center; }
.mandala{
  width: clamp(220px, 46vw, 300px);
  height: clamp(220px, 46vw, 300px);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  animation: floaty 7s ease-in-out infinite;
}
.mandala-svg{ width:100%; height:100%; filter: drop-shadow(0 20px 36px rgba(107,58,122,.28)); }

.mandala-frame{ transform-origin: 150px 150px; animation: spin 50s linear infinite; }
.ring-dotted{ fill:none; stroke: var(--purple); stroke-width: 4; stroke-dasharray: 1 11; stroke-linecap: round; }
.ring-thin{ fill:none; stroke: var(--purple-light); stroke-width: 1.5; }
.mandala-paw{ color: var(--purple-light); }
.mandala-paw use{ fill: currentColor; }

.mandala-lotus{ transform-origin: 150px 150px; }
.lotus-base{ fill: var(--purple-dark); opacity:.2; }

.stop-purple-light{ stop-color: var(--purple-light); }
.stop-purple-dark{ stop-color: var(--purple-dark); }
.stop-teal-light{ stop-color: var(--teal-light); }
.stop-teal{ stop-color: var(--teal); }

@keyframes spin{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }

.philosophy__text{ color: var(--ink-soft); margin-bottom: 18px; font-size:1.05rem; }
.philosophy__pillars{ margin-top: 30px; display:flex; flex-direction:column; gap:16px; }
.philosophy__pillars li{ display:flex; align-items:center; gap:14px; font-weight:600; color: var(--purple-dark); }
.philosophy__pillars .icon{ width:30px; height:30px; padding:6px; background: var(--purple-pale); border-radius:50%; flex-shrink:0; }
.philosophy__pillars .icon{ stroke: var(--purple-dark); fill:none; }

/* ===== Serviços ===== */
.services{ padding: 110px 0; background: var(--purple-pale); }
.services__grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(156,99,167,.08);
}
.card:hover{ transform: translateY(-8px); box-shadow: 0 22px 40px -16px rgba(107,58,122,.3); }
.card__icon{
  display:flex; align-items:center; justify-content:center;
  width:58px; height:58px; border-radius:16px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-pale));
  color: var(--purple-dark); margin-bottom:20px;
}
.card__icon svg{ width:30px; height:30px; fill:none; stroke: var(--purple-dark); }
.card__title{ font-size:1.2rem; margin-bottom:10px; }
.card__text{ color: var(--ink-soft); font-size:.96rem; }

.card--highlight{
  background: linear-gradient(160deg, var(--purple-dark), var(--purple-deep));
  border: 1px solid rgba(255,255,255,.08);
}
.card--highlight .card__icon{
  background: rgba(255,255,255,.14);
  color: var(--white);
}
.card--highlight .card__icon svg{ stroke: var(--white); }
.card--highlight .card__title,
.card--highlight .card__text{ color: var(--white); }
.card--highlight .card__text{ color: rgba(255,255,255,.85); }

/* ===== Diferenciais ===== */
.differentials{
  padding: 110px 0;
  background: linear-gradient(160deg, var(--purple-dark), var(--purple-deep));
}
.differentials__grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff{ text-align:center; color: rgba(255,255,255,.9); }
.diff__icon{
  width:56px; height:56px; margin: 0 auto 18px;
  padding: 12px; border-radius:50%;
  background: rgba(255,255,255,.12);
  fill:none; stroke: var(--white);
}
.diff h3{ color: var(--white); font-size:1.1rem; margin-bottom:10px; }
.diff p{ font-size:.92rem; color: rgba(255,255,255,.78); }

/* ===== Depoimentos ===== */
.testimonials{ padding: 110px 0; background: var(--cream); }
.testimonials__grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial{
  margin:0; background: var(--white); border-radius: var(--radius-md);
  padding: 34px 28px; box-shadow: var(--shadow-card);
  position:relative;
}
.testimonial__quote{ width:30px; height:30px; fill: var(--purple-light); margin-bottom:16px; }
.testimonial p{ font-style: italic; color: var(--ink); margin-bottom: 18px; }
.testimonial footer{ font-weight:700; color: var(--purple-dark); font-size:.9rem; }

/* ===== CTA ===== */
.cta{
  padding: 80px 0;
  background: radial-gradient(120% 200% at 50% 0%, var(--purple) 0%, var(--purple-dark) 60%, var(--purple-deep) 100%);
  text-align:center;
}
.cta__inner h2{ color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom:14px; }
.cta__inner p{ color: rgba(255,255,255,.85); margin-bottom: 30px; font-size:1.05rem; }

/* ===== Contato ===== */
.contact{ padding: 110px 0; background: var(--purple-pale); }
.contact__inner{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }

.contact__list{ margin: 26px 0; display:flex; flex-direction:column; gap:16px; }
.contact__list li{ display:flex; align-items:center; gap:14px; color: var(--ink-soft); font-weight:600; }
.contact__list .icon{ width:22px; height:22px; stroke: var(--purple-dark); fill:none; flex-shrink:0; }
.contact__list a{ color: inherit; text-decoration: none; }
.contact__list a:hover{ color: var(--purple-dark); text-decoration: underline; }

.contact__form{
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-card);
  display:flex; flex-direction:column; gap:18px;
}
.form__row{ display:flex; flex-direction:column; gap:8px; }
.form__row label{ font-weight:700; font-size:.88rem; color: var(--purple-dark); }
.form__row input, .form__row textarea{
  border: 2px solid var(--purple-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px; /* mantém 16px+ para o iOS Safari não aplicar zoom automático ao focar */
  background: var(--purple-pale);
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.form__row input:focus, .form__row textarea:focus{
  outline: none; border-color: var(--purple-dark); background: var(--white);
}
.form__hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__feedback{ font-size:.9rem; font-weight:700; color: var(--teal); min-height: 1.2em; }

/* ===== Footer ===== */
.footer{ background: var(--purple-deep); padding: 60px 0 30px; text-align:center; }
.footer__inner{ display:flex; flex-direction:column; align-items:center; gap:16px; }
.brand--footer .brand__name{ color: var(--white); }
.footer__tagline{ color: rgba(255,255,255,.75); max-width:420px; }
.footer__nav{ display:flex; gap:24px; flex-wrap:wrap; justify-content:center; margin-top:10px; }
.footer__nav a{ color: rgba(255,255,255,.85); font-weight:600; font-size:.9rem; }
.footer__nav a:hover{ color: var(--teal); }
.footer__social{ display:inline-flex; align-items:center; gap:8px; color: rgba(255,255,255,.85); font-weight:600; font-size:.9rem; margin-top:6px; }
.footer__social svg{ width:22px; height:22px; stroke: currentColor; fill:none; }
.footer__social:hover{ color: var(--teal); }
.footer__copy{ color: rgba(255,255,255,.5); font-size:.8rem; margin-top: 24px; }
.footer__credit{ color: rgba(255,255,255,.4); font-size:.7rem; margin-top: 6px; }
.footer__credit a{ color: rgba(255,255,255,.6); text-decoration: underline; }
.footer__credit a:hover{ color: var(--teal); }

/* ===== Floating WhatsApp ===== */
.float-whatsapp{
  position: fixed;
  bottom: calc(26px + env(safe-area-inset-bottom));
  right: calc(26px + env(safe-area-inset-right));
  z-index: 90;
  width:60px; height:60px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.4);
  animation: pulse 2.6s ease-in-out infinite;
}
.float-whatsapp svg{ width:30px; height:30px; fill:#fff; }
@keyframes pulse{
  0%,100%{ box-shadow: 0 10px 26px -8px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5); }
  50%{ box-shadow: 0 10px 26px -8px rgba(0,0,0,.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ===== Reveal on scroll ===== */
[data-reveal]{ opacity:0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible{ opacity:1; transform: translateY(0); }

/* ===== Card como link (página de serviços) ===== */
a.card{ display:block; text-decoration:none; color:inherit; }
.card__more{ display:inline-block; margin-top:14px; font-weight:700; font-size:.88rem; color: var(--purple-dark); }
.card--highlight .card__more{ color: var(--white); }
a.card:hover .card__more{ color: var(--teal); }

/* ===== Página de Serviços ===== */
.page-hero{
  position:relative; overflow:hidden; text-align:center;
  padding: calc(140px + env(safe-area-inset-top)) 0 70px;
  background: radial-gradient(120% 140% at 20% 0%, var(--purple) 0%, var(--purple-dark) 55%, var(--purple-deep) 100%);
}
.page-hero__breadcrumb{ font-size:.85rem; font-weight:600; color: rgba(255,255,255,.75); margin-bottom:16px; }
.page-hero__breadcrumb a{ color: rgba(255,255,255,.95); }
.page-hero__breadcrumb a:hover{ color: var(--teal-light); }
.page-hero .section-title{ color: var(--white); }
.page-hero__subtitle{ color: rgba(255,255,255,.85); max-width:640px; margin: 0 auto; }

.service-jump{ background: var(--purple-pale); padding: 26px 0; }
.service-jump__list{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.service-jump__list a{
  display:inline-block; padding:8px 18px; border-radius:50px; font-size:.85rem; font-weight:600;
  background: var(--white); color: var(--purple-dark); box-shadow: var(--shadow-card);
  transition: background .2s ease, color .2s ease;
}
.service-jump__list a:hover{ background: var(--purple-dark); color: var(--white); }

.service-category__head{ padding: 70px 0 10px; }

.service-detail{ padding: 50px 0; scroll-margin-top: 90px; }
.service-detail--alt{ background: var(--purple-pale); }
.service-detail__inner{ display:grid; grid-template-columns: .8fr 1.2fr; gap:50px; align-items:center; }
.service-detail__inner:not(:has(.service-detail__img)){ grid-template-columns: 1fr; max-width: 860px; }
.service-detail__img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); width:100%; max-width:420px; justify-self:center; aspect-ratio: 3/4; object-fit:cover; object-position: center; }
.service-detail__img--full{ aspect-ratio: auto; height:auto; object-fit: contain; max-width:340px; }
.service-detail__icon{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:16px; margin-bottom:16px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple-pale));
  color: var(--purple-dark);
}
.service-detail__icon svg{ width:28px; height:28px; fill:none; stroke: var(--purple-dark); }
.service-detail__title{ font-size:1.5rem; margin-bottom:14px; }
.service-detail__text{ color: var(--ink-soft); font-size:1.02rem; }
.service-detail__text + .service-detail__text{ margin-top:14px; }
.service-detail__actions{ margin-top:22px; }

.cta-band{ padding: 90px 0; text-align:center; background: linear-gradient(160deg, var(--purple-dark), var(--purple-deep)); }
.cta-band .section-title{ color: var(--white); }
.cta-band .section-subtitle{ color: rgba(255,255,255,.82); margin: 0 auto 30px; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 992px){
  .hero__inner{ grid-template-columns: 1fr; text-align:center; }
  .hero__subtitle{ margin-left:auto; margin-right:auto; }
  .hero__actions{ justify-content:center; }
  .hero__media{ order:-1; }
  .hero__frame{ width:220px; height:220px; }

  .philosophy__inner{ grid-template-columns:1fr; text-align:center; }
  .philosophy__pillars li{ justify-content:center; }

  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .partnership__grid{ grid-template-columns: repeat(2, 1fr); }
  .differentials__grid{ grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid{ grid-template-columns: repeat(2, 1fr); }

  .contact__inner{ grid-template-columns: 1fr; }

  .service-detail__inner{ grid-template-columns: 1fr; text-align:center; }
  .service-detail__icon{ margin-left:auto; margin-right:auto; }
}

@media (max-width: 768px){
  .nav{
    position: fixed; top: 0; right: -100%; height: 100vh; height: 100dvh; width: min(320px, 85%);
    background: var(--white); flex-direction:column; justify-content:center; align-items:flex-start;
    gap: 26px; overflow-y: auto;
    padding: 40px 40px calc(40px + env(safe-area-inset-bottom)) 40px;
    padding-right: calc(40px + env(safe-area-inset-right));
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transition: right .35s ease; z-index: 99;
  }
  .nav.is-open{ right:0; }
  .nav__link, .header:not(.is-scrolled) .nav__link{ color: var(--ink); font-size:1.05rem; }
  .nav .btn{ margin-top:10px; }
  .hamburger{ display:flex; }
  .hamburger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2){ opacity:0; }
  .hamburger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .hamburger.is-open span{ background: var(--ink); }

  .services__grid{ grid-template-columns: 1fr; }
  .differentials__grid{ grid-template-columns: 1fr 1fr; }
  .testimonials__grid{ grid-template-columns: 1fr; }

  .feature-card{ flex-direction:column; text-align:center; padding: 30px 26px; }
}

@media (max-width: 480px){
  .hero{ padding: 150px 0 100px; }
  .contact__form{ padding: 28px 22px; }
  .differentials__grid{ grid-template-columns: 1fr; }
  .partnership__grid{ grid-template-columns: 1fr; }
  .hero__frame{ width: 180px; height: 180px; }
  .btn{ padding: 13px 24px; font-size: .92rem; }
}

@media (max-width: 380px){
  .container{ padding: 0 18px; }
  .hero__title{ font-size: 1.9rem; }
  .contact__form{ padding: 24px 18px; }
}
