/* ==========================================================================
   DR. JULIO FELIZ — BODY DIVINE
   Sitio web oficial · Estilo premium cirujano plástico
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ----------------- TOKENS DE DISEÑO ----------------- */
:root {
  /* Paleta — extraída del DOM en vivo del Beacons oficial */
  --navy:        #232946;
  --navy-deep:   #1a1f38;
  --navy-soft:   #2d3458;
  --gold:        #B68D2C;
  --gold-light:  #d4a847;
  --gold-pale:   #e8c97a;
  --cream:       #fff6ee;
  --cream-2:     #ffe8dc;
  --cream-line:  #f3e7e0;
  --white:       #fffffe;
  --black:       #1c1c1c;
  --gray-100:    #f5f5f5;
  --gray-200:    #e5e5e5;
  --gray-400:    #9a9a9a;
  --gray-600:    #555;

  /* Tipografía */
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, sans-serif;

  /* Forma */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Sombra */
  --shadow-sm:   0 2px 8px rgba(35, 41, 70, 0.08);
  --shadow-md:   0 8px 24px rgba(35, 41, 70, 0.12);
  --shadow-lg:   0 20px 60px rgba(35, 41, 70, 0.18);
  --shadow-gold: 0 8px 24px rgba(182, 141, 44, 0.32);

  /* Transiciones */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:      .2s var(--ease);
  --t-med:       .4s var(--ease);
  --t-slow:      .8s var(--ease);

  /* Layout */
  --max-w:       1200px;
  --max-w-narrow: 880px;
  --header-h:    80px;
}

