/* ========================================
   STUDIO DENTISTICO SORRISO — Premium CSS
   ======================================== */

/* ── CSS Custom Properties ── */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fb;
  --color-navy: #1a2b4a;
  --color-navy-light: #243a5e;
  --color-blue: #2563eb;
  --color-teal: #0d9488;
  --color-teal-light: #e0f2f1;
  --color-teal-lighter: #f0fdf9;
  --color-gold: #f59e0b;
  --color-whatsapp: #25d366;
  --color-text: #475569;
  --color-text-dark: #1e293b;
  --color-text-muted: #94a3b8;
  --color-border: rgba(0, 0, 0, 0.06);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section {
  padding: 100px 0;
  position: relative;
}
.section--gray { background: var(--color-bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%);
  color: #fff;
  border-color: transparent;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}
.btn--outline {
  border-color: var(--color-navy);
  color: var(--color-navy);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-navy);
  color: #fff;
  transform: translateY(-2px);
}
.btn--white {
  background: #fff;
  color: var(--color-navy);
}
.btn--white:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.btn--outline-white {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── Text Gradient ── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-navy);
  flex-shrink: 0;
}
.header__logo strong { font-weight: 700; }
.header__logo-icon {
  width: 32px;
  height: 32px;
  color: var(--color-teal);
}
.header__nav { display: flex; align-items: center; }
.about__image-col { width: 100%; }
.header__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: all var(--transition);
}
.header__menu-cta { display: none; }
.header__link:hover {
  background: var(--color-bg-alt);
  color: var(--color-navy);
}
.header__link.active {
  color: var(--color-navy);
  font-weight: 600;
}
.header__cta {
  padding: 10px 22px;
  font-size: 0.88rem;
  margin-left: 8px;
  flex-shrink: 0;
}
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  background: linear-gradient(170deg, var(--color-teal-lighter) 0%, #f0f7ff 30%, var(--color-bg) 70%);
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero__text {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.hero__badges {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-teal);
  font-weight: 500;
}
.hero__badge svg { flex-shrink: 0; }

/* Hero Visual */
.hero__visual { position: relative; }
.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__image {
  width: 100%;
  display: block;
  border-radius: var(--radius-2xl);
}
.hero__image-accent {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(37, 99, 235, 0.15));
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}

/* Float Cards */
.hero__float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.6);
}
.hero__float-card--1 {
  bottom: 32px;
  left: -24px;
  animation-delay: 0s;
}
.hero__float-card--2 {
  top: 24px;
  right: -16px;
  animation-delay: 2s;
  flex-direction: column;
  text-align: center;
  padding: 14px 20px;
}
.hero__float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}
.hero__float-card strong {
  font-size: 1.3rem;
  color: var(--color-navy);
  display: block;
  line-height: 1.2;
}
.hero__float-card span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: block;
}
.hero__float-stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Hero Wave */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave svg { width: 100%; height: auto; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════
   ABOUT / CHI SIAMO
   ═══════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}
.about__image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
}
.about__image-badge-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about__image-badge-text {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 4px;
  display: block;
}
.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--color-text);
}
.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about__feature-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.about__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about__feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  margin: 0 auto 12px;
}
.about__feature-card h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* ═══════════════════════════════════════
   SERVICES / TRATTAMENTI
   ═══════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.15);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal-light), #e8f5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   BENEFITS / PERCHÉ SCEGLIERCI
   ═══════════════════════════════════════ */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.15);
}
.benefit-card__number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(13, 148, 136, 0.08);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.benefit-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.benefit-card__text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   TEAM
   ═══════════════════════════════════════ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.team-card:hover .team-card__image { transform: scale(1.05); }
.team-card__image-wrapper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card__info { padding: 24px; }
.team-card__name {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-navy);
}
.team-card__role {
  font-size: 0.82rem;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}
