/* Mobile-first responsive refactor */
:root {
  --c-primary: #75b6d2;
  --c-deep: #51889d;
  --c-soft: #a9cce2;
  --c-lilac: #9cabc8;
  --c-cream: #f4efe9;
  --c-white: #ffffff;
  --c-dark: #2c3e50;
  --c-text: #3a5060;
  --c-text-light: #6b8a9e;
  --c-border: rgba(169, 204, 226, 0.35);

  --ff-heading: "Playfair Display", Georgia, serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(81, 136, 157, 0.08);
  --shadow-md: 0 8px 30px rgba(81, 136, 157, 0.1);
  --shadow-lg: 0 16px 48px rgba(81, 136, 157, 0.12);
  --shadow-glow: 0 0 40px rgba(117, 182, 210, 0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--c-dark);
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.9rem, 7.5vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 5.8vw, 3rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.02rem;
  font-family: var(--ff-body);
}

h1 em {
  font-style: italic;
  color: var(--c-deep);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-deep);
  margin-bottom: 0.65rem;
  position: relative;
  padding-left: 1.5rem;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1.5px;
  background: var(--c-deep);
}

.section-desc {
  max-width: 58ch;
  margin: 0.5rem auto 0;
  color: var(--c-text-light);
  font-size: 0.96rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
}

.btn:hover::after { opacity: 1; }

.btn--filled {
  background: linear-gradient(135deg, var(--c-deep), #3f7a8f);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(81, 136, 157, 0.3);
}

.btn--outline {
  border-color: var(--c-deep);
  color: var(--c-deep);
  background: transparent;
}

.btn--full { width: 100%; }

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0.7rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 20px rgba(81, 136, 157, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.logo-icon {
  width: auto;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: clamp(0.92rem, 3.7vw, 1.3rem);
  font-weight: 600;
  color: var(--c-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar__links {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100dvh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 105;
  padding-inline: 1rem;
}

.navbar__links.open { transform: translateX(0); }

.navbar__links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
  border-radius: 2px;
}

.navbar__links a:hover {
  color: var(--c-deep);
}

.navbar__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: var(--c-deep) !important;
  color: var(--c-white) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.nav-cta::after { display: none !important; }

.navbar__toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: all var(--transition);
  position: absolute;
  left: 0;
}

.navbar__toggle span:nth-child(1) { top: 0; }
.navbar__toggle span:nth-child(2) { top: 9px; }
.navbar__toggle span:nth-child(3) { top: 18px; }

.navbar__toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) { opacity: 0; }

.navbar__toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6.1rem 0 2.4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 85% 20%, rgba(169, 204, 226, 0.25), transparent),
    radial-gradient(ellipse 65% 80% at 10% 85%, rgba(156, 171, 200, 0.15), transparent),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-white) 100%);
  z-index: -1;
}

.hero__grid,
.about-grid,
.invisalign-grid,
.kids-highlight,
.location-grid,
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hero__visual { order: -1; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-deep);
  background: rgba(117, 182, 210, 0.12);
  border: 1px solid rgba(117, 182, 210, 0.25);
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 0.98rem;
  color: var(--c-text-light);
  max-width: 52ch;
  margin: 0.9rem 0 1.3rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.hero__actions .btn,
.hero__actions .btn:only-child {
  width: 100%;
  min-width: 0;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-border);
}

.trust-item {
  text-align: center;
  padding: 0.65rem 0.5rem;
  border: 1px solid rgba(169, 204, 226, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.trust-item strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.18rem;
  color: var(--c-deep);
  margin-bottom: 0.1rem;
}

.trust-item span {
  font-size: 0.67rem;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-divider { display: none; }

.hero__image-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero__image-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  min-height: 280px;
  border-radius: min(7vw, var(--radius-xl));
  background: linear-gradient(160deg, var(--c-soft), var(--c-deep));
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero__image-photo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(44, 62, 80, 0.12)),
    url("assets/images/hero.jpg") center 18% / cover no-repeat,
    linear-gradient(160deg, var(--c-soft), var(--c-deep));
}

.hero__float-card {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--c-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  width: 100%;
  max-width: none;
}

