/* ============================================================
   CLÍNICA SAÚDE DOURADA — Premium Medical Clinic Website
   ============================================================
   Design System: Elegant · Medical · Premium · Minimal
   Primary: #012C35  |  Secondary: #FBFBFB  |  Gold: #C9A96E
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  /* Colors */
  --color-primary: #012C35;
  --color-primary-light: #0A3E48;
  --color-primary-dark: #001A20;
  --color-secondary: #FBFBFB;
  --color-white: #FFFFFF;
  --color-black: #0A0A0A;
  --color-text: #1C1C1C;
  --color-text-light: #6B6B6B;
  --color-text-lighter: #9A9A9A;
  --color-gold: #C9A96E;
  --color-gold-light: #E8D5A3;
  --color-gold-dark: #A68B4C;
  --color-gold-gradient: linear-gradient(135deg, #C9A96E 0%, #E8D5A3 50%, #C9A96E 100%);
  --color-surface: #FFFFFF;
  --color-bg-warm: #F8F7F4;
  --color-bg-dark: #012C35;
  --color-border: rgba(201, 169, 110, 0.2);
  --color-border-light: rgba(0, 0, 0, 0.06);
  --color-overlay: rgba(1, 44, 53, 0.85);
  --color-glass: rgba(255, 255, 255, 0.08);
  --color-glass-light: rgba(255, 255, 255, 0.95);
  --color-success: #2D8A4E;
  --color-error: #C94A4A;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-subheading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --section-padding-mobile: 3.5rem 0;
  --container-max: 1200px;
  --container-narrow: 900px;
  --gutter: 2rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-glass: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(1, 44, 53, 0.06);
  --shadow-md: 0 8px 32px rgba(1, 44, 53, 0.1);
  --shadow-lg: 0 20px 60px rgba(1, 44, 53, 0.12);
  --shadow-gold: 0 8px 32px rgba(201, 169, 110, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-header: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
  --z-tooltip: 1200;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold-gradient);
  margin-top: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.text-gold {
  color: var(--color-gold);
}

.text-center {
  text-align: center;
}

.text-light {
  color: var(--color-text-lighter);
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold-gradient);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* ----- Glassmorphism utility ----- */
.glass {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-light {
  background: var(--color-glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(1, 44, 53, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(1, 44, 53, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  padding: 0.6rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.logo-slogan {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.08);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-header a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.social-header a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-header) + 1);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

/* Hero decorative background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #012C35 0%,
    #0A3E48 30%,
    #012C35 60%,
    #001A20 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
}

.hero-geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-geometric .circle-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.08);
  animation: floatCircle 20s ease-in-out infinite;
}

.hero-geometric .circle-2 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.06);
  animation: floatCircle 15s ease-in-out infinite reverse;
}

.hero-geometric .circle-3 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
  animation: floatCircle 18s ease-in-out infinite;
}

.hero-geometric .line-vertical {
  position: absolute;
  left: 8%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.1), transparent);
}

.hero-geometric .line-horizontal {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.08), transparent);
}

@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -15px) scale(1.02); }
  66% { transform: translate(-10px, 10px) scale(0.98); }
}

/* Hero image overlay */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 44, 53, 0.85) 0%,
    rgba(1, 44, 53, 0.4) 50%,
    rgba(1, 44, 53, 0.7) 100%
  );
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4rem;
  width: 100%;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-title .gold-text {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-tagline {
  font-family: var(--font-subheading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), transparent 40%, transparent 60%, rgba(201, 169, 110, 0.2));
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-gold);
}

.hero-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceScroll 3s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes bounceScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTIONS - Common
   ============================================================ */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.section-warm {
  background: var(--color-bg-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-label {
  margin-bottom: 1rem;
}

.section-header .section-label::after {
  margin: 0.5rem auto 0;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.header-left {
  text-align: left;
}

.header-left .section-label::after {
  margin: 0.5rem 0 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.about-feature:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
  font-size: 0.9rem;
}

.about-feature-text h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.about-feature-text p {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-card {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: white;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.about-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--color-gold);
}

.about-card h3 {
  font-family: var(--font-heading);
  color: white;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ============================================================
   SPECIALTIES SECTION
   ============================================================ */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.specialty-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 110, 0.2);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.specialty-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(1, 44, 53, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
  color: var(--color-primary);
  font-size: 1.2rem;
}

.specialty-card:hover .specialty-icon {
  background: rgba(201, 169, 110, 0.12);
  color: var(--color-gold);
}

.specialty-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.specialty-card p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.specialty-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition-fast);
}

.specialty-card:hover .specialty-link {
  gap: 0.6rem;
}

/* ============================================================
   EXAMS SECTION
   ============================================================ */
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.exam-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.exam-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 110, 0.15);
  transform: translateY(-3px);
}

.exam-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-gold);
  font-size: 1.2rem;
}

