* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
    :root {
      --navy: #1a2540;
      --navy-mid: #243055;
      --gold: #c4a44a;
      --gold-light: #d9bc72;
      --cream: #faf8f4;
      --cream-dark: #f0ece3;
      --text: #1a2540;
      --muted: #3d4455;
      --light-border: rgba(26,37,64,0.12);
    }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body { font-family: 'Source Serif 4', Georgia, serif; background: var(--cream); color: var(--text); font-size: 16px; line-height: 1.7; overflow-x: hidden; padding-top: 76px; }

    /* NAV */
    nav {
      background: var(--navy);
      padding: 0 5vw;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 76px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(196,164,74,0.2);
    }
    .nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
    .nav-logo-text { display: flex; flex-direction: column; gap: 3px; }
    .nav-logo-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: white; letter-spacing: 1.5px; line-height: 1; }
    .nav-logo-divider { width: 100%; height: 0.5px; background: rgba(196,164,74,0.5); }
    .nav-logo-tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 11px; color: var(--gold-light); letter-spacing: 0.3px; line-height: 1; }
    nav ul { list-style: none; display: flex; gap: 28px; }
    nav ul a { font-family: 'Source Serif 4', serif; font-size: 13px; color: rgba(255,255,255,0.85); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
    nav ul a:hover { color: var(--gold-light); }

    /* HERO */
    .hero { background: var(--navy); padding: 88px 5vw 80px; position: relative; overflow: hidden; }
    .hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 520px; height: 520px; border: 1px solid rgba(196,164,74,0.12); border-radius: 50%; }
    .hero::after { content: ''; position: absolute; right: -20px; top: -20px; width: 360px; height: 360px; border: 1px solid rgba(196,164,74,0.08); border-radius: 50%; }
    .hero-logo-big { position: absolute; right: 8vw; top: 50%; transform: translateY(-50%); opacity: 0.08; pointer-events: none; }
    .hero-text { position: relative; z-index: 1; max-width: 640px; }
    .hero-label { font-size: 12px; letter-spacing: 0.22em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
    .hero-label::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); }
    h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 24px; }
    h1 em { font-style: italic; color: var(--gold-light); }
    .hero-desc { font-size: 17px; color: rgba(255,255,255,0.92); max-width: 540px; font-weight: 300; margin-bottom: 40px; line-height: 1.8; }
    .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-primary { background: var(--gold); color: var(--navy); padding: 14px 28px; border: none; font-family: 'Source Serif 4', serif; font-size: 14px; font-weight: 400; letter-spacing: 0.06em; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
    .btn-primary:hover { background: var(--gold-light); }
    .btn-outline { background: transparent; color: #ffffff; padding: 14px 28px; border: 1px solid rgba(255,255,255,0.5); font-family: 'Source Serif 4', serif; font-size: 14px; letter-spacing: 0.06em; cursor: pointer; transition: border-color 0.2s, color 0.2s; text-decoration: none; display: inline-block; }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

    /* STRIP */
    .services-strip { background: var(--navy-mid); padding: 18px 5vw; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
    .strip-item { font-size: 11px; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); text-transform: uppercase; padding: 6px 22px; border-right: 1px solid rgba(255,255,255,0.15); }
    .strip-item:last-child { border-right: none; }
    .strip-item strong { color: var(--gold-light); font-weight: 400; }

    /* SECTIONS */
    section { padding: 80px 5vw; }
    section + section { border-top: 1px solid var(--light-border); }
    .section-label { font-size: 11px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .section-label::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--gold); }
    h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
    .section-intro { font-size: 16px; color: var(--muted); max-width: 640px; font-weight: 400; margin-bottom: 52px; line-height: 1.8; }

    /* SOBRE */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
    .about-text p { font-size: 16px; color: var(--muted); margin-bottom: 18px; font-weight: 400; line-height: 1.85; }
    .about-text p strong { color: var(--navy); font-weight: 600; }
    .about-pillars { display: flex; flex-direction: column; }
    .pillar { border-top: 1px solid var(--light-border); padding: 20px 0; display: flex; gap: 20px; align-items: flex-start; }
    .pillar:last-child { border-bottom: 1px solid var(--light-border); }
    .pillar-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; color: #c8c2b4; line-height: 1; min-width: 36px; }
    .pillar-body h4 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
    .pillar-body p { font-size: 14px; color: var(--muted); font-weight: 400; line-height: 1.65; }

    /* SERVICIOS */
    #servicios { background: var(--cream-dark); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      background: rgba(26,37,64,0.1);
    }
    .service-card { background: var(--cream); padding: 36px 32px; cursor: default; transition: background 0.25s; }
    .service-card:hover { background: var(--navy); }
    .service-card:hover .service-icon { color: var(--gold-light) !important; }
    .service-card:hover .service-title { color: var(--gold-light) !important; }
    .service-card:hover .service-desc { color: rgba(255,255,255,0.88) !important; }
    .service-card:hover .service-items li { color: rgba(255,255,255,0.88) !important; }
    .service-card:hover .service-bar { background: var(--gold); }
    .service-bar { width: 32px; height: 2px; background: var(--gold); margin-bottom: 24px; }
    .service-icon { font-size: 11px; letter-spacing: 0.2em; color: #8a6e1e; text-transform: uppercase; margin-bottom: 12px; font-weight: 500; transition: color 0.2s; }
    .service-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; transition: color 0.2s; }
    .service-desc { font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 16px; transition: color 0.2s; line-height: 1.65; }
    .service-items { list-style: none; display: flex; flex-direction: column; gap: 6px; }
    .service-items li { font-size: 13px; color: #3d4455; padding-left: 16px; position: relative; transition: color 0.2s; line-height: 1.55; }
    .service-items li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 2px; }

    /* CONTACTO */
    #contacto { background: var(--navy); }
    #contacto h2 { color: #ffffff; }
    #contacto .section-label { color: var(--gold-light); }
    #contacto .section-intro { color: rgba(255,255,255,0.88); font-weight: 300; }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
    .contact-form { display: flex; flex-direction: column; gap: 14px; }
    .contact-form input, .contact-form textarea { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #ffffff; padding: 13px 16px; font-family: 'Source Serif 4', serif; font-size: 14px; font-weight: 300; outline: none; transition: border-color 0.2s; width: 100%; }
    .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
    .contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
    .contact-form textarea { min-height: 120px; resize: vertical; }
    .contact-info { display: flex; flex-direction: column; gap: 28px; }
    .contact-info p { font-size: 15px; color: rgba(255,255,255,0.88); font-weight: 300; line-height: 1.85; }
    .contact-detail { display: flex; flex-direction: column; gap: 14px; }
    .c-line { display: flex; gap: 14px; align-items: baseline; font-size: 14px; }
    .c-line .label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); min-width: 72px; font-weight: 500; }
    .c-line .value { color: rgba(255,255,255,0.92); font-weight: 300; }
    .c-line .value a {
      color: inherit;
      text-decoration: none;
     }

    .c-line .value a:hover {
      color: inherit;
      text-decoration: none;
     }

    /* FOOTER */
    footer { background: #111928; padding: 28px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .footer-logo { display: flex; align-items: center; gap: 12px; }
    .footer-logo-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: white; letter-spacing: 1.5px; }
    .footer-logo-tag { font-family: 'DM Sans', sans-serif; font-size: 7px; font-weight: 400; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
    .footer-logo-tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 10px; color: rgba(196,164,74,0.8); margin-top: 2px; }
    footer p { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }

    /* HAMBURGER */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 200;
    }
    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: rgba(255,255,255,0.85);
      border-radius: 2px;
      transition: transform 0.25s, opacity 0.25s;
    }
    .nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger--open span:nth-child(2) { opacity: 0; }
    .nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      /* Nav */
      .nav-hamburger { display: flex; }
      nav ul {
        display: none;
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(196,164,74,0.2);
        border-bottom: 2px solid var(--gold);
        z-index: 999;
      }
      nav ul.nav-menu--open { display: flex; }
      nav ul li a {
        display: block;
        padding: 16px 5vw;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        font-size: 14px;
      }
      nav ul li a[href="miradas.html"] {
        color: var(--gold-light);
        font-style: italic;
      }

      /* Layout */
      .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
      .services-grid { grid-template-columns: 1fr; }
      .hero { padding: 56px 5vw 48px; }
      .hero-logo-big { display: none; }
      h1 { font-size: clamp(28px, 8vw, 42px); }
      .hero-desc { font-size: 15px; }
      .strip-item { padding: 6px 14px; font-size: 10px; }
      section { padding: 60px 5vw; }
    }

