/* ══════════════════════════════════════════════
   SHARED STYLES — Dra. Claudia Valtierra
   Global Design System
══════════════════════════════════════════════ */

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

:root {
  /* Core Palette — Derived from Logo & Medical Standards */
  --navy: #0a192f;
  /* Deep professional navy */
  --navy-mid: #112240;
  --teal: #32C2CD;
  /* Updated Brand Color */
  --teal-lt: #57d5df;
  /* Correlated light shade */
  --gold: #B14763;
  /* Sophisticated Premium Gold */
  --gold-lt: #f1e4bc;
  --white: #ffffff;
  --bg-clean: #fcfcfd;
  /* Ultra clean medical background */
  --cream-soft: #f8f9fa;
  --gray: #4b5563;
  --gray-lt: #e5e7eb;
  --green: #10b981;
  --red: #ef4444;

  /* Typography */
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Elevation & Glassmorphism */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(10, 25, 47, .05);
  --shadow-md: 0 10px 30px rgba(10, 25, 47, .08);
  --shadow-lg: 0 20px 50px rgba(10, 25, 47, .12);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);

  --transition: 0.4s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-clean);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(50, 194, 205, 0.08);
  border: 1px solid rgba(50, 194, 205, 0.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

/* Optional dot for section-label to fully match hero-badge if desired */
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(50, 194, 205, 0.4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

#sobre-mi .section-label,
.process-section .section-label {
  background: rgba(50, 194, 205, 0.15);
  border-color: rgba(50, 194, 205, 0.3);
  color: var(--teal-lt);
}

#sobre-mi .section-label::before,
.process-section .section-label::before {
  background: var(--teal-lt);
  box-shadow: 0 0 10px var(--teal-lt);
}

.section-title em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.body-text {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

.body-text strong {
  color: var(--navy);
  font-weight: 600;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-50 {
  margin-bottom: 50px;
}

.pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(50, 194, 205, 0.08);
  border: 1px solid rgba(50, 194, 205, 0.15);
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(50, 194, 205, 0.12);
  transform: translateY(-2px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: white;
  box-shadow: 0 10px 25px rgba(50, 194, 205, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-lt), var(--teal));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(50, 194, 205, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.btn-wa {
  background: #25d366;
  color: white;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-wa:hover {
  background: #1eb357;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══ NAVBAR ══ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: var(--transition);
}

#navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav-links>a,
.nav-item-dropdown>a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
  display: block;
}

.nav-links>a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.nav-links>a:hover::after {
  transform: scaleX(1);
}

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

.nav-phone {
  font-size: .85rem;
  color: var(--navy);
  font-weight: 500;
}

.nav-btn-small {
  padding: 10px 22px;
  font-size: 0.82rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 4px;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Dropdown Styles */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

/* Bridge to keep hover active */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
  pointer-events: none;
}

.nav-item-dropdown:hover::after {
  pointer-events: auto;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 12px;
  padding: 12px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem !important;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy) !important;
  display: block;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--bg-clean);
  color: var(--teal) !important;
  transform: translateX(4px);
}

.dropdown-indicator {
  font-size: 0.6rem;
  margin-left: 4px;
  opacity: 0.5;
  transition: transform 0.3s;
}

.nav-item-dropdown:hover .dropdown-indicator {
  transform: rotate(180deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: white;
  letter-spacing: .04em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  flex-shrink: 0;
}

.mobile-nav a.btn {
  display: inline-flex;
  padding: 16px 34px;
  border-bottom: none;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.mobile-nav .mobile-sublink {
  padding-left: 24px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  opacity: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav .nav-label {
  padding: 10px 0 5px;
  font-size: 0.7rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, .6);
  font-size: 1.8rem;
  background: none;
  border: none;
}


/* ══ FLOATING BUTTONS ══ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .4);
  transition: var(--transition);
  animation: floatWa 3s ease-in-out infinite;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, .5);
}

@keyframes floatWa {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.float-wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: white;
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}

.float-wa:hover .float-wa-tooltip {
  opacity: 1;
}

/* ══════════════════════════════════════
   BLOG SYSTEM STYLES
══════════════════════════════════════ */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.blog-filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 15px rgba(50, 194, 205, 0.3);
}

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

/* Post Template */
.post-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--navy), #1a365d);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(50, 194, 205, 0.15), transparent 70%);
}

.post-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 2;
}

.post-meta-top .blog-tag {
  position: static;
  background: rgba(255,255,255,0.1);
  color: white;
}

.post-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.post-content-wrap {
  padding: 80px 0;
}

.post-content {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  margin: 50px 0 25px;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 35px 0 15px;
}

.post-content p {
  margin-bottom: 25px;
}

.post-content ul, .post-content ol {
  margin-bottom: 25px;
  padding-left: 25px;
}

.post-content li {
  margin-bottom: 12px;
}

.post-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

/* Responsive Table container inside blog post */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  margin: 40px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-lt);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 1.0rem;
}

