/* =========================================
   ONCO ORTOPEDIA — TEMA CUSTOM
   Mobile-first · Branding navy + oro
   ========================================= */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === TOKENS DE DISEÑO === */
:root {
  /* Colores marca */
  --navy: #1B3A5F;          /* Azul navy del logo */
  --navy-dark: #0F2540;
  --navy-light: #2C5180;
  --gold: #C9A66B;           /* Oro del logo */
  --gold-dark: #A88848;
  --gold-light: #E2C99A;
  --cream: #FFF5E5;          /* Beige claro del fondo del sitio actual */
  --cream-dark: #F5EBD8;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #999999;
  --gray-600: #555555;
  --gray-800: #2A2A2A;

  /* Acción */
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;

  /* Tipografía */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;
  --space-20: 9rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 58, 95, 0.08);
  --shadow-md: 0 8px 24px rgba(27, 58, 95, 0.12);
  --shadow-lg: 0 16px 48px rgba(27, 58, 95, 0.18);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}

/* === BASE TYPO === */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--navy); }
em, i { font-style: italic; }

::selection { background: var(--gold); color: var(--navy-dark); }

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  min-height: 52px;
}

/* Botón primario (Agenda) */
.btn-agenda {
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-agenda:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Botón secundario (Contacto / WhatsApp) */
.btn-contacto {
  background: var(--whatsapp);
  color: var(--white);
  border: 2px solid var(--whatsapp);
  box-shadow: var(--shadow-md);
}
.btn-contacto:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Botón ghost (sobre fondo oscuro) */
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn svg { width: 20px; height: 20px; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 245, 229, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 58, 95, 0.08);
  transition: all var(--t-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

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

.site-logo-text {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.1;
}

.site-logo-text strong {
  display: block;
  color: var(--gold);
  font-weight: 800;
}

.nav-desktop {
  display: none;
}

.nav-menu {
  display: flex;
  gap: var(--space-6);
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--t-fast);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.nav-menu a:hover::after,
.nav-menu li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all var(--t-base);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--navy);
  padding: var(--space-16) var(--space-6) var(--space-6);
  transition: right var(--t-slow);
  z-index: 105;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav-mobile.open {
  right: 0;
  box-shadow: -16px 0 48px rgba(0,0,0,0.2);
}

.nav-mobile .nav-menu {
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.nav-mobile .nav-menu a {
  color: var(--cream);
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,245,229,0.1);
  display: block;
}

.nav-mobile .nav-menu a::after { display: none; }

.nav-mobile .btn {
  margin-bottom: var(--space-3);
  width: 100%;
}

.nav-mobile .btn-agenda {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 64, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  z-index: 102;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open { overflow: hidden; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 78vh;
  padding: var(--space-12) 0 var(--space-10);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 37, 64, 0.92) 0%,
    rgba(27, 58, 95, 0.85) 50%,
    rgba(168, 136, 72, 0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  margin-bottom: var(--space-4);
}

.hero h1 .accent {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255, 245, 229, 0.92);
  margin-bottom: var(--space-6);
  max-width: 600px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}

.hero-trust {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  color: var(--cream);
  font-size: 0.9rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.9;
}

.hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* === SECTION GENERAL === */
section {
  padding: var(--space-10) 0;
}

.section-eyebrow {
  display: block;
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin-bottom: var(--space-8);
}

.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* === SOBRE NOSOTROS === */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 58, 95, 0.3));
  z-index: 1;
}

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

.about-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  z-index: 2;
  background: rgba(255, 245, 229, 0.95);
  backdrop-filter: blur(12px);
  padding: var(--space-4);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}

.about-badge strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.about-badge span {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.about-text h2 .accent {
  display: block;
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 400;
}

.about-features {
  list-style: none;
  margin: var(--space-6) 0;
  display: grid;
  gap: var(--space-3);
}

.about-features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.about-features li::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* === SERVICIOS === */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

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

.service-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  margin-bottom: var(--space-3);
}

.service-content p {
  color: var(--gray-600);
  flex: 1;
  margin-bottom: var(--space-4);
  font-size: 0.95rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  color: var(--gold-dark);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

/* === TRAYECTORIA / BIO === */
.bio {
  background: var(--navy);
  color: var(--cream);
}

.bio h2 {
  color: var(--cream);
}

.bio h2 .accent {
  color: var(--gold);
}

.bio-grid {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

.bio-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

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

.bio-text {
  font-size: 1.05rem;
  line-height: 1.75;
}

.bio-text p {
  margin-bottom: var(--space-4);
}

.bio-text strong {
  color: var(--gold);
  font-weight: 600;
}

.bio-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 245, 229, 0.15);
}