/* IMÁGENES / LOGO */
.logo-img {
  display: block;
  flex-shrink: 0;
}

.logo-img--nav {
  width: 40px;
  height: 40px;
}

.logo-img--footer {
  width: 28px;
  height: 28px;
}

.hero-logo-big img {
  width: 340px;
  height: 340px;
  display: block;
}

.contact-submit {
  align-self: flex-start;
}

/* EQUIPO */
.team-section {
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(26, 37, 64, 0.14);
  background: rgba(26, 37, 64, 0.14);
  gap: 1px;
}

.team-card {
  background: var(--cream);
}

.team-photo {
  height: 360px;
  background: var(--navy);
  border-bottom: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.team-photo span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.team-content {
  padding: 34px 48px 46px;
}

.team-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.team-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
}

.team-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.team-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
}

.team-content p + p {
  margin-top: 16px;
}

/* RESPONSIVE EQUIPO */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 260px;
  }

  .team-content {
    padding: 28px 20px 36px;
  }

  .team-content h3 {
    font-size: 21px;
  }
}

/* ── FAB MIRADAS ─────────────────────────────────── */
.fab-miradas {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(26,37,64,0.35);
  border: 1px solid rgba(196,164,74,0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.fab-miradas:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,37,64,0.45);
  background: var(--navy-mid);
}