.team-card__bio {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-top: 12px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   STATS / TRUST NUMBERS
   ═══════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0f1d36 100%);
  color: #fff;
  padding: 80px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
}
.stat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 16px;
}
.stat-card__number {
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}
.stat-card__label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* ═══════════════════════════════════════
   TESTIMONIALS / RECENSIONI
   ═══════════════════════════════════════ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__stars {
  color: var(--color-gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.testimonial-card__quote {
  font-size: 1.02rem;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.7;
  margin-bottom: 24px;
  border: none;
  padding: 0;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card__author strong {
  color: var(--color-navy);
  display: block;
  font-size: 0.95rem;
}
.testimonial-card__author span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq__wrapper {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(13, 148, 136, 0.15); }
.faq-item__question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  gap: 16px;
}
.faq-item__question:hover { color: var(--color-teal); }
.faq-item__chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--color-text-muted);
}
.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--color-teal);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-item__answer { max-height: 200px; }
.faq-item__answer p {
  padding: 0 28px 22px;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-blue) 50%, var(--color-navy) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.cta__content {
  max-width: 640px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   CONTACT / CONTATTI
   ═══════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  margin-bottom: 14px;
}
.contact-card h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}
.contact-card a {
  font-size: 0.9rem;
  color: var(--color-teal);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--color-navy); }