.float-1,
.float-2,
.float-3,
.float-4,
.float-5 {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

.hero__scroll-indicator { display: none; }

.section {
  padding: clamp(3.5rem, 12vw, 8rem) 0;
  background: var(--c-white);
  position: relative;
}

.hero__img {    
    border-radius: var(--radius-md);
  }


.section--cream { background: var(--c-cream); }

.about__img-placeholder,
.invisalign__img-placeholder,
.kids__img-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__img-placeholder {
  background: linear-gradient(160deg, var(--c-lilac), var(--c-deep));
}

.about__image-photo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(44, 62, 80, 0.08)),
    url("assets/images/sobre.jpg") center center / cover no-repeat,
    linear-gradient(160deg, var(--c-lilac), var(--c-deep));
}

.about__bio {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.about__bio-secondary {
  color: var(--c-text-light);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.46rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--c-deep);
  background: rgba(117, 182, 210, 0.1);
  border: 1px solid rgba(117, 182, 210, 0.2);
}

.invisalign-section {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-cream) 100%);
}

.invisalign__content p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--c-text-light);
  margin-bottom: 1.2rem;
}

.invisalign__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(117, 182, 210, 0.1);
  display: grid;
  place-items: center;
  color: var(--c-deep);
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  color: var(--c-dark);
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.benefit p {
  margin: 0;
  font-size: 0.8rem !important;
  color: var(--c-text-light) !important;
}

.invisalign__img-placeholder {
  background: linear-gradient(160deg, var(--c-primary), var(--c-deep));
}

/* ── Antes e Depois ── */
.invisalign__before-after {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border, #e8e0d6);
}

.before-after-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.before-after-header h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0.4rem 0 0.75rem;
  color: var(--c-dark);
}

.before-after-desc {
  color: var(--c-muted, #888);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.before-after-pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.before-after-case {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.before-after-case-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  padding: 0.25rem 0.8rem;
  border-radius: 99px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 380px;
}

.before-after-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
  background: #fff;
}

.before-after-item .gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.before-after-label {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
}

.before-after-label.before {
  color: var(--c-muted, #888);
  background: #f5f3f0;
}

.before-after-label.depois {
  color: #fff;
  background: var(--c-primary);
}

.services-grid,
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.service-card,
.result-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  padding: 1.25rem 1rem;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-deep), var(--c-primary));
}

.service-card__number {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(117, 182, 210, 0.22);
  line-height: 1;
  margin-bottom: 0.55rem;
}

.service-card h3 { margin-bottom: 0.32rem; }

.service-card p {
  font-size: 0.87rem;
  color: var(--c-text-light);
  line-height: 1.56;
}

.kids-highlight {
  margin-top: 1.8rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(81, 136, 157, 0.14);
  border-radius: min(6vw, var(--radius-xl));
  box-shadow: var(--shadow-sm);
}

.kids-highlight__content h3 {
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  margin-bottom: 0.65rem;
}

.kids-highlight__content p {
  color: var(--c-text-light);
  line-height: 1.75;
  font-size: 0.93rem;
}

.result-card__images {
  display: grid;
  grid-template-columns: 1fr;
}

.result-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-lilac), var(--c-soft));
  display: grid;
  place-items: center;
}

.result-img--after {
  background: linear-gradient(135deg, var(--c-primary), var(--c-deep));
}

.result-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.15);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.result-card__body { padding: 1.1rem; }

.stars {
  color: #d4a843;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.result-card blockquote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.58;
  margin-bottom: 0.45rem;
}

.result-card cite {
  font-size: 0.8rem;
  color: var(--c-text-light);
  font-style: normal;
}

.location__lead {
  color: var(--c-text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 0.7rem;
}

.schedule-box {
  margin: 1rem 0;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

.schedule-row:not(:last-child) { border-bottom: 1px solid var(--c-border); }

.schedule-time {
  font-weight: 600;
  color: var(--c-deep);
  text-align: right;
}

.schedule-time.closed { color: var(--c-lilac); }

.address-box {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--c-text-light);
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.address-box svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--c-deep);
}

.location__actions { margin-top: 1.15rem; }

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}

.location__map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ═══════════ GALLERY ═══════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item--large {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  object-fit: cover;
}

