:root{
  /* Paleta REAL de la marca Centro Óptico Vicente */
  --blue:        #245E9E;
  --blue-dark:   #143458;
  --blue-deep:   #0E2A45;
  --cyan:        #1094C5;
  --cyan-soft:   #E5F4FA;
  --lime:        #9FD537;
  --lime-dark:   #7AB220;
  --lime-soft:   #F2F9DF;

  /* Neutros editoriales */
  --white:       #FFFFFF;
  --paper:       #FBFAF7;
  --bone:        #F4F1EA;
  --stone:       #E5E2D9;
  --ink:         #1A2329;
  --slate:       #4A5862;
  --muted:       #818D96;

  --sans:     'Manrope', system-ui, sans-serif;
  --display:  'Manrope', system-ui, sans-serif;
  --serif:    'Fraunces', Georgia, serif;
  --script:   'Caveat', cursive;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ display: block; max-width: 100%; }
::selection{ background: var(--lime); color: var(--blue-deep); }

/* ============== NAV ============== */
nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 100;
  padding: 18px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20,52,88,0.06);
  transition: all .3s;
}
nav.scrolled{ padding: 12px 48px; box-shadow: 0 4px 30px -10px rgba(20,52,88,0.08); }
nav .brand{
  display:flex; align-items:center; gap:12px;
}
nav .brand img{
  width: 46px; height: 46px;
}
nav .brand span{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
nav .brand span small{
  display:block;
  font-family: var(--script);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.15rem;
  margin-top: -4px;
}
nav ul{
  list-style:none;
  display:flex; gap: 36px; align-items: center;
}
nav ul a{
  color: var(--slate);
  text-decoration:none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color .2s;
}
nav ul a:hover{ color: var(--blue); }
nav ul a.active{ color: var(--blue); }
.nav-cta{
  background: var(--lime) !important;
  color: var(--blue-deep) !important;
  padding: 11px 24px;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: all .25s;
}
.nav-cta:hover{
  background: var(--blue-deep) !important;
  color: white !important;
  transform: translateY(-1px);
}
@media (max-width: 900px){
  nav, nav.scrolled{ padding: 12px 20px; }
  nav ul li:not(:last-child){ display: none; }
}

/* ============== TOPBAR ============== */
.topbar{
  background: var(--blue-deep);
  color: white;
  font-size: 0.82rem;
  padding: 9px 48px;
  display: flex; justify-content: space-between;
  position: relative; z-index: 99;
}
.topbar .left, .topbar .right{
  display: flex; gap: 24px; align-items: center;
}
.topbar span{ display: flex; align-items: center; gap: 7px; opacity: 0.85; }
.topbar span svg{ opacity: 0.8; }
.topbar a{ color: white; text-decoration: none; }
.topbar a:hover{ color: var(--lime); }
@media (max-width: 720px){ .topbar .right{ display:none; } .topbar{padding: 8px 20px;} }

/* ============== HERO ============== */
.hero{
  padding: 140px 48px 80px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-bg-shape{
  position: absolute;
  right: -200px; top: 60px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--lime-soft) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid{
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px){
  .hero{ padding: 130px 24px 60px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime-dark);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before{
  content: '';
  width: 38px; height: 2px;
  background: var(--lime);
}
.hero h1{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--blue-deep);
  margin-bottom: 26px;
}
.hero h1 .underline-wrap{
  position: relative;
  display: inline-block;
}
.hero h1 .underline-wrap::after{
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 14px;
  background: var(--lime);
  opacity: 0.55;
  z-index: -1;
}
.hero h1 .accent{
  color: var(--blue);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}
.hero p.lead{
  font-size: 1.12rem;
  color: var(--slate);
  margin-bottom: 38px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-actions{
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: 0.02em;
}
.btn-primary{
  background: var(--lime);
  color: var(--blue-deep);
}
.btn-primary:hover{
  background: var(--blue-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(20,52,88,0.4);
}
.btn-ghost{
  background: transparent;
  color: var(--blue-dark);
  border: 1.5px solid rgba(20,52,88,0.18);
}
.btn-ghost:hover{
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.hero-trust{
  margin-top: 50px;
  display: flex; gap: 22px; align-items: center;
}
.trust-avatars{
  display: flex;
}
.trust-avatars div{
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
}
.trust-avatars div:nth-child(1){ margin-left:0; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.trust-avatars div:nth-child(2){ background: linear-gradient(135deg, var(--lime), var(--lime-dark)); }
.trust-avatars div:nth-child(3){ background: linear-gradient(135deg, var(--cyan), var(--blue-deep)); }
.trust-avatars div:nth-child(4){
  background: var(--blue-deep); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.hero-trust .label{
  font-size: 0.88rem; color: var(--slate); line-height: 1.3;
}
.hero-trust .label strong{ color: var(--blue-deep); display: block; font-weight: 700; }

/* HERO IMAGE COMPOSITION */
.hero-visual{
  position: relative;
  height: 600px;
}
@media (max-width: 960px){ .hero-visual{ height: 500px; } }

.hero-img-main{
  position: absolute;
  top: 0; right: 0;
  width: 88%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #d9e4ec 0%, #b8c8d5 100%);
  box-shadow: 0 40px 80px -30px rgba(20,52,88,0.35);
}
.hero-img-main img{
  width: 100%; height: 100%; object-fit: cover;
}
/* Anniversary badge - estilo "30 años" */
.hero-badge{
  position: absolute;
  bottom: 30px; left: 0;
  background: var(--blue-deep);
  color: white;
  padding: 26px 32px;
  border-radius: 24px;
  box-shadow: 0 30px 50px -20px rgba(20,52,88,0.4);
  display: flex; gap: 18px; align-items: center;
  z-index: 3;
}
.hero-badge .num{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--lime);
  letter-spacing: -0.04em;
}
.hero-badge .num sup{
  font-size: 0.4em;
  vertical-align: top;
  font-weight: 700;
}
.hero-badge .txt{
  font-size: 0.85rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.85);
}
.hero-badge .txt strong{
  display: block;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Float card derecha arriba */
.hero-float{
  position: absolute;
  top: 40px; right: -10px;
  background: white;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 30px 50px -20px rgba(20,52,88,0.25);
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
}
.hero-float .ico{
  width: 44px; height: 44px;
  background: var(--lime);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
}
.hero-float .meta{
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.3;
}
.hero-float .meta strong{
  display: block;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Decoración - aros optométricos */
.hero-rings{
  position: absolute;
  bottom: -40px; right: 40px;
  width: 120px; height: 120px;
  opacity: 0.4;
  z-index: 1;
}

/* ============== SECCIONES BASE ============== */
section.bloque{
  padding: 110px 48px;
  position: relative;
}
.container{
  max-width: 1240px;
  margin: 0 auto;
}
.eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lime-dark);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before{
  content: '';
  width: 30px; height: 2px;
  background: var(--lime);
}
.section-title{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
  max-width: 800px;
}
.section-title .accent{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
}
.section-title .underline-wrap{
  position: relative;
  display: inline-block;
}
.section-title .underline-wrap::after{
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 12px;
  background: var(--lime);
  opacity: 0.55;
  z-index: -1;
}
@media (max-width: 720px){
  section.bloque{ padding: 80px 24px; }
}

/* ============== SERVICIOS CARDS (estilo Imagen 1) ============== */
.servicios-cards{
  background: var(--paper);
  margin-top: -80px;
  position: relative;
  z-index: 5;
}
.serv-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20,52,88,0.18);
}
@media (max-width: 900px){ .serv-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .serv-grid{ grid-template-columns: 1fr; } }

.serv-card{
  padding: 42px 32px;
  text-align: left;
  border-right: 1px solid var(--bone);
  transition: background .25s;
  cursor: default;
}
.serv-card:last-child{ border-right: none; }
@media (max-width: 900px){
  .serv-card:nth-child(2n){ border-right: none; }
  .serv-card:nth-child(-n+2){ border-bottom: 1px solid var(--bone); }
}
@media (max-width: 560px){
  .serv-card{ border-right: none; border-bottom: 1px solid var(--bone); }
  .serv-card:last-child{ border-bottom: none; }
}
.serv-card:hover{
  background: var(--lime-soft);
}
.serv-card .ico{
  width: 54px; height: 54px;
  color: var(--lime-dark);
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
}
.serv-card h4{
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.serv-card p{
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ============== BIENVENIDA / ESPECIALISTA (estilo Imagen 1) ============== */
.welcome{
  background: var(--paper);
  padding-top: 130px;
}
.welcome-grid{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px){
  .welcome-grid{ grid-template-columns: 1fr; gap: 50px; }
}
.welcome-img{
  position: relative;
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8ecef 0%, #c8d2da 100%);
}
.welcome-img img{
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 900px){ .welcome-img{ height: 450px; } }

.welcome-img .quality-badge{
  position: absolute;
  top: 30px; right: -20px;
  background: var(--lime);
  color: var(--blue-deep);
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: 0 20px 40px -15px rgba(122,178,32,0.5);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.welcome-img .quality-badge svg{ flex-shrink: 0; }

.welcome-text .eyebrow{ color: var(--blue); }
.welcome-text .eyebrow::before{ background: var(--blue); }
.welcome-text h2{
  margin-bottom: 26px;
}
.welcome-text p{
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}
.welcome-text p .highlight{
  color: var(--lime-dark);
  font-weight: 700;
}
.signature{
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--stone);
  display: flex; align-items: center; gap: 18px;
}
.signature .sig{
  font-family: var(--script);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1;
  transform: rotate(-3deg);
  margin-right: 6px;
}
.signature .meta strong{
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1.05rem;
}
.signature .meta span{
  font-size: 0.88rem;
  color: var(--slate);
}

/* ============== EXPERIENCIA (estilo Imagen 3) ============== */
.experiencia{
  background: var(--paper);
}
.exp-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px){
  .exp-grid{ grid-template-columns: 1fr; gap: 50px; }
}
.exp-text h2{ margin-bottom: 28px; }
.exp-text > p{
  color: var(--slate);
  font-size: 1.04rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.exp-features{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 540px){ .exp-features{ grid-template-columns: 1fr; } }

.exp-feat h5{
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.exp-feat h5::before{
  content: '';
  width: 26px; height: 3px;
  background: var(--lime);
  border-radius: 2px;
}
.exp-feat p{
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.65;
}

.exp-img{
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #dde5ec 0%, #b9c7d3 100%);
  position: relative;
}
.exp-img img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px){ .exp-img{ height: 450px; } }

.exp-img .stat-card{
  position: absolute;
  bottom: 30px; left: 30px;
  background: white;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 30px 50px -20px rgba(20,52,88,0.3);
  display: flex; gap: 16px; align-items: center;
}
.exp-img .stat-card .num{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.exp-img .stat-card .lbl{
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.3;
}

/* ============== JORNADAS EMPRESARIALES ============== */
.jornadas{
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.jornadas::before{
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(159,213,55,0.15), transparent 60%);
}
.jornadas::after{
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,148,197,0.25), transparent 60%);
}
.jornadas .container{
  position: relative; z-index: 2;
}
.jornadas .eyebrow{ color: var(--lime); }
.jornadas .eyebrow::before{ background: var(--lime); }
.jornadas .section-title{ color: white; }
.jornadas .section-title .accent{ color: var(--lime); }
.jornadas .section-title .underline-wrap::after{ opacity: 0.4; }

.jornadas-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px){
  .jornadas-grid{ grid-template-columns: 1fr; gap: 50px; }
}
.jornadas-text p{
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin: 28px 0 36px;
  max-width: 480px;
  line-height: 1.7;
}
.jornadas-list{
  list-style: none;
  margin-bottom: 36px;
}
.jornadas-list li{
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; gap: 14px; align-items: center;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
}
.jornadas-list li::before{
  content: '';
  width: 22px; height: 22px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2A45' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.jornadas-card{
  background: white;
  color: var(--ink);
  border-radius: 24px;
  padding: 38px;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4);
}
.jornadas-card .tag{
  position: absolute;
  top: -14px; left: 28px;
  background: var(--lime);
  color: var(--blue-deep);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.jornadas-card h3{
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--blue-deep);
  margin: 14px 0 6px;
  letter-spacing: -0.02em;
}
.jornadas-card .sub{
  color: var(--slate);
  font-size: 0.96rem;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--stone);
}
.jornadas-detail{
  display: grid; gap: 16px;
}
.jornadas-detail .row{
  display: flex; align-items: center; gap: 14px;
}
.jornadas-detail .row .ico{
  width: 42px; height: 42px;
  background: var(--cyan-soft);
  color: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jornadas-detail .row .ico.lime{
  background: var(--lime-soft);
  color: var(--lime-dark);
}
.jornadas-detail .row .meta strong{
  display: block;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 1rem;
}
.jornadas-detail .row .meta span{
  color: var(--slate);
  font-size: 0.88rem;
}

/* ============== OPTISALUD+ ============== */
.optisalud{
  background: var(--paper);
}
.opti-head{
  text-align: center;
  margin-bottom: 70px;
}
.opti-head .eyebrow{ justify-content: center; display: inline-flex; }
.opti-head .section-title{ margin: 0 auto; }

.opti-features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
@media(max-width:760px){ .opti-features{ grid-template-columns: 1fr; } }
.opti-feat{
  background: white;
  padding: 38px 30px;
  border-radius: 22px;
  border: 1px solid var(--bone);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.opti-feat::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.opti-feat:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -20px rgba(20,52,88,0.18);
}
.opti-feat:hover::before{ transform: scaleX(1); }
.opti-feat .num-tag{
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}
.opti-feat h4{
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.opti-feat p{
  color: var(--slate);
  font-size: 0.94rem;
  line-height: 1.6;
}

.opti-cta{
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dark) 100%);
  border-radius: 28px;
  padding: 50px 50px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 30px;
  box-shadow: 0 30px 60px -25px rgba(122,178,32,0.4);
}
@media(max-width: 760px){
  .opti-cta{ flex-direction: column; text-align: center; padding: 40px 30px; }
}
.opti-cta h3{
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--blue-deep);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.opti-cta h3 span{
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-top: 4px;
}
.opti-cta .btn{
  background: var(--blue-deep);
  color: white;
  flex-shrink: 0;
}
.opti-cta .btn:hover{
  background: white;
  color: var(--blue-deep);
}

/* ============== UBICACIÓN ============== */
.ubicacion{
  background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 100%);
}
.ubi-head{
  text-align: center;
  margin-bottom: 60px;
}
.ubi-head .eyebrow{ display: inline-flex; }
.ubi-head .section-title{ margin: 0 auto; }

.ubi-card{
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 40px 80px -30px rgba(20,52,88,0.2);
}
@media(max-width: 900px){ .ubi-card{ grid-template-columns: 1fr; } }

.ubi-info{
  padding: 60px 50px;
}
.ubi-info h3{
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue-deep);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}
.ubi-row{
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--bone);
}
.ubi-row:last-child{ border-bottom: none; }
.ubi-row .ico{
  width: 46px; height: 46px;
  background: var(--cyan-soft);
  color: var(--blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ubi-row .ico.lime{ background: var(--lime-soft); color: var(--lime-dark); }
.ubi-row .ico.deep{ background: rgba(20,52,88,0.08); color: var(--blue-deep); }
.ubi-row h5{
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 4px;
}
.ubi-row p, .ubi-row a{
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.45;
}
.ubi-row a:hover{ color: var(--blue); }
.ubi-row .social-links{
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px;
}
.ubi-row .social-links a{
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bone);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-dark);
  transition: all .2s;
}
.ubi-row .social-links a.wa{ background: rgba(37,211,102,0.12); color: #128C7E; }
.ubi-row .social-links a:hover{ background: var(--blue); color: white; transform: translateY(-1px); }
.ubi-row .social-links a.wa:hover{ background: #25D366; color: white; }

.ubi-map{
  background:
    radial-gradient(circle at 30% 30%, rgba(159,213,55,0.18), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(16,148,197,0.2), transparent 50%),
    linear-gradient(135deg, #DAE5EC 0%, #B5C7D3 100%);
  position: relative;
  min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.ubi-map svg{
  width: 70%; max-width: 280px;
  filter: drop-shadow(0 20px 30px rgba(20,52,88,0.3));
}
.map-pin{
  position: absolute;
  bottom: 28px; right: 28px;
  background: var(--blue-deep);
  color: white;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
}
.map-pin::before{
  content: '';
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(159,213,55,0.35);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%, 100%{ box-shadow: 0 0 0 4px rgba(159,213,55,0.35); }
  50%{ box-shadow: 0 0 0 9px rgba(159,213,55,0.15); }
}

/* ============== CTA FINAL ============== */
.cta-final{
  background: var(--blue-deep);
  color: white;
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before{
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(159,213,55,0.15), transparent 65%);
}
.cta-final::after{
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,148,197,0.2), transparent 65%);
}
.cta-final h2{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 22px;
  position: relative; z-index: 2;
}
.cta-final h2 .accent{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--lime);
}
.cta-final p{
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto 38px;
  font-size: 1.05rem;
  position: relative; z-index: 2;
}
.cta-final .btn-row{
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 2;
}
.cta-final .btn-wa{
  background: #25D366;
  color: white;
}
.cta-final .btn-wa:hover{
  background: white; color: #128C7E;
  transform: translateY(-2px);
}
.cta-final .btn-ig{
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.cta-final .btn-ig:hover{
  background: white;
  color: var(--blue-deep);
  border-color: white;
}

/* ============== FOOTER ============== */
footer{
  background: #0A1F33;
  color: rgba(255,255,255,0.6);
  padding: 60px 48px 30px;
}
.foot-grid{
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
@media (max-width: 760px){
  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
}
.foot-brand{ }
.foot-brand .logo-row{
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.foot-brand img{
  width: 54px; height: 54px;
  background: white; border-radius: 50%; padding: 2px;
}
.foot-brand .name{
  font-family: var(--serif);
  font-weight: 700;
  color: white;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.foot-brand .name small{
  display: block;
  font-family: var(--script);
  font-weight: 700;
  color: var(--lime);
  font-size: 1.15rem;
  margin-top: -2px;
}
.foot-brand p{
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
}
.foot-col h6{
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.foot-col ul{ list-style: none; }
.foot-col li{ margin-bottom: 10px; }
.foot-col a{
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color .2s;
}
.foot-col a:hover{ color: var(--lime); }
.foot-bottom{
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}
@media (max-width: 600px){
  .foot-bottom{ flex-direction: column; gap: 8px; text-align:center; }
}

/* ============== ANIMACIONES ============== */
.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
}
.reveal.visible{
  opacity: 1; transform: translateY(0);
}