.post-content th,
.post-content td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-lt);
}

.post-content th {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  white-space: nowrap;
}

.post-content tr:last-child td {
  border-bottom: none;
}

.post-content tr:nth-child(even) {
  background-color: var(--cream-soft);
}

.post-share {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-lt);
  display: flex;
  align-items: center;
  gap: 20px;
}

.post-share span {
  font-weight: 700;
  color: var(--navy);
}

.post-share .social-btn {
  background: var(--bg-clean);
  color: var(--navy);
  border-color: var(--gray-lt);
}

.post-share .social-btn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* ══════════════════════════════════════
   HOME PAGE SPECIFIC
══════════════════════════════════════ */

/* HERO HOME */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(50, 194, 205, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 120px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(50, 194, 205, 0.1);
  border: 1px solid rgba(50, 194, 205, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--teal-lt);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--teal-lt);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

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

.hero-subtitle strong {
  color: white;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

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

.hero-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-main-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4/5;
  margin: 20px auto 0;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  /* Adjusted to center the Doctor better */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.4) 0%, transparent 40%);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* Floating Stats in Hero */
.hero-floating-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  width: 100%;
  z-index: 5;
}

.h-stat-card {
  background: rgba(17, 34, 64, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: floatStat 4s ease-in-out infinite;
}

.h-stat-card:nth-child(2) {
  animation-delay: 1s;
}

.h-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.h-stat-lab {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Trust Badge in Hero */
.hero-trust-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  gap: 12px;
  margin: 15px auto 0;
  width: 100%;
  max-width: 320px;
  z-index: 10;
}

.h-trust-icon {
  font-size: 1.8rem;
}

.h-trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.h-trust-sub {
  font-size: .8rem;
  color: var(--gray);
  font-weight: 500;
}

@keyframes floatStat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* TRUST BAR */
#trust {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  text-align: left;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 5px;
}

.trust-inner::-webkit-scrollbar {
  display: none;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.trust-item .icon {
  font-size: 1.1rem;
}

.trust-item strong {
  color: rgba(255, 255, 255, .9);
}

/* SERVICES GRID HOME */
#servicios {
  padding: 120px 0;
  background: var(--white);
}

.services-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
  text-align: center;
}

.services-desc {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  flex: 1 1 350px;
  max-width: 400px;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-md);
  padding: 40px 35px;
  transition: all 0.5s cubic-bezier(.2, 1, .3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(50, 194, 205, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(10, 25, 47, 0.12);
  border-color: var(--teal);
}

.service-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(50, 194, 205, 0.1), rgba(50, 194, 205, 0.05));
  border: 1px solid rgba(50, 194, 205, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 24px;
  transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 5px 15px rgba(50, 194, 205, 0.1);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 25px rgba(50, 194, 205, 0.3);
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  transition: color 0.3s ease;
}