.fab-miradas-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: fab-pulse 2s infinite;
  flex-shrink: 0;
}

.fab-miradas-text {
  color: var(--gold-light);
}

@keyframes fab-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@media (max-width: 768px) {
  .fab-miradas {
    bottom: 20px;
    right: 16px;
    padding: 11px 16px;
    font-size: 12px;
  }
}

/* ── MIRADAS PROMO (home) ────────────────────────── */
.miradas-promo {
  background: var(--navy);
  padding: 0;
  border-top: none;
}

.miradas-promo-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 340px;
}

.miradas-promo-logo {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  border-right: 1px solid rgba(196,164,74,0.15);
  position: relative;
}

.miradas-promo-logo::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(196,164,74,0.08);
  pointer-events: none;
}

.miradas-promo-logo img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.miradas-promo-text {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.miradas-promo-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.miradas-promo-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.miradas-promo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}

.miradas-promo-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  font-weight: 300;
  max-width: 440px;
  margin: 0;
}

.miradas-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 13px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, gap 0.2s;
  align-self: flex-start;
  margin-top: 6px;
}

.miradas-promo-cta:hover {
  background: var(--gold-light);
  gap: 14px;
}

@media (max-width: 768px) {
  .miradas-promo-inner {
    grid-template-columns: 1fr;
  }

  .miradas-promo-logo {
    padding: 40px;
    border-right: none;
    border-bottom: 1px solid rgba(196,164,74,0.15);
  }

  .miradas-promo-logo img {
    max-width: 140px;
  }

  .miradas-promo-text {
    padding: 36px 5vw 44px;
  }
}

/* ── MIRADAS ─────────────────────────────────────── */
.miradas-section {
  background: var(--cream);
  border-top: 1px solid var(--light-border);
}

.miradas-header {
  background: var(--navy);
  padding: 72px 5vw 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  border-bottom: 4px solid var(--gold);
}

.miradas-logo {
  height: 120px;
  width: auto;
}

.miradas-intro-text {
  min-height: 40px;
  /* espacio reservado para el texto que llegará */
}

.miradas-serie {
  padding: 72px 5vw 80px;
  max-width: 860px;
  width: 100%;
}

.miradas-serie-header {
  margin-bottom: 40px;
}

.miradas-serie-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 10px;
}

.miradas-serie-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 52px;
}

.miradas-serie-body p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
}

.miradas-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  margin: 4px 0;
}

.miradas-list li {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}

.miradas-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.miradas-notas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.miradas-nota-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--cream-dark);
  border: 1px solid var(--light-border);
  border-left: 4px solid var(--gold);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.miradas-nota-card:hover {
  background: #e8e3d8;
  border-left-color: var(--navy);
}

.miradas-nota-numero {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.miradas-nota-info {
  flex: 1;
}

.miradas-nota-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
}

.miradas-nota-fecha {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.miradas-nota-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.miradas-proximas {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding-left: 4px;
}

@media (max-width: 768px) {
  .miradas-header {
    padding: 48px 5vw 40px;
  }

  .miradas-logo {
    height: 90px;
  }

  .miradas-serie {
    padding: 48px 5vw 60px;
  }

  .miradas-nota-card {
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 20px;
  }

  .miradas-nota-icon {
    width: 100%;
    justify-content: flex-end;
  }
}
