/* Extracted from inline styles in index.html */
/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #2d3748;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.25;
}

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #1a6b5a;
  --primary-light: #e8f5f1;
  --primary-dark: #134d41;
  --accent: #c9a84c;
  --accent-light: #f9f3e3;
  --dark: #1a202c;
  --gray-900: #2d3748;
  --gray-700: #4a5568;
  --gray-500: #718096;
  --gray-300: #cbd5e0;
  --gray-100: #f7fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 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: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --section-padding: 96px;
}

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

/* ===== UTILITY ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  font-weight: 400;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__logo-icon svg {
  width: 24px;
  height: 24px;
}
.nav__brand-text {
  display: flex;
  flex-direction: column;
}
.nav__brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.nav.scrolled .nav__brand-name {
  color: var(--dark);
}
.nav__brand-sub {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav:not(.scrolled) .nav__brand-name {
  color: var(--white);
}
.nav:not(.scrolled) .nav__brand-sub {
  color: rgba(255, 255, 255, 0.7);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: color 0.3s;
}
.nav:not(.scrolled) .nav__links a {
  color: var(--white);
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(26, 107, 90, 0.3);
}
.nav__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 107, 90, 0.4);
}
.nav__cta::after {
  display: none !important;
}
.nav__cta svg {
  width: 18px;
  height: 18px;
}

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav:not(.scrolled) .nav__hamburger span {
  background: var(--white);
}
.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    165deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    #1d7a67 100%
  );
  overflow: hidden;
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse 80% 50% at 70% 40%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(201, 168, 76, 0.08) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}
.hero__content {
  color: var(--white);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero__badge svg {
  width: 16px;
  height: 16px;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero__title span {
  color: var(--accent);
}
.hero__subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.btn--primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}
.btn--primary:hover {
  background: #d4b35a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.5);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stat {
  text-align: left;
}
.hero__stat-value {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}
.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__image-card {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero__image-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__image-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.hero__image-card-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}
.hero__image-card-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* ===== TRUST BAR ===== */
.trust {
  padding: 40px 0;
  background: var(--gray-100);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust__item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-padding) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image-wrapper {
  position: relative;
}
.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 24px;
}
.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 32px;
}
.about__credential {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
}
.about__credential svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== WHY CHOOSE US ===== */
.why {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}
.why__header {
  text-align: center;
  margin-bottom: 64px;
}
.why__header .section-subtitle {
  margin: 0 auto;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why__card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.why__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why__card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.why__card:hover .why__card-icon {
  background: var(--primary);
}
.why__card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: color 0.3s;
}
.why__card:hover .why__card-icon svg {
  color: var(--white);
}
.why__card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.why__card-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-padding) 0;
}
.services__header {
  text-align: center;
  margin-bottom: 64px;
}
.services__header .section-subtitle {
  margin: 0 auto;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card__image img {
  transform: scale(1.06);
}
.service-card__body {
  padding: 28px 24px;
}
.service-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  margin-bottom: 12px;
}
.service-card__title {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card__text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}
.service-card__link:hover {
  gap: 12px;
}
.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* ===== ORTODONCIA DETAIL ===== */
.detail {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}
.detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.detail__types {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.detail__type {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.detail__type:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.detail__type-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.detail__type-text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.detail__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===== TECHNOLOGY SECTION ===== */
.technology {
  padding: var(--section-padding) 0;
}
.technology__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.technology__video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.technology__video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.technology__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.technology__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.technology__feature svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(201, 168, 76, 0.12) 0%,
    transparent 50%
  );
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.cta-banner__title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-banner__text {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.contact__grid > .reveal:last-child {
  display: flex;
  flex-direction: column;
}
.contact__grid > .reveal:last-child .contact__map {
  flex: 1;
}
.contact__info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.contact__info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact__info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.contact__info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.contact__info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}
.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__brand-text {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer__social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer__social svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
}
.footer__heading {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.88rem;
  transition:
    color 0.3s,
    padding-left 0.3s;
}
.footer__links a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer__bottom a {
  color: var(--accent);
}
.footer__bottom a:hover {
  text-decoration: underline;
}

/* ===== PHONE FLOATING ===== */
.phone-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 107, 90, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: pulse-phone 2s infinite;
}
.phone-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(26, 107, 90, 0.5);
  background: var(--primary-dark);
}
.phone-float svg {
  width: 28px;
  height: 28px;
  color: white;
}
@keyframes pulse-phone {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(26, 107, 90, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(26, 107, 90, 0.6);
  }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero__subtitle {
    margin: 0 auto 36px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__image {
    order: -1;
  }
  .hero__image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  .hero__image-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -24px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .detail__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .detail__grid .detail__image {
    order: -1;
  }
  .technology__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
  }
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 100px 32px 40px;
    z-index: 1000;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
  }
  .nav__links a {
    color: var(--dark) !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
    text-align: left;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s;
  }
  .nav__links a:last-child {
    border-bottom: none;
  }
  .nav__links a::after {
    display: none;
  }
  .nav__links.active {
    right: 0;
  }
  .nav__links.active a {
    opacity: 1;
    transform: translateX(0);
  }
  .nav__links.active a:nth-child(1) { transition-delay: 0.08s; }
  .nav__links.active a:nth-child(2) { transition-delay: 0.14s; }
  .nav__links.active a:nth-child(3) { transition-delay: 0.20s; }
  .nav__links.active a:nth-child(4) { transition-delay: 0.26s; }
  .nav__links.active a:nth-child(5) { transition-delay: 0.32s; }
  .nav__links.active a:nth-child(6) { transition-delay: 0.38s; }
  .nav__links .nav__cta {
    margin-top: 24px;
    justify-content: center;
    padding: 14px 24px;
    border-bottom: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .nav__hamburger.active span {
    background: var(--dark) !important;
  }
  .nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .nav__overlay.active {
    display: block;
    opacity: 1;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .hero__image-card {
    display: none;
  }
  .trust__inner {
    gap: 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
  }
  .container {
    padding: 0 16px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .services__grid {
    gap: 16px;
  }
  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