.service-card:hover .service-name {
  color: var(--teal);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .02em;
  transition: all 0.3s ease;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  gap: 14px;
}

.service-link:hover {
  gap: 12px;
}

/* ABOUT HOME — DARK THEME REFINEMENT */
#sobre-mi {
  padding: 140px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
  position: relative;
  overflow: hidden;
}

#sobre-mi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(50, 194, 205, 0.15), transparent 60%);
  pointer-events: none;
}

.about-balanced-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Portrait Column */
.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-portrait {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Fine-tuned for portrait focus */
  display: block;
  transition: transform 0.8s ease;
}

.about-portrait:hover .portrait-img {
  transform: scale(1.05);
}

.portrait-decor {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.6), transparent 50%);
}

.portrait-quote-card {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.portrait-quote-card p {
  font-size: .95rem;
  font-style: italic;
  color: white;
  line-height: 1.5;
  font-weight: 300;
}

/* Info Column */
#sobre-mi .section-title {
  color: white;
}

#sobre-mi .section-title em {
  color: var(--gold);
}

.about-info-wrap {
  padding-right: 20px;
}

.p-highlight {
  font-size: 1.25rem;
  color: var(--teal-lt);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
}

.about-bio p:not(.p-highlight) {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.feat-item {
  display: flex;
  gap: 18px;
  align-items: center;
}

.feat-bullet {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feat-item strong {
  display: block;
  font-size: 1rem;
  color: white;
  margin-bottom: 2px;
}

.feat-item p {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.5);
}

.about-cta-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.about-cta-footer .btn {
  width: 100%;
}

/* TESTIMONIALS HOME */
#resenas {
  padding: 120px 0;
  background: var(--bg-clean);
}

.reviews-head {
  text-align: center;
  margin-bottom: 80px;
}

.reviews-stars,
.review-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.review-card .review-stars {
  justify-content: flex-start;
}

.star {
  display: inline-flex;
  align-items: center;
}

.reviews-meta {
  font-size: .95rem;
  color: var(--gray);
  margin-top: 10px;
}

.reviews-carousel-wrapper {
  position: relative;
  margin-top: 40px;
  overflow: visible;
}

.reviews-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 30px 28px 80px;
  margin: 0 -28px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 85%;
  min-height: 400px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.c-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  background: white;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.c-nav-btn:hover {
  background: var(--teal);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.c-nav-btn:active {
  transform: scale(0.95);
}

.review-card:hover {
  border-color: var(--teal);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 30px;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid var(--gray-lt);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.review-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}

.review-city {
  font-size: .8rem;
  color: var(--gray);
}

/* BLOG HOME */
#blog {
  padding: 120px 0;
  background: var(--white);
}

.blog-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  margin-bottom: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-lt);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.blog-img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-img-icon {
  font-size: 4rem;
  opacity: .3;
  color: white;
  display: none;
}

.blog-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--teal);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-body {
  padding: 35px 30px;
}

.blog-date {
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: 12px;
  display: block;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.blog-excerpt {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-more {
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.blog-more:hover {
  gap: 12px;
}

/* CTA BANNER HOME */
#cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(50, 194, 205, 0.15), transparent 60%);
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: white;
  margin-bottom: 20px;
}

.cta-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.cta-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 45px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.cta-actions .btn {
  width: 100%;
}

.cta-btn-alt {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.cta-btn-alt:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* CONTACT HOME */
#contacto {
  padding: 80px 0;
  background: var(--bg-clean);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contact-photo {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-lt);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s ease;
}

.contact-photo:hover img {
  transform: scale(1.05);
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 25px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-lt);
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.ci-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(50, 194, 205, 0.1), rgba(50, 194, 205, 0.05));
  border: 1px solid rgba(50, 194, 205, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.ci-label {
  font-size: .8rem;
  color: var(--gray);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.ci-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.ci-val-address {
  font-size: .95rem;
  line-height: 1.6;
}

.hours-card {
  padding: 35px;
  background: var(--navy);
  border-radius: var(--radius-md);
  margin-top: 15px;
  box-shadow: var(--shadow-lg);
}

.hours-title {
  font-size: .85rem;
  color: var(--teal-lt);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  color: rgba(255, 255, 255, 0.6);
}

.hours-time {
  color: white;
  font-weight: 500;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 35px;
}

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

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: #f9fafb;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(50, 194, 205, 0.1);
  background: white;
}

.form-submit {
  margin-top: 15px;
}

/* REDES SOCIALES SECTION */
#redes-sociales {
  background: linear-gradient(135deg, var(--navy) 0%, #1a365d 100%);
  position: relative;
  overflow: hidden;
}

#redes-sociales::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(50, 194, 205, 0.15), transparent 60%);
}

#redes-sociales .section-title {
  color: white;
}