.exam-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.exam-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   LABORATORY SECTION
   ============================================================ */
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lab-content h2 {
  margin-bottom: 1.5rem;
}

.lab-content p {
  margin-bottom: 1.2rem;
}

.lab-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.lab-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-bg-warm);
  border-radius: var(--radius-md);
}

.lab-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.lab-stat-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.35rem;
}

.lab-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lab-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.lab-feature-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 169, 110, 0.15);
}

.lab-feature-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
  font-size: 0.85rem;
}

.lab-feature-item h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.lab-feature-item p {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ============================================================
   DIFFERENTIALS SECTION
   ============================================================ */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.differential-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
}

.differential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.differential-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(1, 44, 53, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.3rem;
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.differential-card:hover .differential-icon {
  background: rgba(201, 169, 110, 0.1);
  transform: scale(1.1);
}

.differential-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.differential-card p {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
.schedule-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.schedule-info h2 {
  margin-bottom: 1.5rem;
}

.schedule-info p {
  margin-bottom: 2rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table tr {
  border-bottom: 1px solid var(--color-border-light);
}

.schedule-table td {
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
}

.schedule-table td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

.schedule-table td:last-child {
  text-align: right;
  color: var(--color-text-light);
  font-family: var(--font-accent);
  font-weight: 500;
}

.schedule-table .highlight-day td {
  color: var(--color-gold);
}

.schedule-note {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(201, 169, 110, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 169, 110, 0.12);
}

.schedule-note p {
  font-size: 0.82rem;
  color: var(--color-gold-dark);
  margin-bottom: 0;
}

.schedule-visual {
  display: flex;
  justify-content: center;
}

.schedule-card {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: white;
  max-width: 380px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
}

.schedule-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.schedule-card h3 {
  color: white;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.schedule-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.location-card:hover {
  box-shadow: var(--shadow-sm);
}

.location-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(1, 44, 53, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold);
  font-size: 1.1rem;
}

.location-card h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.location-card p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
  box-shadow: var(--shadow-md);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(201, 169, 110, 0.15);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(201, 169, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-gold);
}

.contact-card h4 {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-card .contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-gold);
  margin-top: 0.5rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg-warm);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
  background: var(--color-white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.cta-content h2 {
  color: var(--color-white);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-name {
  font-size: 1.1rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.08);
}

.footer h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.35rem 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item .fc-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-gold);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-anim] {
  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-anim].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-anim="fade-up"] { transform: translateY(30px); }
[data-anim="fade-left"] { transform: translateX(-30px); }
[data-anim="fade-right"] { transform: translateX(30px); }
[data-anim="fade-scale"] { transform: scale(0.92); }

[data-anim="fade-up"].visible,
[data-anim="fade-left"].visible,
[data-anim="fade-right"].visible,
[data-anim="fade-scale"].visible {
  transform: translateY(0) translateX(0) scale(1);
}

[data-anim-delay="100"] { transition-delay: 0.1s; }
[data-anim-delay="200"] { transition-delay: 0.2s; }
[data-anim-delay="300"] { transition-delay: 0.3s; }
[data-anim-delay="400"] { transition-delay: 0.4s; }
[data-anim-delay="500"] { transition-delay: 0.5s; }
[data-anim-delay="600"] { transition-delay: 0.6s; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-tooltip);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.2); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 72px;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: var(--z-tooltip);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-base);
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   COOKIE CONSENT (minimal)
   ============================================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-content p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.loading-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: var(--color-gold-gradient);
  border-radius: 2px;
  animation: loadingSlide 1.5s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (768-1024px) */
@media (max-width: 1024px) {
  .hero-content .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }

  .schedule-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .location-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 44, 53, 0.98);
    backdrop-filter: blur(20px);
    z-index: var(--z-overlay);
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .nav.open a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav.open a:hover {
    color: var(--color-gold);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .social-header {
    display: none;
  }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
  :root {
    --section-padding: 3.5rem 0;
    --gutter: 1.25rem;
  }

  .header {
    padding: 0.75rem 0;
  }

  .header.scrolled {
    padding: 0.5rem 0;
  }

  .header-actions .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 6rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 2rem;
  }

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

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

  .lab-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .lab-stat {
    padding: 1rem 0.5rem;
  }

  .lab-stat-number {
    font-size: 1.3rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    bottom: 16px;
    right: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .differentials-grid {
    grid-template-columns: 1fr;
  }

  .schedule-table td {
    font-size: 0.82rem;
    padding: 0.75rem 0.35rem;
  }
}

/* ============================================================
   DARK MODE SUPPORT (optional, for accessibility)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .header,
  .whatsapp-float,
  .back-to-top,
  .cookie-consent,
  .loading-screen,
  .hero-scroll {
    display: none !important;
  }

  .section {
    padding: 2rem 0;
  }
}