/* ----------------- RESET & BASE ----------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--t-fast); }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ----------------- TIPOGRAFÍA ----------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: var(--gray-600); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}
.section-title {
  text-align: center;
  margin-bottom: 0.7rem;
}
.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--gray-600);
  font-size: 1.05rem;
}
.lead { font-size: 1.15rem; color: var(--gray-600); }
em, .italic { font-style: italic; color: var(--gold); }

/* ----------------- LAYOUT ----------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--max-w-narrow); }

section {
  padding: 100px 0;
  position: relative;
}
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-cream {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.section-soft { background: var(--gray-100); }

/* ----------------- BOTONES ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--t-fast);
  text-decoration: none;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(182, 141, 44, 0.4);
}
.btn--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn--whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ----------------- HEADER ----------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(35, 41, 70, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: var(--t-fast);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.logo-link img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
}
.logo-text strong { font-size: 1rem; color: var(--white); }
.logo-text span { font-size: 0.7rem; color: var(--gold-pale); letter-spacing: 0.1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  transition: var(--t-fast);
  letter-spacing: 0.02em;
}
.nav a:hover, .nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav a.active { color: var(--gold-pale); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--t-fast);
}
.header-cta:hover { background: var(--gold-light); color: var(--white); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--t-fast);
}

/* ----------------- HERO ----------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(182,141,44,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(182,141,44,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { color: var(--white); }
.hero-content .eyebrow { color: var(--gold-pale); }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-content h1 .gold { color: var(--gold-pale); font-style: italic; }
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-pale);
  font-weight: 700;
  line-height: 1;
}
.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(35,41,70,0.4) 100%);
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  text-align: center;
  z-index: 2;
}
.hero-badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.hero-badge span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }

/* ----------------- TRUST BAR ----------------- */
.trust-bar {
  padding: 50px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item {
  padding: 24px 16px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
}
.trust-item span {
  display: block;
  margin-top: 10px;
  color: var(--gray-600);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.trust-item .underline {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto;
}

/* ----------------- ABOUT (sobre el dr) ----------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.about-photo::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content h2 { margin-bottom: 1.5rem; }
.signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
}
.signature strong { display: block; font-style: normal; color: var(--navy); }
.signature span { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.05em; }

/* ----------------- PROCEDIMIENTOS / SERVICIOS ----------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2rem;
}
.service-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--t-med);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  transition: width var(--t-med);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 0; }
.service-card ul { margin-top: 1rem; }
.service-card li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 6px 0 6px 22px;
  position: relative;
}
.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ----------------- CITA / QUOTE ----------------- */
.quote-section {
  padding: 120px 0;
  background:
    linear-gradient(rgba(35,41,70,0.85), rgba(35,41,70,0.92)),
    url('../img/posts/post-05-foto-rd-1440x1920.jpg') center/cover;
  text-align: center;
  color: var(--white);
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.4;
  color: var(--white);
  position: relative;
  padding: 0 40px;
}
.quote-section blockquote::before,
.quote-section blockquote::after {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-pale);
  opacity: 0.5;
  line-height: 0;
  position: absolute;
}
.quote-section blockquote::before { content: '"'; left: 0; top: 1rem; }
.quote-section blockquote::after { content: '"'; right: 0; bottom: -2rem; }
.quote-section cite {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

/* ----------------- TECNOLOGÍA ----------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 2rem;
}
.tech-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.tech-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.tech-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.tech-card p { font-size: 0.92rem; margin: 0; }

/* ----------------- GALERÍA ----------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2rem;
}
.gallery-item {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(35,41,70,0.6) 100%);
  opacity: 0;
  transition: var(--t-fast);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--t-fast);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------- TIPS / BLOG CARDS ----------------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2rem;
}
.tip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--t-med);
  display: flex;
  flex-direction: column;
}
.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tip-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.tip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.tip-card:hover .tip-card-img img { transform: scale(1.05); }
.tip-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tip-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.tip-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.tip-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  flex: 1;
}
.tip-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.tip-card-link::after { content: ' →'; transition: var(--t-fast); }
.tip-card-link:hover::after { padding-left: 6px; }

/* ----------------- TESTIMONIOS ----------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2rem;
}
.testimonial {
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius-md);
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
  opacity: 0.4;
}
.testimonial p {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--cream-line);
  padding-top: 1rem;
}
.testimonial-author strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}
.testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ----------------- CONTACTO / FORM ----------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info ul { display: flex; flex-direction: column; gap: 24px; }
.contact-info li {
  display: flex;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-info li:last-child { border-bottom: none; }
.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.contact-info strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  margin-bottom: 4px;
  font-size: 1rem;
}
.contact-info p, .contact-info a {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
}
.contact-info a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { margin-bottom: 0.5rem; }
.contact-form .lead { font-size: 0.95rem; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  background: var(--gray-100);
  color: var(--black);
  transition: var(--t-fast);
  font-size: 0.95rem;
}
.form-group textarea {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(182,141,44,0.12);
}
.form-group .btn { width: 100%; }

.map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ----------------- FAQ ----------------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
.faq-question {
  width: 100%;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--t-fast);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med), padding var(--t-med);
  color: var(--gray-600);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 0 24px;
}

/* ----------------- CTA BANNER ----------------- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(182,141,44,0.15) 0%, transparent 60%);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ----------------- FOOTER ----------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 1.5rem;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--gold-pale); }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  transition: var(--t-fast);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--gold-pale); }

/* ----------------- WHATSAPP FLOTANTE ----------------- */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  transition: var(--t-med);
  animation: pulse 2.5s infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.08);
  background: #1ebe5b;
  color: var(--white);
}
.fab-whatsapp svg { width: 32px; height: 32px; fill: currentColor; }
@keyframes pulse {
  0%,100% { box-shadow: 0 12px 30px rgba(37,211,102,0.4); }
  50%     { box-shadow: 0 12px 30px rgba(37,211,102,0.8), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ----------------- PAGE HEADER (no-home) ----------------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: calc(var(--header-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(182,141,44,0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(182,141,44,0.1) 0%, transparent 60%);
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.page-header .eyebrow { color: var(--gold-pale); }
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}
.breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--gold-pale); }
.breadcrumb a:hover { color: var(--white); }

/* ----------------- ANIMACIONES ----------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Above-the-fold (hero / page-header) siempre visibles */
.hero .fade-in,
.page-header .fade-in {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ----------------- RESPONSIVE ----------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 40px 0; }
  .hero-photo-frame { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid, .tips-grid, .testimonials-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { grid-template-columns: 140px 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  section { padding: 70px 0; }
}
@media (max-width: 720px) {
  :root { --header-h: 70px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-md);
  }
  .nav.open a {
    width: 100%;
    padding: 16px 20px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hero-stats { gap: 24px; }
  .hero-stat strong { font-size: 1.6rem; }
  .services-grid, .tips-grid, .testimonials-grid, .gallery-grid { grid-template-columns: 1fr; }
  .tech-card { grid-template-columns: 1fr; gap: 16px; }
  .tech-card img { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
  .contact-form { padding: 28px 22px; }
  section { padding: 60px 0; }
}