/* Map & Form */
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-form {
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-form__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 24px;
}
.contact-form__group { margin-bottom: 16px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: #fff;
  transition: all var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 16px;
}
.contact-form__note a {
  color: var(--color-teal);
  font-weight: 500;
}
.contact-form__note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--color-navy);
  color: #fff;
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer__logo strong { font-weight: 700; }
.footer__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--color-teal);
}
.footer__description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
}
.footer__social-link:hover {
  background: var(--color-teal);
  transform: translateY(-2px);
}
.footer__links h4,
.footer__contact h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}
.footer__links ul { padding: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__contact ul {
  padding: 0;
  list-style: none;
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__contact svg {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer__legal {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}
.footer__legal a:hover { color: #fff; }

/* ═══════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: box-shadow var(--transition);
  transform: scale(0);
  opacity: 0;
}
.whatsapp-float.visible {
  transform: scale(1);
  opacity: 1;
  animation: whatsappEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.whatsapp-float.visible:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-whatsapp);
  z-index: -1;
  animation: whatsappPulse 2.5s ease-out infinite;
}
.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--color-navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes whatsappEntrance {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="float"] { opacity: 0; transform: scale(0.9); }
[data-animate].animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section__title { font-size: 2.2rem; }
  .section__title br { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__title { font-size: 3rem; }
  .hero { padding-bottom: 80px; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__eyebrow { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
  .hero__badges { justify-content: center; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__features { grid-template-columns: repeat(3, 1fr); }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }
  .section__title { font-size: 1.9rem; }
  .section__title br { display: none; }
  .section__subtitle { font-size: 0.95rem; }

  /* ── Header Mobile Menu ── */
  .header__burger { display: flex; }
  .header__cta { display: none; }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }
  .header__nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header__menu {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    width: 100%;
    padding: 0 32px;
  }
  .header__menu li { width: 100%; }
  .header__link {
    display: block;
    font-size: 1.2rem;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    color: var(--color-navy);
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
  }
  .header__link:hover,
  .header__link.active {
    background: var(--color-teal-light);
    color: var(--color-teal);
  }
  /* WhatsApp CTA inside mobile menu */
  .header__nav .header__menu-cta {
    display: inline-flex;
    margin-top: 20px;
    padding: 14px 32px;
    font-size: 1rem;
  }

  /* Animate each link staggered on open */
  .header__nav .header__menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .header__nav.open .header__menu li {
    opacity: 1;
    transform: translateY(0);
  }
  .header__nav.open .header__menu li:nth-child(1) { transition-delay: 0.05s; }
  .header__nav.open .header__menu li:nth-child(2) { transition-delay: 0.1s; }
  .header__nav.open .header__menu li:nth-child(3) { transition-delay: 0.15s; }
  .header__nav.open .header__menu li:nth-child(4) { transition-delay: 0.2s; }
  .header__nav.open .header__menu li:nth-child(5) { transition-delay: 0.25s; }
  .header__nav.open .header__menu li:nth-child(6) { transition-delay: 0.3s; }
  .header__nav.open .header__menu li:nth-child(7) { transition-delay: 0.35s; }
  .header__nav.open .header__menu li:nth-child(8) { transition-delay: 0.4s; }

  /* ── Hero Mobile ── */
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }
  .hero__inner { text-align: center; }
  .hero__title { font-size: 2.4rem; }
  .hero__title br { display: none; }
  .hero__text {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__eyebrow { margin-left: auto; margin-right: auto; }
  .hero__buttons { justify-content: center; }
  .hero__badges { justify-content: center; gap: 16px; }
  .hero__float-card { display: none; }
  .hero__visual { max-width: 500px; margin: 0 auto; }

  /* ── About ── */
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__image-col { max-width: 500px; margin: 0 auto; }
  .about__features { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about__feature-card h4 { font-size: 0.82rem; }

  /* ── Services ── */
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 28px 20px; }
  .service-card__icon { width: 48px; height: 48px; }

  /* ── Benefits ── */
  .benefits__grid { grid-template-columns: 1fr; }

  /* ── Team ── */
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .team-card--main { grid-column: 1 / -1; }
  .team-card__image-wrapper { aspect-ratio: 4 / 3; }
  .team-card__bio { font-size: 0.85rem; }

  /* ── Testimonials ── */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* ── Stats ── */
  .stats-section { padding: 56px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-card { padding: 24px 12px; }
  .stat-card__number { font-size: 1.8rem; }

  /* ── Contact ── */
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 22px; }
  .contact__map iframe { height: 220px; }

  /* ── CTA Section ── */
  .cta-section { padding: 72px 0; }
  .cta__title { font-size: 2rem; }
  .cta__title br { display: none; }
  .cta__buttons { flex-direction: column; align-items: center; }
  .cta__buttons .btn { width: 100%; max-width: 320px; }

  /* ── Footer ── */
  .footer { padding: 56px 0 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* ── Floating buttons ── */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float__tooltip { display: none; }
  .back-to-top {
    right: 82px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section__header { margin-bottom: 32px; }
  .section__title { font-size: 1.55rem; }

  .hero { padding-top: calc(var(--header-height) + 28px); padding-bottom: 48px; }
  .hero__title { font-size: 1.85rem; }
  .hero__text { font-size: 0.92rem; }
  .hero__badges { flex-direction: column; gap: 10px; align-items: center; }
  .hero__badge { font-size: 0.82rem; }
  .hero__buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero__buttons .btn--lg { padding: 14px 24px; font-size: 0.95rem; }

  .about__features { grid-template-columns: 1fr; }
  .about__feature-card { padding: 20px; flex-direction: row; text-align: left; display: flex; align-items: center; gap: 12px; }
  .about__feature-card .about__feature-icon { margin: 0; flex-shrink: 0; width: 40px; height: 40px; }
  .about__feature-card h4 { font-size: 0.85rem; }

  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 24px 20px; display: flex; align-items: flex-start; gap: 16px; }
  .service-card__icon { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; }
  .service-card__title { font-size: 1rem; margin-bottom: 4px; }
  .service-card__text { font-size: 0.88rem; }

  .benefit-card { padding: 24px 20px; }
  .benefit-card__number { font-size: 2.2rem; }
  .benefit-card__title { font-size: 1.05rem; }

  .team__grid { grid-template-columns: 1fr; gap: 16px; }
  .team-card--main { grid-column: auto; }
  .team-card__image-wrapper { aspect-ratio: 16 / 10; }

  .contact__cards { grid-template-columns: 1fr; }
  .contact-card { padding: 20px; }
  .contact-form { padding: 24px 20px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact__map iframe { height: 200px; }

  .stat-card { padding: 16px 8px; }
  .stat-card__number { font-size: 1.4rem; }
  .stat-card__label { font-size: 0.78rem; }
  .stat-card__icon { width: 44px; height: 44px; }

  .testimonial-card { padding: 24px 20px; }
  .testimonial-card__quote { font-size: 0.95rem; }

  .cta-section { padding: 56px 0; }
  .cta__title { font-size: 1.6rem; }
  .cta__text { font-size: 1rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer { padding: 48px 0 0; }

  .faq-item__question { padding: 18px 20px; font-size: 0.95rem; }
  .faq-item__answer p { padding: 0 20px 18px; font-size: 0.9rem; }
}

/* ── Print ── */
@media print {
  .header, .whatsapp-float, .back-to-top { display: none !important; }
  .section { padding: 32px 0; }
  body { color: #000; }
}