#redes-sociales .section-label {
  color: var(--gold);
  opacity: 0.9;
}

.social-feeds-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.social-col {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.social-col:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.social-col-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.tiktok-feed-wrap,
.insta-feed-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Instagram Feed Placeholder Styles */
.instagram-feed-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
  margin-bottom: 10px;
}

.insta-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
}

.insta-overlay svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.insta-item:hover img {
  transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
  border: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(188, 24, 136, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-insta:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px rgba(188, 24, 136, 0.5);
  color: white !important;
}

.btn-insta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


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

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 100px 0 50px;
  color: white;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--teal-lt);
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  height: 60px;
  width: auto;
  display: block;
  max-width: 250px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-about {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: .95rem;
  max-width: 400px;
  margin-top: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
  line-height: 1;
  transition: all 0.3s ease;
}

.social-btn:hover {
  opacity: 0.8;
}

.footer-col-title {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: .95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--teal-lt);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.6);
  font-size: .85rem;
  padding-top: 10px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* ══════════════════════════════════════
   SERVICE PAGE SPECIFIC
══════════════════════════════════════ */

/* HERO SERVICE */
.service-hero {
  min-height: 90svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 80px 0;
}

.hero-lasik,
.hero-femtolasik,
.hero-smile,
.hero-cataratas,
.hero-anillos,
.hero-crosslinking,
.hero-retina,
.hero-lente,
.hero-prk,
.hero-lentes-venta,
.hero-icl,
.hero-pterigion {
  background: var(--navy);
}

.hero-bg-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 50%, rgba(14, 127, 138, .2), transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(200, 169, 110, .08), transparent 55%);
}

.hero-bg-decor::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 55px 55px;
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 100px 0 60px;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.breadcrumb:hover {
  color: white;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 127, 138, .2);
  border: 1px solid rgba(14, 127, 138, .4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 20px;
}

.service-icon-lg {
  font-size: 1.1rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: white;
  margin-bottom: 18px;
}

.service-title em {
  font-style: italic;
  color: var(--gold);
}

.service-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.hero-ctas .btn {
  width: 100%;
}

.service-stats-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}

.sstat {
  padding: 15px 0;
  text-align: center;
}

.sstat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.sstat-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
  margin-top: 5px;
  letter-spacing: .06em;
}

.sstat-divider {
  height: 1px;
  background: rgba(255, 255, 255, .1);
}

