
:root {
  --text: #19334f;
  --muted: #60758a;
  --primary: #2e6c9d;
  --primary-2: #5a97c7;
  --border: rgba(46, 108, 157, 0.14);
  --shadow: 0 20px 50px rgba(25, 51, 79, 0.10);
  --radius-xl: 28px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(90, 151, 199, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(157, 202, 191, 0.18), transparent 22%),
    linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 90;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}
.topbar__inner {
  min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding-block: 4px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__logo { width: 210px; max-width: 42vw; height: auto; object-fit: contain; flex: 0 0 auto; }
.brand__text strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.brand__text small { display: block; margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 12px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .25s ease, transform .25s ease; }
.nav a:hover { color: var(--primary); transform: translateY(-1px); }
.menu-toggle {
  display: none; border: 0; background: rgba(46, 108, 157, 0.08); color: var(--primary);
  width: 44px; height: 44px; border-radius: 14px; font-size: 22px; cursor: pointer;
}
.mobile-nav { display: none; padding: 0 16px 16px; gap: 10px; flex-direction: column; }
.mobile-nav a { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); color: var(--muted); font-weight: 600; border: 1px solid var(--border); }
.mobile-nav.is-open { display: flex; }

.hero { position: relative; padding: 0 0 24px; }
.hero--full { min-height: 76vh; display: flex; align-items: stretch; }
.hero__backdrop {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(248,251,254,0.92) 10%, rgba(248,251,254,0.72) 45%, rgba(248,251,254,0.82) 100%),
    url('https://images.unsplash.com/photo-1516534775068-ba3e7458af70?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.hero .container { position: relative; z-index: 1; display: flex; align-items: stretch; }
.hero__content,
.panel,
.process,
.contact-card,
.contact-wrap,
.cta,
.note,
.profile-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero__content {
  width: 100%; background: transparent; padding: 82px 0 70px; min-height: 76vh;
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex; align-items: center; width: fit-content; gap: 8px;
  border-radius: 999px; padding: 8px 14px; background: rgba(157, 202, 191, 0.16);
  color: #2f6d5c; font-weight: 700; font-size: 13px;
}
.section-kicker { margin-bottom: 12px; }
h1,h2,h3 { letter-spacing: -0.04em; }
h1 {
  margin: 18px 0 0; font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: 0.98; max-width: 13ch;
}
.lead { margin: 22px 0 0; font-size: clamp(1rem, 1.7vw, 1.24rem); color: var(--muted); max-width: 58ch; }

.hero__actions,.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn,.btn-outline {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; transition: transform .25s ease;
  cursor: pointer;
}
.btn { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 16px 30px rgba(46,108,157,.24); }
.btn-outline { color: var(--primary); border: 1px solid var(--border); background: rgba(255,255,255,.78); }
.btn:hover,.btn-outline:hover { transform: translateY(-2px); }
.btn-outline--sm { padding: 12px 18px; }

.hero__quick { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 34px; }
.quick-item {
  background: rgba(255,255,255,.82); border: 1px solid var(--border);
  border-radius: 18px; padding: 16px 18px;
}
.quick-item span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.quick-item strong { font-size: 15px; line-height: 1.4; }
.quick-item a,.contact-item a { color: var(--primary); font-weight: 700; }

.section { padding: 40px 0; }
.section--soft { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)); }

.profile-panel {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  background: rgba(255,255,255,.92); padding: 28px;
}
.profile-panel__photo {
  width: 100%; max-width: 180px; aspect-ratio: 1 / 1.15; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(46,108,157,.10), rgba(157,202,191,.10));
}
.profile-panel__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-panel__content h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.profile-panel__subtitle { margin: 6px 0 16px; color: var(--primary); font-size: 1.2rem; font-weight: 600; }
.profile-panel__content p { color: var(--muted); margin: 0 0 14px; }
.about-note-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-head h2,.panel h2,.contact-card h2,.cta h2 { margin: 0; font-size: clamp(1.85rem, 2.8vw, 2.8rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
  padding: 28px; transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(25,51,79,.12); }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 18px; background: linear-gradient(135deg, rgba(46,108,157,.13), rgba(90,151,199,.18));
  color: var(--primary); font-weight: 800;
}
.card h3 { margin: 0 0 10px; font-size: 1.24rem; }
.card p,.card li,.panel p,.contact-card p,.cta p,.note p { color: var(--muted); }
.card ul { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 8px; }

