:root {
    --verde: #1D6B4F;
    --verde-claro: #2D9E75;
    --verde-palido: #E8F5EE;
    --verde-menta: #B8DFD0;
    --tierra: #C4956A;
    --tierra-claro: #F5EDE4;
    --crema: #FAF7F2;
    --carbon: #1C1C1C;
    --gris: #6B6B6B;
    --gris-claro: #E8E4DD;
    --blanco: #FFFFFF;
    --radio: 16px;
    --radio-lg: 24px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Outfit', sans-serif;
    background: var(--crema);
    color: var(--carbon);
    overflow-x: hidden;
  }

  /* ── TIPOGRAFÍA ── */
  h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }
  .eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--verde-claro);
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 4rem;
    background: rgba(250,247,242,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gris-claro);
    transition: padding .3s;
  }
  .nav-logo { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--verde); font-weight: 500; }
  .nav-logo span { font-style: italic; color: var(--tierra); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { font-size: 13px; font-weight: 500; color: var(--gris); text-decoration: none; transition: color .2s; }
  .nav-links a:hover { color: var(--verde); }
  .nav-cta {
    padding: 10px 22px; font-size: 13px; font-weight: 600;
    background: var(--verde); color: white; border-radius: 50px;
    text-decoration: none; transition: all .2s; border: none; cursor: pointer;
    font-family: 'Outfit', sans-serif;
  }
  .nav-cta:hover { background: var(--verde-claro); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh; display: grid;
    grid-template-columns: 1fr 1fr; align-items: center;
    padding: 8rem 4rem 4rem; gap: 4rem;
    background: var(--crema);
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(29,107,79,.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-eyebrow { margin-bottom: 1.2rem; }
  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    color: var(--carbon); margin-bottom: 1.4rem; line-height: 1.1;
  }
  .hero h1 em { color: var(--verde); font-style: italic; }
  .hero-desc {
    font-size: 16px; color: var(--gris); line-height: 1.8;
    max-width: 480px; margin-bottom: 2.5rem; font-weight: 300;
  }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-primary {
    padding: 14px 32px; font-size: 14px; font-weight: 600;
    background: var(--verde); color: white; border-radius: 50px;
    text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary:hover { background: var(--verde-claro); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,107,79,.25); }
  .btn-wa {
    padding: 14px 32px; font-size: 14px; font-weight: 600;
    background: #25D366; color: white; border-radius: 50px;
    text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-wa:hover { background: #20ba58; transform: translateY(-2px); }
  .btn-outline {
    padding: 14px 32px; font-size: 14px; font-weight: 600;
    border: 2px solid var(--verde); color: var(--verde); border-radius: 50px;
    text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
  }
  .btn-outline:hover { background: var(--verde); color: white; }

  /* Hero imagen */
  .hero-img-wrap {
    position: relative; display: flex; justify-content: center;
  }
  .hero-img {
    width: 100%; max-width: 460px; aspect-ratio: 3/4;
    border-radius: var(--radio-lg); overflow: hidden;
    background: linear-gradient(135deg, var(--verde-palido) 0%, var(--verde-menta) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .hero-img-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    color: var(--verde); opacity: .6;
  }
  .hero-img-placeholder svg { width: 64px; height: 64px; }
  .hero-img-placeholder span { font-size: 13px; font-weight: 500; }
  .hero-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: white; border-radius: var(--radio); padding: 14px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    display: flex; align-items: center; gap: 12px;
  }
  .hero-badge-icon { font-size: 28px; }
  .hero-badge-text { font-size: 12px; color: var(--gris); }
  .hero-badge-num { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--verde); font-weight: 700; }

  /* ── SECCIONES GENERALES ── */
  section { padding: 6rem 4rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-header { margin-bottom: 3.5rem; }
  .section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--carbon); margin-top: .6rem; }
  .section-header p { font-size: 16px; color: var(--gris); line-height: 1.8; max-width: 580px; font-weight: 300; margin-top: 1rem; }

  /* ── SOBRE MÍ ── */
  .sobre-mi { background: white; }
  .sobre-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
  .sobre-img {
    aspect-ratio: 1; border-radius: var(--radio-lg); overflow: hidden;
    background: linear-gradient(135deg, var(--tierra-claro) 0%, var(--verde-palido) 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .sobre-img-ph { color: var(--tierra); opacity: .5; display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .sobre-eyebrow { margin-bottom: 1rem; }
  .sobre-mi h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.2rem; }
  .sobre-desc { font-size: 15px; color: var(--gris); line-height: 1.9; font-weight: 300; margin-bottom: 1.8rem; }
  .sobre-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
  .chip {
    padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 500;
    background: var(--verde-palido); color: var(--verde);
  }
  .chip.tierra { background: var(--tierra-claro); color: var(--tierra); }

  /* ── CONCEPTOS MTC / SNA ── */
  .conceptos { background: var(--carbon); color: white; }
  .conceptos h2 { color: white; }
  .conceptos .eyebrow { color: var(--verde-menta); }
  .conceptos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 3rem; border-radius: var(--radio-lg); overflow: hidden; }
  .concepto-card {
    padding: 3rem; background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08); transition: background .2s;
  }
  .concepto-card:hover { background: rgba(255,255,255,.08); }
  .concepto-icon { font-size: 36px; margin-bottom: 1.2rem; }
  .concepto-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: .8rem; }
  .concepto-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.8; font-weight: 300; }
  .concepto-integracion {
    grid-column: 1/-1; background: var(--verde);
    padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  }
  .integracion-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: white; }
  .integracion-desc { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.9; font-weight: 300; }

  /* ── SERVICIOS ── */
  .servicios { background: var(--crema); }
  .servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .servicio-card {
    background: white; border-radius: var(--radio); padding: 2rem 1.8rem;
    border: 1px solid var(--gris-claro); transition: all .25s; cursor: default;
    position: relative; overflow: hidden;
  }
  .servicio-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--verde); transform: scaleX(0); transition: transform .3s;
    transform-origin: left;
  }
  .servicio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
  .servicio-card:hover::before { transform: scaleX(1); }
  .servicio-icon { font-size: 32px; margin-bottom: 1rem; }
  .servicio-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: .7rem; color: var(--carbon); }
  .servicio-card p { font-size: 13px; color: var(--gris); line-height: 1.8; font-weight: 300; margin-bottom: 1.2rem; }
  .servicio-tag {
    display: inline-block; padding: 4px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 600; background: var(--verde-palido); color: var(--verde);
  }
  .servicio-consultar {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--verde);
    text-decoration: none; margin-top: .8rem;
    transition: gap .2s;
  }
  .servicio-consultar:hover { gap: 10px; }

  /* ── CÓMO FUNCIONA ── */
  .como { background: var(--verde-palido); }
  .pasos { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
  .paso { text-align: center; padding: 2rem 1.5rem; position: relative; }
  .paso::after {
    content: '→'; position: absolute; right: -1rem; top: 50%;
    transform: translateY(-50%); font-size: 24px; color: var(--verde-menta);
  }
  .paso:last-child::after { display: none; }
  .paso-num {
    width: 56px; height: 56px; border-radius: 50%; background: var(--verde);
    color: white; font-family: 'Playfair Display', serif; font-size: 22px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
  }
  .paso h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--carbon); }
  .paso p { font-size: 13px; color: var(--gris); line-height: 1.7; font-weight: 300; }

  /* ── FOTOS CONSULTORIO ── */
  .fotos { background: white; }
  .fotos-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; margin-top: 2.5rem; }
  .foto {
    border-radius: var(--radio); overflow: hidden;
    background: linear-gradient(135deg, var(--verde-palido), var(--verde-menta));
    display: flex; align-items: center; justify-content: center;
  }
  .foto:first-child { grid-row: 1/3; }
  .foto-ph { color: var(--verde); opacity: .4; font-size: 32px; }

  /* ── RESEÑAS ── */
  .reseñas { background: var(--crema); }
  .stars { color: #F59E0B; font-size: 18px; margin-bottom: .8rem; letter-spacing: 2px; }
  .reseñas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 2.5rem; }
  .reseña-card {
    background: white; border-radius: var(--radio); padding: 1.6rem;
    border: 1px solid var(--gris-claro); transition: transform .2s;
  }
  .reseña-card:hover { transform: translateY(-3px); }
  .reseña-texto { font-size: 14px; color: var(--gris); line-height: 1.8; font-weight: 300; margin-bottom: 1.2rem; font-style: italic; }
  .reseña-autor { display: flex; align-items: center; gap: 10px; }
  .reseña-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--verde-palido); display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; color: var(--verde); flex-shrink: 0;
  }
  .reseña-nombre { font-size: 13px; font-weight: 600; color: var(--carbon); }
  .reseña-fecha { font-size: 11px; color: var(--gris); }
  .google-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: white; border: 1px solid var(--gris-claro);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--gris);
    margin-bottom: 2rem;
  }

  /* ── INSTAGRAM / TIKTOK ── */
  .redes { background: white; }
  .redes-tabs { display: flex; gap: 8px; margin-bottom: 2rem; }
  .red-tab {
    padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600;
    border: 2px solid var(--gris-claro); color: var(--gris); cursor: pointer;
    transition: all .2s; background: white;
  }
  .red-tab.active { background: var(--carbon); color: white; border-color: var(--carbon); }
  .feed-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
  .feed-post {
    aspect-ratio: 1; border-radius: var(--radio); overflow: hidden;
    background: linear-gradient(135deg, var(--verde-palido) 0%, var(--tierra-claro) 100%);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .2s; position: relative;
  }
  .feed-post:hover { transform: scale(.97); }
  .feed-post-ph { color: var(--verde); opacity: .35; font-size: 28px; }
  .feed-post-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
  }
  .feed-post:hover .feed-post-overlay { opacity: 1; }
  .feed-post-overlay span { color: white; font-size: 12px; font-weight: 600; }
  .redes-btns { display: flex; gap: 12px; margin-top: 1.5rem; flex-wrap: wrap; }
  .red-link {
    padding: 10px 22px; border-radius: 50px; font-size: 13px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: all .2s;
  }
  .red-link.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
  .red-link.tt { background: var(--carbon); color: white; }
  .red-link:hover { transform: translateY(-2px); opacity: .9; }

  /* ── UBICACIÓN ── */
  .ubicacion { background: var(--crema); }
  .ubicacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .mapa-ph {
    aspect-ratio: 4/3; border-radius: var(--radio-lg);
    background: var(--verde-palido); display: flex; align-items: center; justify-content: center;
    border: 2px dashed var(--verde-menta); overflow: hidden;
  }
  .mapa-embed { width: 100%; height: 100%; border: none; border-radius: var(--radio-lg); }
  .ubicacion-info h2 { font-size: 2rem; margin-bottom: 1.5rem; }
  .info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.2rem; }
  .info-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--verde-palido);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
  }
  .info-text { font-size: 14px; color: var(--gris); line-height: 1.6; font-weight: 300; }
  .info-text strong { color: var(--carbon); font-weight: 600; display: block; margin-bottom: 2px; }

  /* ── CTA FINAL ── */
  .cta-final {
    background: var(--verde); color: white; text-align: center;
    padding: 6rem 4rem;
  }
  .cta-final h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
  .cta-final p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 2.5rem; font-weight: 300; }
  .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .btn-white {
    padding: 14px 32px; font-size: 14px; font-weight: 600;
    background: white; color: var(--verde); border-radius: 50px;
    text-decoration: none; transition: all .2s;
  }
  .btn-white:hover { background: var(--crema); transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer {
    background: var(--carbon); color: rgba(255,255,255,.6);
    padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 16px; color: white; }
  .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .footer-links a { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: white; }
  .footer-redes { display: flex; gap: 12px; }
  .footer-red {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    text-decoration: none; transition: background .2s;
  }
  .footer-red:hover { background: var(--verde); }

  /* ── ANIMACIONES ── */
  @keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
  .fade-up { animation: fadeUp .7s ease both; }
  .fade-up-1 { animation-delay: .1s; }
  .fade-up-2 { animation-delay: .2s; }
  .fade-up-3 { animation-delay: .35s; }
  .fade-up-4 { animation-delay: .5s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 4rem 1.5rem; }
    .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; text-align: center; }
    .hero-img-wrap { display: none; }
    .hero-btns { justify-content: center; }
    .sobre-grid, .conceptos-grid, .ubicacion-grid { grid-template-columns: 1fr; }
    .concepto-integracion { grid-template-columns: 1fr; }
    .servicios-grid { grid-template-columns: 1fr; }
    .pasos { grid-template-columns: 1fr; }
    .paso::after { display: none; }
    .fotos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .foto:first-child { grid-row: auto; }
    .reseñas-grid { grid-template-columns: 1fr; }
    .feed-grid { grid-template-columns: repeat(2,1fr); }
    footer { flex-direction: column; align-items: flex-start; }
  }