.gallery-img--placeholder {
  background: linear-gradient(135deg, #edf5fa 0%, #d8eaf4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--c-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-img--placeholder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item {
  height: 220px;
}

.gallery-item--large {
  height: 100%;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
    height: 220px;
  }
  .gallery-item {
    height: 160px;
  }

  .hero__img {    
    aspect-ratio: 4 / 3;
    overflow: hidden;
    object-fit: cover;
    max-height: 520px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item--large {
    grid-column: span 1;
  }
  .gallery-item {
    height: 200px;
  }
  .before-after-grid {
    width: 100%;
    max-width: 340px;
  }
  .before-after-item .gallery-img {
    height: 140px;
  }
  .before-after-pairs {
    flex-direction: column;
    align-items: center;
  }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.8rem 0 0;
}

.footer__grid {
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-icon--light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__logo-text {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer__brand p {
  margin-top: 0.5rem;
  font-size: 0.86rem;
}

.footer__col h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}

.footer__col p {
  font-size: 0.85rem;
  line-height: 1.65;
}

.footer__bottom {
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.76rem;
}

.instagram-float {
  position: fixed;
  right: 0.95rem;
  bottom: calc(0.95rem + 52px + 0.65rem);
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(188, 24, 136, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(188, 24, 136, 0.5);
}

.whatsapp-float {
  position: fixed;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

.anim-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }

.anim-float { animation: floatY 4s ease-in-out infinite; }
.anim-float.anim-delay-2 { animation-delay: -2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (min-width: 480px) {
  .hero { padding-top: 6.6rem; }
  .hero__trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .location__map iframe { height: 320px; }
}

@media (min-width: 768px) {
  .container { width: min(1200px, 90%); }

  .navbar { padding: 1rem 0; }

  .logo-icon {
  
    height: 42px;
    font-size: 0.85rem;
  }

  .navbar__links {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.35rem;
    transform: none;
    transition: none;
    box-shadow: none;
    z-index: 1;
    padding-inline: 0;
  }

  .navbar__links a {
    font-size: 0.88rem;
  }

  .navbar__toggle { display: none; }

  .hero {
    min-height: 100vh;
    padding: 7.2rem 0 3rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .hero__visual { order: 0; }

  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
  }

  .hero__actions .btn:only-child {
    min-width: 220px;
  }

  .hero__image-frame {
    display: block;
    padding: 1.2rem;
  }

  .hero__image-placeholder {
    aspect-ratio: 3 / 4;
    width: min(100%, 460px);
    margin-inline: auto;
    min-height: 0;
    max-height: 560px;
  }



  .hero__float-card {
    position: absolute;
    width: auto;
    max-width: 220px;
  }

  .float-1 { top: 4%; left: -2%; }
  .float-2 { top: 18%; right: -4%; }
  .float-3 { top: 45%; left: -10%; }
  .float-4 { bottom: 17%; right: -6%; }
  .float-5 { bottom: 6%; left: 0; }

  .hero__scroll-indicator {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .hero__scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-text-light);
  }

  .scroll-line {
    width: 1px;
    height: 32px;
    background: var(--c-deep);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(0.5); opacity: 1; }
  }

  .about-grid,
  .invisalign-grid,
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }

  .kids-highlight {
    grid-template-columns: 0.42fr 0.58fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .results-grid { grid-template-columns: repeat(2, 1fr); }

  .result-card__images {
    grid-template-columns: 1fr 1fr;
  }

  .result-img { aspect-ratio: 1; }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .location__map iframe {
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .about-grid { grid-template-columns: 0.45fr 0.55fr; gap: 4rem; }
  .invisalign-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .location-grid { grid-template-columns: 0.45fr 0.55fr; gap: 3rem; align-items: start; }

  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }

  .section { padding: clamp(5rem, 10vw, 8rem) 0; }

  .footer {
    padding-top: 4rem;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    padding-bottom: 3rem;
  }

  .instagram-float {
    right: 1.5rem;
    bottom: calc(1.5rem + 58px + 0.65rem);
    width: 58px;
    height: 58px;
  }

  .whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 58px;
    height: 58px;
  }
}
