/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #011A4F;
  --primary-dark: #000e33;
  --primary-light: #edf1f8;
  --accent: #f58220;
  --accent-light: #fff3e6;
  --dark: #011A4F;
  --gray-900: #011A4F;
  --gray-700: #3d4455;
  --gray-600: #5a6175;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f7f8fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px -12px rgba(1,26,79,0.15), 0 8px 16px -8px rgba(0,0,0,0.06);
  --shadow-xl: 0 32px 64px -16px rgba(1,26,79,0.12), 0 16px 32px -8px rgba(0,0,0,0.05);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(245,130,32,0.3);
}

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(27,46,92,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245,130,32,0.3);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: none;
}

.logo-header-img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

.logo-icon-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.logo-icon::after {
  display: none;
}

.logo-footer-img {
  height: 50px;
  width: auto;
  border-radius: 10px;
}

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

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

.logo-sub {
  font-size: 0.68rem;
  color: var(--gray-600);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.85rem;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 3px 10px rgba(245,130,32,0.25);
}

.header-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(27,46,92,0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
  padding: 150px 0 90px;
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--white) 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26,86,168,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  transition: all 0.4s ease;
}

.hero-tag:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 3px;
}

/* Global highlight for section headings */
.highlight {
  color: var(--accent);
  position: relative;
}

h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 2px;
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  transform: scale(1.02) rotate(0.5deg);
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.5s ease;
}

.hero-image:hover img {
  box-shadow: 0 40px 80px -20px rgba(27,46,92,0.2), 0 20px 40px -10px rgba(245,130,32,0.1);
}

/* ===== MARQUEE ===== */
.marquee-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

.marquee-track .dot { color: var(--accent); opacity: 1; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SPECIALTIES (con imágenes) ===== */
.specialties {
  padding: 100px 0;
  background: var(--gray-100);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
}

.link-arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.link-arrow:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.specialty-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(27,46,92,0.15), 0 10px 20px -5px rgba(245,130,32,0.08);
  border-color: var(--accent);
}

.specialty-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.specialty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.specialty-card:hover .specialty-img img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.specialty-num {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  padding: 16px 20px 0;
  display: block;
  letter-spacing: 0.02em;
}

.specialty-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  padding: 6px 20px 16px;
  letter-spacing: -0.02em;
}

.specialty-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialty-card:hover .specialty-link {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.15) rotate(45deg);
}

/* ===== WHY US ===== */
.why-us { padding: 100px 0; }

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.why-us-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 480px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.why-us-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.why-us-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -8px rgba(245,130,32,0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.4s ease;
}

.feature:hover .feature-icon {
  background: var(--accent);
  transform: scale(1.1) rotate(5deg);
}

.feature h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.feature p {
  font-size: 0.83rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== PROVIDERS / DOMICILIOS ===== */
.providers {
  padding: 100px 0;
  background: var(--primary-light);
}

.providers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.providers-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.providers-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.providers-content > p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 24px;
}

.providers-list { margin-bottom: 32px; }

.providers-list li {
  padding: 12px 0;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid rgba(26,86,168,0.1);
}

.providers-list li:last-child { border-bottom: none; }

.providers-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.providers-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 450px;
}

/* ===== STORY ===== */
.story { padding: 100px 0; }

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: contain;
}

.story-content h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.story-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.story-content p {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ===== MAP ===== */
.map-section {
  padding: 80px 0 0;
  background: var(--white);
}

.map-wrapper {
  margin-top: 32px;
  overflow: hidden;
  line-height: 0;
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  padding: 80px 0 0;
  color: var(--gray-400);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-footer .logo-footer-img { height: 50px; }

.footer-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-tags span {
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--accent); }
.contact-phones a { display: inline; }

.footer-bottom { padding: 24px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--accent);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 120px 0 80px;
  min-height: 70vh;
}

.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.legal-section ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-whatsapp 2s infinite;
}

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

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ===== CAROUSEL ===== */
.carousel-section {
  padding: 100px 0;
  background: var(--gray-100);
  position: relative;
}

.carousel {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -15px rgba(1,26,79,0.2), 0 8px 20px -8px rgba(0,0,0,0.1);
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel:hover {
  box-shadow: 0 30px 70px -15px rgba(1,26,79,0.25), 0 15px 35px -10px rgba(245,130,32,0.15), 0 0 40px -10px rgba(245,130,32,0.1);
  transform: translateY(-4px);
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
  display: block;
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.5s ease, transform 0.5s ease;
}

.carousel:hover .carousel-slide.active img {
  filter: brightness(1.05) contrast(1.02);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(transparent, rgba(1,26,79,0.85));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(245,130,32,0.3);
}

.carousel-prev { order: -1; }
.carousel-next { order: 1; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

.carousel-dot:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner-text h2 .highlight {
  color: var(--accent);
}

.cta-banner-text h2 .highlight::after {
  display: none;
}

.cta-banner-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

.cta-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245,130,32,0.3);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--gray-100);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 8px 20px -6px rgba(245,130,32,0.1);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
}

.popup-overlay.active .popup-content {
  transform: scale(1) translateY(0);
}

.popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-cta {
  padding: 20px 24px;
  text-align: center;
  background: var(--gray-100);
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.popup-close:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-inner,
  .providers-inner,
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .why-us-content h2,
  .providers-content h2,
  .story-content h2 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  .nav.active { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.2rem; font-weight: 600; color: var(--primary); }
  .menu-toggle { display: flex; z-index: 1001; }
  .header-cta { display: none; }

  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-image { order: 1; }

  .specialties-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .providers-inner { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header h2 { font-size: 1.7rem; }
  .map-wrapper iframe { height: 300px; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-text h2 { font-size: 1.5rem; }
  .cta-banner-buttons { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .btn { padding: 12px 22px; font-size: 0.84rem; }
  .hero-buttons { flex-direction: column; }
  .providers-buttons { flex-direction: column; }
  .specialties-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
  .cta-banner-buttons { flex-direction: column; }
  .popup-content { width: 95%; }
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-caption { font-size: 0.9rem; padding: 16px 20px; }
}
