:root {
  --primary: #2d6a9e;
  --primary-dark: #1d4f79;
  --primary-light: #4a8dc7;
  --accent: #e8a33d;
  --accent-light: #f5c375;
  --text-dark: #1a2332;
  --text-body: #5c6470;
  --text-light: #9aa3b0;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e5e9f0;
  --shadow-sm: 0 2px 8px rgba(29, 79, 121, 0.08);
  --shadow-md: 0 8px 30px rgba(29, 79, 121, 0.12);
  --shadow-lg: 0 20px 60px rgba(29, 79, 121, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-ring {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-text {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 12px;
  font-size: 1.2rem;
}

.logo-img {
  height: 44px;
  width: auto;
}

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

.logo-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: 600;
}

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

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sections */
.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

.text-accent {
  color: var(--primary);
  font-style: italic;
}

.section-subtitle {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eaf3fb 0%, rgba(234, 243, 251, 0.92) 45%, #fdf3e3 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  opacity: 0.18;
  background: url('img/centro-atencion.jpg') center cover no-repeat;
  background-size: cover;
  filter: blur(2px) saturate(0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 60%);
  mask-image: linear-gradient(90deg, transparent, black 60%);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  opacity: 0.15;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 40%;
  left: 10%;
  opacity: 0.1;
}

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

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 50px;
  align-items: center;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-photo-float {
  position: relative;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

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

.hero-inner > .hero-photo {
  margin-top: -100px;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(29, 79, 121, 0.25);
  z-index: 2;
}

.hero-photo-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-doctor-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 60px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 3;
  transition: var(--transition);
}

.hero-doctor-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-doctor-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--white);
}

.hero-doctor-name {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.85rem;
  line-height: 1.2;
}

.hero-doctor-role {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 500;
}

.hero-photo-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
  filter: blur(20px);
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-photo-frame {
    max-width: 100%;
  }

  .hero-photo-img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding-top: 20px;
  }

  .hero-photo-img {
    height: 300px;
  }

  .hero-doctor-badge {
    bottom: 12px;
    left: 12px;
    padding: 6px 16px 6px 6px;
  }

  .hero-doctor-img {
    width: 36px;
    height: 36px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(232, 163, 61, 0);
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--primary);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--accent);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 40px;
  color: var(--text-body);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-large {
  padding: 16px 34px;
  font-size: 1rem;
}

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

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 600px;
}

.stat {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.stat-suffix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  position: absolute;
  top: 0;
  right: -20px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  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);
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* About */
.about {
  background: var(--white);
}

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

.about-images {
  position: relative;
  padding-bottom: 60px;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  right: -20px;
  background: var(--white);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
}

.exp-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about-features {
  margin: 32px 0;
  display: grid;
  gap: 20px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border);
}

.feature h4 {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.feature p {
  font-size: 0.9rem;
}

/* Services */
.services {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--off-white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: var(--accent);
  transform: scale(1.1);
}

.service-card-featured .service-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: var(--white);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card:not(.service-card-featured) .service-title {
  color: var(--text-dark);
}

.service-card-featured .service-title {
  color: var(--white);
}

.service-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card-featured .service-desc {
  color: rgba(255, 255, 255, 0.8);
}

.service-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-card-featured .service-footer {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.service-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

.service-card-featured .service-tag {
  color: var(--accent-light);
}

/* Team */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.team-img {
  padding: 0;
  overflow: hidden;
}

.team-photo {
  height: 260px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-photo-2 {
  height: 320px;
}

.team-info {
  padding: 32px;
  text-align: center;
}

.team-name {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.team-social {
  display: flex;
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Casos Clínicos */
.casos {
  background: var(--off-white);
}

.casos-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.casos-filter {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.casos-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.casos-filter.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 48px;
}

.caso-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.caso-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.caso-card.hide {
  display: none;
}

.caso-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--off-white);
}

.caso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.caso-card:hover .caso-img img {
  transform: scale(1.08);
}

.caso-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.caso-tipo {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.caso-info {
  padding: 14px 16px 18px;
}

.caso-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.caso-desc {
  font-size: 0.82rem;
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  .casos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .caso-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .casos-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials {
  background: var(--off-white);
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-avatar-2 {
  background: linear-gradient(135deg, var(--accent), #d98a1f);
}

.testimonial-avatar-3 {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.testimonial-name {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-detail {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta::before {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.cta::after {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}

.contact-text {
  margin: 20px 0 32px;
  font-size: 1.05rem;
  max-width: 460px;
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border);
}

.contact-item h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-item p {
  font-size: 0.9rem;
}

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link-large:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form-wrapper {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 600;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 158, 0.1);
}

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

/* Footer */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 100;
  }

  .nav-menu.active {
    right: 0;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .hero-scroll {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .cta-title {
    font-size: 2rem;
  }

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

  .contact-form-wrapper {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .about-experience-badge {
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .about-img-main img {
    height: 320px;
  }

  .about-img-secondary img {
    height: 180px;
  }

  .team-photo {
    height: 200px;
  }

  .team-photo-2 {
    height: 240px;
  }
}