.float-chip {
  margin-top: 16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 20px rgba(200, 169, 110, .35);
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

/* WHAT SECTION */
.what-section {
  padding: 80px 0;
  background: var(--bg-clean);
}

.what-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  border-left: 4px solid var(--teal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
  border-color: var(--teal);
}

.info-icon {
  font-size: 1.8rem;
  margin-bottom: 15px;
  display: block;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
}

.info-card p {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
}


/* CANDIDATE SECTION */
.candidate-section {
  padding: 80px 0;
  background: var(--white);
}

.candidate-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.candidate-lists {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.clist {
  background: var(--bg-clean);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--gray-lt);
}

.clist.yes {
  border-top: 4px solid var(--green);
}

.clist.no {
  border-top: 4px solid var(--red);
}

.clist-header {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.clist.no .clist-header {
  color: var(--red);
}

.clist ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clist li {
  font-size: .95rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.clist li::before {
  display: none;
}

.clist li svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
  stroke-width: 2.5;
}

.clist.yes li svg {
  color: var(--green);
}

.clist.no li svg {
  color: var(--red);
}

/* FAQ SECTION */
.faq-section {
  padding: 120px 0;
  background: var(--bg-clean);
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  border: 1px solid var(--gray-lt);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--teal);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 25px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-q::after {
  content: '+';
  font-size: 1.8rem;
  color: var(--teal);
  transition: transform 0.4s ease;
  line-height: 1;
}

.faq-q[aria-expanded="true"] {
  color: var(--teal);
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-a.open {
  max-height: 1000px;
  padding-bottom: 30px;
}

/* SERVICE CTA PREMIUM */
.service-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/pattern.png') repeat;
  opacity: 0.05;
}

.cta-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.cta-title {
  color: white !important;
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-title em {
  color: var(--gold);
  font-style: normal;
}

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

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

/* ══════════════════════════════════════
   NEW CONSOLIDATED RESPONSIVE SYSTEM
══════════════════════════════════════ */

/* ── TABLET BREAKPOINT (768px+) ── */
@media (min-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .review-card {
    flex: 0 0 calc((100% - 30px) / 2);
    min-height: 360px;
  }

  .about-cta-footer {
    flex-direction: row;
  }

  .about-cta-footer .btn {
    width: auto;
  }

  .hero-actions,
  .cta-actions,
  .hero-ctas {
    flex-direction: row;
    width: auto;
    justify-content: center;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .hero-ctas .btn {
    width: auto;
  }
}

/* ── DESKTOP BREAKPOINT (1024px+) ── */
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  /* Navbar */
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  /* Hero */
  .hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    padding: 140px 0 100px;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stats {
    flex-direction: row;
    gap: 50px;
    margin-top: 60px;
  }

  .stat-num {
    font-size: 3rem;
  }

  .hero-main-visual {
    max-width: 520px;
    height: 620px;
    aspect-ratio: auto;
    margin: 0;
  }

  .hero-floating-stats {
    position: absolute;
    top: 40px;
    right: -30px;
    flex-direction: column;
    gap: 15px;
    margin-top: 0;
    width: auto;
  }

  .hero-trust-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    margin: 0;
    max-width: none;
    width: auto;
    animation: floatStat 5s ease-in-out infinite alternate;
  }

  /* Trust Bar */
  .trust-inner {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
  }

  /* Services */
  .services-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: flex-end;
  }

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

  /* About */
  .about-balanced-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: center;
  }

  /* Reviews */
  .review-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-height: 380px;
    padding: 40px;
  }

  /* Blog */
  .blog-head {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .blog-head .btn {
    padding: 12px 28px;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Social */
  .social-feeds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Contact */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
  }

  .form-card {
    padding: 50px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 2.5fr 1.2fr 1.2fr 2fr;
    gap: 60px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Service Pages */
  .service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding: 120px 0 80px;
    text-align: left;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .service-lead {
    margin: 0 0 32px;
  }

  .service-stats-card {
    margin: 0;
    transform: none;
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .candidate-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.footer-credit {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.footer-credit a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* WHATSAPP ICON STYLES */
.btn svg,
.float-wa svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.social-btn svg {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 8px;
  margin-top: -2px;
}

.social-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.float-wa svg {
  width: 32px;
  height: 32px;
}

/* FOOTER BUTTONS */
.btn-footer {
  width: 100%;
  padding: 12px 20px !important;
  font-size: 0.85rem !important;
  margin-top: 10px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* PROFESSIONAL SVG ICONS STYLES */
.service-icon svg,
.feat-bullet svg,
.ci-icon svg,
.review-stars svg,
.reviews-stars svg {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: inherit;
}

.feat-bullet svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.ci-icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.review-stars svg,
.reviews-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  stroke: none;
}

.blog-img-icon svg {
  width: 50px;
  height: 50px;
  color: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
}

.review-city svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  vertical-align: -2px;
  margin-right: 4px;
}

/* ADDITIONAL ICON STYLES */
.info-icon svg,
.sstat-icon svg,
.clist-header svg {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.info-icon svg {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 12px;
}

.sstat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.clist-header svg {
  width: 22px;
  height: 22px;
  margin-right: 12px;
  stroke-width: 2;
}

.dropdown-indicator svg {
  transition: transform 0.3s ease;
  stroke-width: 2;
}

.nav-item-dropdown:hover .dropdown-indicator svg {
  transform: rotate(180deg);
}

/* FINAL ICON POLISH */
.nav-phone svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  stroke-width: 2;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.btn svg {
  vertical-align: middle;
  margin-top: -2px;
}

.hero-floating-stats svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ENHANCED FOOTER BUTTONS LEGIBILITY */
.btn-footer {
  margin-top: 15px;
  width: 100%;
  justify-content: center;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  font-size: 0.8rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-footer.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border: none;
}

.btn-footer.btn-primary:hover {
  background: var(--teal-lt);
  color: var(--navy) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(50, 194, 205, 0.3);
}

.btn-footer.btn-primary::before {
  display: none;
}

.btn-footer.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-footer.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-footer svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  color: inherit;
}

/* ADAPTIVE GLASS BUTTONS FOR NAVBAR (Light Background) */
.nav-cta .cta-btn-alt {
  color: var(--navy) !important;
  border-color: rgba(10, 25, 47, 0.15) !important;
  background: rgba(10, 25, 47, 0.04) !important;
  backdrop-filter: blur(5px);
}

.nav-cta .cta-btn-alt:hover {
  background: rgba(10, 25, 47, 0.08) !important;
  border-color: rgba(10, 25, 47, 0.3) !important;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   LASIK & SERVICE PAGE REDESIGN
══════════════════════════════════════ */

/* Enhanced Hero for Services */
.hero-lasik,
.hero-femtolasik,
.hero-smile,
.hero-cataratas,
.hero-anillos,
.hero-crosslinking,
.hero-retina,
.hero-lente,
.hero-prk,
.hero-lentes-venta,
.hero-icl,
.hero-pterigion {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-lasik {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-lasik-v3.png');
}

.hero-femtolasik {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-femtolasik-v2.png');
}

.hero-smile {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/smile-hero-v1.png');
}

.hero-cataratas {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-cataratas-v2.png');
}

.hero-anillos {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-anillos-v1.png');
}

.hero-crosslinking {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-crosslinking-v1.png');
}

.hero-retina {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-retina-v2.png');
}

.hero-lente {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-lente-v1.png');
}

.hero-prk {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-prk-v1.png');
}

.hero-lentes-venta {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-lentes-venta-v1.png');
}

.hero-icl {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-icl-v2.png');
}

.hero-pterigion {
  background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('assets/hero-pterigion-v1.png');
}

.hero-lasik .hero-bg-decor,
.hero-femtolasik .hero-bg-decor,
.hero-smile .hero-bg-decor,
.hero-cataratas .hero-bg-decor,
.hero-anillos .hero-bg-decor,
.hero-crosslinking .hero-bg-decor,
.hero-retina .hero-bg-decor,
.hero-lente .hero-bg-decor,
.hero-prk .hero-bg-decor,
.hero-lentes-venta .hero-bg-decor,
.hero-icl .hero-bg-decor,
.hero-pterigion .hero-bg-decor {
  display: none;
}

.service-hero {
  padding: 160px 0 100px;
  color: white;
}

.service-title {
  color: white !important;
}

.service-lead {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.2rem;
}

.service-stats-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.sstat {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sstat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.sstat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sstat-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Roadmap Timeline Premium — Procedimiento */
.process-section {
  padding: 120px 0;
  background: var(--bg-clean);
  position: relative;
}

.process-section .section-title {
  color: var(--navy) !important;
}

.process-section .section-label {
  color: var(--teal);
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--teal), var(--gold), var(--teal), transparent);
  opacity: 0.4;
}

.timeline-step {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.step-marker {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(50, 194, 205, 0.2), inset 0 0 15px rgba(212, 175, 55, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.step-marker::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed var(--gold);
  opacity: 0;
  transition: 0.4s ease;
}

.timeline-step:hover .step-marker {
  transform: scale(1.1);
  background: var(--teal);
  color: white;
  border-color: var(--gold);
}

.timeline-step:hover .step-marker::after {
  opacity: 1;
  transform: rotate(90deg);
}

.step-content {
  background: white;
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(10, 25, 47, 0.05);
  box-shadow: 0 15px 35px rgba(10, 25, 47, 0.05);
  transition: all 0.4s ease;
  width: 100%;
}

.timeline-step:hover .step-content {
  transform: translateX(10px);
  box-shadow: 0 20px 45px rgba(10, 25, 47, 0.1);
  border-color: var(--teal);
}

.step-content h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.step-content p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.timeline-step:hover .step-content {
  transform: translateX(10px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

/* Why Choose Us Section */
.why-section {
  background: var(--navy);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.why-card {
  padding: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-10px);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
  color: var(--gold);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.why-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Visual Pills/Infographic */
.what-visual-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.v-pill {
  background: white;
  padding: 25px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-lt);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.4s ease;
}

.v-pill:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.v-pill-icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
  margin-bottom: 5px;
}

.v-pill h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
}

.v-pill p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Comparison Checklist */
.check-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-lt);
  box-shadow: var(--shadow-md);
}

.check-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.check-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.check-item.yes svg {
  color: var(--green);
}

.check-item.no svg {
  color: var(--red);
}

.check-item p {
  font-size: 0.95rem;
  color: var(--gray);
}

@media (min-width: 1024px) {
  .steps-timeline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
  }

  .steps-timeline::before {
    height: 2px;
    width: 80%;
    left: 10%;
    top: 32px;
    bottom: auto;
  }

  .timeline-step {
    flex-direction: column;
    width: calc(33.33% - 20px);
    text-align: center;
    align-items: center;
  }

  .step-content {
    padding: 20px;
  }

  .timeline-step:hover .step-content {
    transform: translateY(-10px);
  }
}


/* Responsiveness Refinements for New LASIK Components */
@media (max-width: 768px) {
  .what-visual-pills {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 120px 0 60px;
    text-align: center;
    background-attachment: scroll !important;
  }

  .service-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .steps-timeline::before {
    left: 23px;
  }

  .step-marker {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .timeline-step {
    gap: 15px;
  }

  .step-content {
    padding: 20px;
  }

  .candidate-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .check-box {
    padding: 25px;
  }
}

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

  .sstat-num {
    font-size: 1.8rem;
  }

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

/* Service Page UI Polish */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(50, 194, 205, 0.15);
  border: 1px solid rgba(50, 194, 205, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-lt);
  margin-bottom: 30px;
}

.service-icon-lg svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.breadcrumb {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.breadcrumb:hover {
  color: var(--teal-lt);
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

/* Ensure reveal works correctly on service pages */
.service-hero .reveal {
  transform: translateY(0);
  opacity: 1;
}

/* Disable reveal for hero to ensure immediate visibility */


/* Accessibility & Contrast Refinements */
.breadcrumb {
  color: rgba(255, 255, 255, 0.8);
}

/* Increased from 0.5 */
.service-lead {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Increased from 0.8 */
.sstat-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Increased from 0.6 */
.v-pill p {
  color: var(--navy);
  opacity: 0.85;
}

/* Ensure pill description is readable */
.why-text {
  color: rgba(255, 255, 255, 0.85);
}

/* Increased from 0.6 */
.footer-about {
  color: rgba(255, 255, 255, 0.85);
}

/* Increased contrast for footer about text */

/* Darken hero gradient slightly for better text isolation */
/* Removed redundant override */

/* Ensure mobile nav links are high contrast */
.mobile-nav a {
  color: white;
  font-weight: 500;
}

.mobile-sublink {
  color: rgba(255, 255, 255, 0.8) !important;
}


/* Home Page Contrast Polish */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Increased from 0.7 */
.stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Increased from 0.5 */
.hero-badge {
  background: rgba(50, 194, 205, 0.2);
  color: white;
  font-weight: 500;
}

/* Ensure badge is solid */


/* Fix for visibility in Why Choose Us section */
.why-section .section-title {
  color: white !important;
}

.why-section .section-label {
  color: var(--gold);
  opacity: 1;
}

.why-section .section-title em {
  color: var(--gold);
}

.why-section .why-text {
  color: rgba(255, 255, 255, 0.9);
}


/* Adjustments for Why Choose Us Icons */
.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  /* Subtle gold background */
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--gold);
  transition: all 0.3s ease;
}

.why-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.why-card:hover .why-icon {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(5deg) scale(1.1);
}


/* GRADIENT UTILITIES */
.bg-gradient-dark {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  position: relative;
  overflow: hidden;
}

.bg-gradient-dark .section-title,
.bg-gradient-dark .section-label,
.bg-gradient-dark .body-text,
.bg-gradient-dark .check-item p,
.bg-gradient-dark .clist-header,
.bg-gradient-dark .clist li {
  color: white;
}

.bg-gradient-dark .section-title em {
  color: var(--gold);
}

.bg-gradient-dark .section-label {
  opacity: 0.8;
}

.bg-gradient-dark .check-box,
.bg-gradient-dark .clist {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bg-gradient-dark .check-item svg,
.bg-gradient-dark .clist li svg {
  color: var(--gold);
}

.bg-gradient-dark .clist.yes {
  border-top-color: var(--teal);
}

.bg-gradient-dark .clist.no {
  border-top-color: var(--red);
}

.bg-gradient-dark .clist.no .clist-header {
  color: #ff8a8a;
}

/* Excellence Section Redesign */
.excellence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .excellence-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
  }
}

.excellence-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.excellence-image-wrap img,
.excellence-image-wrap video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.8s ease;
}

.excellence-image-wrap:hover img,
.excellence-image-wrap:hover video {
  transform: scale(1.05);
}

.excellence-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.4), transparent);
}

.excellence-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.v-pill-premium {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-lt);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.v-pill-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}

.v-pill-premium:hover {
  transform: translateX(10px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.v-pill-premium:hover::after {
  height: 100%;
}

.v-pill-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(50, 194, 205, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.v-pill-content h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 5px;
}

.v-pill-content p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

/* Glassmorphism variant */
.bg-gradient-dark .v-pill-premium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.bg-gradient-dark .v-pill-premium h4 {
  color: white;
}

.bg-gradient-dark .v-pill-premium p {
  color: rgba(255, 255, 255, 0.7);
}

/* ── BLOG SIDEBAR ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 992px) {
  .blog-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 60px;
  }
}
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-lt);
}
.sidebar-widget h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-lt);
}
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.recent-posts li a {
  font-weight: 500;
  color: var(--gray);
  line-height: 1.4;
  display: block;
}
.recent-posts li a:hover {
  color: var(--teal);
}
.widget-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: white;
  text-align: center;
  border: none;
}
.widget-cta h3 {
  color: white;
  border-bottom-color: rgba(255,255,255,0.2);
}
.widget-cta p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
}