.bio-stat strong {
  display: block;
  color: var(--gold);
  font-size: 2.5rem;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.bio-stat span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* === TESTIMONIO === */
.testimonial {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
  border-top: 5px solid var(--gold);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: var(--space-5);
}

.testimonial-quote::before {
  content: '"';
  display: block;
  font-size: 5rem;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 0.5;
  margin-bottom: var(--space-2);
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.cta-banner h2 .accent {
  color: var(--gold);
  display: block;
  font-style: italic;
  font-weight: 400;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-6);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.map-grid {
  display: grid;
  min-height: 400px;
}

.map-info {
  padding: var(--space-8) var(--space-5);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h2 {
  margin-bottom: var(--space-5);
}

.map-info-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  align-items: flex-start;
}

.map-info-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  margin-top: 2px;
}

.map-info-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.map-info-item a, .map-info-item span {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.map-info-item a:hover { color: var(--gold-dark); }

.map-embed {
  min-height: 400px;
  background: var(--gray-200);
}

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

/* === BLOG === */
.blog-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.blog-card-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
}

.blog-card h3 a:hover { color: var(--gold-dark); }

.blog-card-excerpt {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: var(--space-4);
}

.blog-card-link {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--t-fast);
}

.blog-card-link:hover {
  gap: var(--space-3);
  color: var(--navy);
}

/* === ARTÍCULO INDIVIDUAL === */
.article-hero {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-10) 0 var(--space-8);
  text-align: center;
}

.article-hero h1 {
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto var(--space-4);
}

.article-meta {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.article-content {
  background: var(--white);
  padding: var(--space-10) 0;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.article-body h2, .article-body h3 {
  margin: var(--space-8) 0 var(--space-4);
}

.article-body p { margin-bottom: var(--space-5); }

.article-body img {
  border-radius: var(--radius);
  margin: var(--space-6) 0;
  box-shadow: var(--shadow-md);
}

.article-body ul, .article-body ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.article-body ul li { list-style: disc; margin-bottom: var(--space-2); }
.article-body ol li { list-style: decimal; margin-bottom: var(--space-2); }

.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--gray-600);
  font-size: 1.15rem;
}

.article-body a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cta {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-8);
  text-align: center;
  border: 2px dashed var(--gold);
}

.article-cta h3 {
  margin-bottom: var(--space-3);
}

.article-cta p {
  margin-bottom: var(--space-5);
  color: var(--gray-600);
}

/* === FOOTER === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 245, 229, 0.9);
  padding: var(--space-10) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand img {
  height: 64px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col ul li {
  margin-bottom: var(--space-2);
}

.footer-col ul li a {
  color: rgba(255, 245, 229, 0.85);
  font-size: 0.95rem;
  transition: color var(--t-fast);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  align-items: flex-start;
}

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

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

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 245, 229, 0.1);
  color: var(--cream);
  transition: all var(--t-base);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 245, 229, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* === FLOATING WHATSAPP === */
.btn-contacto-flotante {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 95;
  transition: all var(--t-base);
  animation: pulse 2.5s infinite;
}

.btn-contacto-flotante:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
}

.btn-contacto-flotante svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* === COMMENTS / FORMS === */
.comment-form {
  max-width: 740px;
  margin: var(--space-8) auto 0;
  padding: var(--space-6);
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--t-fast);
}

.pagination a {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.pagination a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.pagination .current {
  background: var(--navy);
  color: var(--cream);
}

/* === RESPONSIVE — TABLET === */
@media (min-width: 720px) {
  section { padding: var(--space-12) 0; }

  .hero-cta { flex-direction: row; align-items: center; }

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

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

  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-10);
  }

  .bio-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-10);
  }

  .bio-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .map-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }

  .map-embed { min-height: 500px; }
  .map-embed iframe { min-height: 500px; }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .site-logo-text { display: block; }
  .site-logo img { height: 64px; }
}

/* === RESPONSIVE — DESKTOP === */
@media (min-width: 1024px) {
  section { padding: var(--space-16) 0; }

  .menu-toggle { display: none; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-6);
  }
  .nav-mobile { display: none; }

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

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

  .hero { min-height: 85vh; }

  .header-inner { padding: var(--space-3) var(--space-6); }
}

/* === UTILS === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ACCESIBILIDAD === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