.contact-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px;
}
.panel,.process,.contact-card,.contact-wrap,.cta,.note { background: #fff; }
.panel,.process,.contact-card,.cta { padding: 32px; }
.panel p { margin: 0 0 16px; }
.note {
  background: linear-gradient(135deg, rgba(46,108,157,.08), rgba(157,202,191,.14)); padding: 28px;
}
.note strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.note p { margin: 0; }
.mini-list { display: grid; gap: 16px; margin-top: 24px; }
.mini-list span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }

.process { padding-top: 34px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.step {
  padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
}
.step__num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-item {
  display: flex; gap: 14px; align-items: start; padding: 16px; border-radius: 18px;
  background: #f8fbff; border: 1px solid var(--border);
}
.contact-item__icon { font-size: 20px; line-height: 1; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item span { color: var(--muted); font-size: 14px; }

.contact-wrap { padding: 22px; }
.map-card {
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: white;
}
.contact-card--full { height: 100%; }
.embed-label {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--primary); font-size: 12px; font-weight: 800;
}
.map-card iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: radial-gradient(circle at right top, rgba(90,151,199,.18), transparent 24%), linear-gradient(135deg, #ffffff, #f5f9fd);
}
.cta p { margin: 0; max-width: 58ch; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.badge {
  padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--primary); background: rgba(46,108,157,.10);
}

.footer { padding: 24px 0 46px; }
.footer__inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; width: 62px; height: 62px; border-radius: 50%; z-index: 60;
  background: linear-gradient(135deg, #20c861, #11a14d); color: white; display: grid; place-items: center;
  font-size: 26px; box-shadow: 0 18px 30px rgba(17,161,77,.24);
}
.mb-0 { margin-bottom: 0 !important; }

@media (max-width: 1080px) {
  .cards, .about-note-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .hero__quick { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .profile-panel { grid-template-columns: 1fr; }
  .profile-panel__photo { max-width: 180px; }
  .map-card iframe { min-height: 420px; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .brand__logo { width: 160px; max-width: 46vw; }
  .hero__content, .panel, .process, .contact-card, .cta, .note, .profile-panel { padding: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .topbar__inner { min-height: 74px; }
  .brand__text { display: none; }
  .hero__content { padding: 52px 0 44px; min-height: auto; }
  .hero__quick { grid-template-columns: 1fr; }
  h1 { max-width: 100%; font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .btn, .btn-outline { width: 100%; }
  .hero__actions, .cta__actions { flex-direction: column; }
  .footer__inner { flex-direction: column; }
  .map-card iframe { min-height: 360px; }
  .profile-panel__photo { max-width: 150px; }
}


/* Refinamientos premium */
.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 20%, rgba(90,151,199,.18), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.08));
}
.hero__content .eyebrow{
  box-shadow: 0 8px 20px rgba(47,109,92,.08);
}
.hero__quick .quick-item{
  box-shadow: 0 14px 30px rgba(25,51,79,.08);
  backdrop-filter: blur(10px);
}
.contact-wrap{
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.92));
}
.contact-card--full{
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.contact-card--full .contact-list{
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.contact-card--full .contact-item{
  min-height: 100%;
  box-shadow: 0 10px 24px rgba(25,51,79,.05);
}
.map-card{
  box-shadow: 0 18px 38px rgba(25,51,79,.09);
}
.cta{
  box-shadow: 0 24px 60px rgba(25,51,79,.10);
}
@media (max-width: 860px){
  .contact-card--full .contact-list{
    grid-template-columns: 1fr;
  }
}


/* Ajustes responsive adicionales */
@media (max-width: 640px) {
  .hero__quick {
    gap: 12px;
  }

  .quick-item,
  .card,
  .contact-item,
  .step {
    padding: 16px;
  }

  .brand__logo {
    width: 132px;
    max-width: 50vw;
  }

  .section {
    padding: 32px 0;
  }

  .contact-wrap,
  .contact-card,
  .panel,
  .process,
  .profile-panel,
  .note,
  .cta {
    border-radius: 22px;
  }
}


/* === Ajustes finales (layout hero con presentación a la derecha + spacing) === */
.topbar__inner {
  min-height: 66px;
  padding-block: 3px;
}

.brand__logo {
  width: 170px;
  max-width: 34vw;
}

/* Hero layout con 2 columnas */
.hero--full { min-height: auto; }

.hero__content--full {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 34px;
  align-items: start;
  min-height: auto;
  padding-top: 42px;
  padding-bottom: 42px;
}

.hero__main {
  max-width: 660px;
  padding-left: 18px;
}

.hero__content--full h1 {
  font-size: clamp(2.7rem, 4.2vw, 4.25rem);
  line-height: 0.98;
  max-width: 11ch;
}

/* Card de presentación en hero */
.hero__presentation {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(46, 108, 157, 0.14);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 20px 50px rgba(25, 51, 79, 0.10);
  backdrop-filter: blur(16px);
  align-self: start;
}

.hero__presentation-layout {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.hero__presentation-photo {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(46,108,157,.10), rgba(157,202,191,.12));
  box-shadow: 0 14px 30px rgba(25, 51, 79, 0.10);
  width: 100%;
  max-width: 210px;
}

.hero__presentation-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

.hero__presentation-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 100%;
}

.hero__presentation-text {
  grid-column: 1 / -1;
  padding-top: 4px;
}

.hero__presentation h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  letter-spacing: -0.04em;
}

.hero__presentation .profile-panel__subtitle {
  margin: 6px 0 16px;
  color: #2e6c9d;
  font-weight: 700;
  font-size: 1rem;
}

.hero__presentation p {
  color: #60758a;
  margin: 0 0 12px;
  line-height: 1.55;
}

.hero__presentation .badges { margin-top: 14px; }

/* Bloque Importante dentro de contacto */
.contact-important {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(46,108,157,0.08), rgba(157,202,191,0.14));
  border: 1px solid rgba(46,108,157,0.14);
}
.contact-important strong {
  display: block;
  color: #19334f;
  margin-bottom: 6px;
}
.contact-important p {
  margin: 0 0 12px;
  color: #60758a;
}
.contact-important span {
  display: block;
  color: #60758a;
  font-size: 13px;
  margin-bottom: 3px;
}
.contact-important b { color: #19334f; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__content--full {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__main {
    max-width: 100%;
    padding-left: 10px;
  }
  .hero__content--full h1 { max-width: 100%; }
  .hero__presentation {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .topbar__inner { min-height: 62px; }
  .brand__logo { width: 140px; max-width: 48vw; }
  .hero__content--full {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero__content--full h1 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }
  .hero__main {
    padding-left: 0;
  }
  .hero__presentation { padding: 22px; }
  .hero__presentation h2 { font-size: 1.65rem; }
  .hero__presentation-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero__presentation-photo {
    max-width: 240px;
    margin-inline: auto;
  }
  .hero__presentation-content {
    min-height: auto;
  }
}



/* ===== Animaciones suaves premium ===== */

/* Fade + slide inicial */
.hero__main,
.hero__presentation {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.hero__presentation {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover suave en presentación */
.hero__presentation {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero__presentation:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(25, 51, 79, 0.14);
}

/* Efecto glass más premium */
.hero__presentation {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
}

/* Fade sutil en fondo del hero */
.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 251, 254, 0.95) 0%,
    rgba(248, 251, 254, 0.6) 40%,
    rgba(248, 251, 254, 0.85) 100%
  );
}

/* Botones con micro interacción */
.btn,
.btn-outline {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-outline:hover {
  transform: translateY(-2px);
}
