:root{
  --primary:#0d1b5e;
  --primary-2:#1f2f88;
  --secondary:#7dd3c7;
  --accent:#8ea3ff;
  --soft:#f4f7ff;
  --soft-2:#eef2fb;
  --text:#24304a;
  --muted:#6e7891;
  --white:#ffffff;
  --dark:#08123d;
  --radius:24px;
  --shadow:0 20px 60px rgba(14, 31, 94, 0.12);
  --shadow-soft:0 10px 35px rgba(14, 31, 94, 0.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Manrope', sans-serif;
  color:var(--text);
  background:#fff;
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

img{
  max-width:100%;
}

.section{
  padding:110px 0;
}

.section-heading{
  max-width:800px;
  margin:0 auto 20px;
}

.section-heading h2{
  font-size:clamp(2rem, 3vw, 3rem);
  font-weight:800;
  line-height:1.18;
  color:var(--primary);
  margin-bottom:18px;
}

.section-heading p{
  color:var(--muted);
  font-size:1rem;
  line-height:1.8;
}

.section-kicker,
.eyebrow{
  display:inline-block;
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  color:var(--secondary);
  margin-bottom:14px;
}

/* TOPBAR */
.topbar{
  background:var(--primary);
  color:#dfe7ff;
  font-size:.92rem;
}

.topbar-wrap{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.topbar-left,
.topbar-right{
  display:flex;
  align-items:center;
  gap:20px;
}

.topbar-left span{
  display:flex;
  align-items:center;
  gap:8px;
}

.topbar-right a{
  width:34px;
  height:34px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  color:#fff;
  transition:.3s ease;
}

.topbar-right a:hover{
  background:var(--secondary);
  color:var(--primary);
}

/* NAVBAR */
.main-navbar{
  background:rgba(255,255,255,.93);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 30px rgba(20, 39, 100, 0.06);
}

.navbar-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--primary);
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  font-weight:800;
}

.brand-text{
  letter-spacing:.03em;
}

.nav-link{
  color:var(--text);
  font-weight:700;
  margin:0 10px;
  position:relative;
}

.nav-link:hover{
  color:var(--primary);
}

.btn-nav{
  background:var(--primary);
  color:#fff;
  border-radius:999px;
  padding:12px 22px;
  font-weight:800;
  transition:.3s ease;
}

.btn-nav:hover{
  background:var(--primary-2);
  color:#fff;
  transform:translateY(-2px);
}

/* HERO */
.hero-section{
  position:relative;
  padding:110px 0 150px;
  background:
    radial-gradient(circle at 15% 20%, rgba(125,211,199,.20), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(142,163,255,.18), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  overflow:hidden;
}

.hero-bg-shape{
  position:absolute;
  border-radius:50%;
  filter:blur(20px);
  opacity:.6;
}

.hero-shape-1{
  width:320px;
  height:320px;
  background:rgba(125,211,199,.18);
  left:-70px;
  top:90px;
}

.hero-shape-2{
  width:380px;
  height:380px;
  background:rgba(77, 108, 255, .12);
  right:-120px;
  top:40px;
}

.hero-copy h1{
  font-size:clamp(2.6rem, 4.6vw, 4.8rem);
  line-height:1.05;
  font-weight:800;
  color:var(--primary);
  margin-bottom:22px;
}

.hero-copy h1 span{
  color:var(--primary-2);
}

.hero-copy p{
  font-size:1.04rem;
  line-height:1.9;
  color:var(--muted);
  max-width:620px;
  margin-bottom:30px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}

.btn-main,
.btn-outline-main{
  border-radius:999px;
  padding:15px 28px;
  font-weight:800;
  transition:.3s ease;
}

.btn-main{
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  box-shadow:0 18px 35px rgba(13,27,94,.18);
}

.btn-main:hover{
  color:#fff;
  transform:translateY(-3px);
}

.btn-outline-main{
  border:1.5px solid rgba(13,27,94,.16);
  color:var(--primary);
  background:#fff;
}

.btn-outline-main:hover{
  color:var(--primary);
  transform:translateY(-3px);
}

.hero-mini-stats{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
}

.mini-stat strong{
  display:block;
  font-size:1.2rem;
  color:var(--primary);
  font-weight:800;
}

.mini-stat span{
  display:block;
  color:var(--muted);
  font-size:.92rem;
  margin-top:4px;
}

/* HERO VISUAL */
.hero-visual{
  position:relative;
  min-height:620px;
}

.visual-card{
  position:absolute;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
}

.card-main{
  right:30px;
  top:10px;
  width:430px;
  height:500px;
  border-radius:38px;
}

.card-secondary{
  left:10px;
  bottom:20px;
  width:230px;
  height:250px;
  border-radius:30px;
  border:10px solid #fff;
}

.visual-photo{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
}

.photo-a{
  background-image:
    linear-gradient(180deg, rgba(13,27,94,.18), rgba(13,27,94,.06)),
    url('https://images.unsplash.com/photo-1516302752625-fcc3c50ae61f?auto=format&fit=crop&w=1200&q=80');
}

.photo-b{
  background-image:
    linear-gradient(180deg, rgba(125,211,199,.18), rgba(13,27,94,.08)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=900&q=80');
}

.floating-badge{
  position:absolute;
  display:flex;
  align-items:center;
  gap:14px;
  background:#fff;
  border-radius:20px;
  padding:18px 20px;
  box-shadow:var(--shadow-soft);
  min-width:240px;
  z-index:3;
}

.floating-badge i{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(125,211,199,.22), rgba(142,163,255,.18));
  color:var(--primary);
  font-size:1.1rem;
}

.floating-badge strong{
  display:block;
  color:var(--primary);
  font-weight:800;
  font-size:.98rem;
}

.floating-badge span{
  display:block;
  color:var(--muted);
  font-size:.88rem;
  margin-top:3px;
}

.badge-therapy{
  left:-10px;
  top:90px;
}

.badge-relations{
  right:-20px;
  bottom:90px;
}

.dot-pattern{
  position:absolute;
  right:0;
  top:65px;
  width:120px;
  height:120px;
  background-image:radial-gradient(var(--accent) 1.8px, transparent 1.8px);
  background-size:16px 16px;
  opacity:.35;
  z-index:0;
}

/* HERO FEATURE CARDS */
.hero-features-wrap{
  position:relative;
  margin-top:-60px;
  z-index:4;
}

.hero-features{
  background:#fff;
  border-radius:28px;
  padding:34px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.feature-box{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.icon-box{
  flex:0 0 auto;
  width:60px;
  height:60px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(13,27,94,.08), rgba(125,211,199,.18));
  color:var(--primary);
  font-size:1.2rem;
}

.feature-box h3{
  font-size:1.06rem;
  font-weight:800;
  color:var(--primary);
  margin-bottom:8px;
}

.feature-box p{
  color:var(--muted);
  line-height:1.75;
  margin:0;
  font-size:.95rem;
}

/* ABOUT */
.about-section{
  background:#fff;
}

.about-media{
  position:relative;
  min-height:560px;
}

.about-image{
  position:absolute;
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background-size:cover;
  background-position:center;
}

.about-image-main{
  left:0;
  top:0;
  width:78%;
  height:470px;
  background-image:
    linear-gradient(180deg, rgba(13,27,94,.14), rgba(13,27,94,.06)),
    url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=1200&q=80');
}

.about-image-small{
  right:0;
  bottom:20px;
  width:42%;
  height:220px;
  border:10px solid #fff;
  background-image:
    linear-gradient(180deg, rgba(125,211,199,.12), rgba(13,27,94,.12)),
    url('https://images.unsplash.com/photo-1573497620053-ea5300f94f21?auto=format&fit=crop&w=900&q=80');
}

.about-counter{
  position:absolute;
  left:22px;
  bottom:0;
  background:var(--primary);
  color:#fff;
  padding:22px 26px;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(13,27,94,.24);
}

.about-counter strong{
  display:block;
  font-size:1.15rem;
  font-weight:800;
}

.about-counter span{
  display:block;
  font-size:.92rem;
  margin-top:6px;
  color:#ced8ff;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:28px;
}

.about-info-card{
  background:var(--soft);
  border-radius:24px;
  padding:26px 24px;
  box-shadow:var(--shadow-soft);
}

.about-info-card h4{
  font-size:1.05rem;
  font-weight:800;
  color:var(--primary);
  margin-bottom:10px;
}

.about-info-card p{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

/* SERVICES */
.services-section{
  background:linear-gradient(180deg, #f8fbff 0%, #f2f6ff 100%);
}

.service-card{
  background:#fff;
  border-radius:28px;
  padding:34px 28px;
  height:100%;
  box-shadow:var(--shadow-soft);
  transition:.35s ease;
  position:relative;
  overflow:hidden;
}

.service-card::before{
  content:"";
  position:absolute;
  inset:auto -30px -30px auto;
  width:120px;
  height:120px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(125,211,199,.18), transparent 65%);
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 24px 50px rgba(14,31,94,.12);
}

.service-icon{
  width:72px;
  height:72px;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(13,27,94,.08), rgba(125,211,199,.22));
  color:var(--primary);
  font-size:1.35rem;
  margin-bottom:22px;
}

.service-card h3{
  font-size:1.16rem;
  font-weight:800;
  color:var(--primary);
  margin-bottom:12px;
}

.service-card p{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:18px;
}

.service-card a{
  color:var(--primary);
  font-weight:800;
}

.service-card a i{
  margin-left:6px;
  transition:.3s ease;
}

.service-card:hover a i{
  transform:translateX(4px);
}

/* AREAS GRID */
.areas-section{
  background:#fff;
}

.areas-grid{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.area-card{
  position:relative;
  min-height:300px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.area-big{
  grid-column:span 2;
  min-height:340px;
}

.area-image{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  transform:scale(1);
  transition:transform .45s ease;
}

.area-card:hover .area-image{
  transform:scale(1.06);
}

.area-overlay{
  position:absolute;
  inset:0;
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:linear-gradient(180deg, rgba(7,12,40,.02) 15%, rgba(7,12,40,.78) 100%);
}

.area-overlay h3{
  color:#fff;
  font-size:1.3rem;
  line-height:1.25;
  font-weight:800;
  max-width:85%;
  margin:10px 0 0;
}

.tag{
  align-self:flex-start;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  backdrop-filter:blur(6px);
  border-radius:999px;
  padding:9px 14px;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.03em;
}

.img-1{
  background-image:url('https://images.unsplash.com/photo-1493836512294-502baa1986e2?auto=format&fit=crop&w=1200&q=80');
}
.img-2{
  background-image:url('https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1000&q=80');
}
.img-3{
  background-image:url('https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1000&q=80');
}
.img-4{
  background-image:url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=1000&q=80');
}
.img-5{
  background-image:url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1000&q=80');
}
.img-6{
  background-image:url('https://images.unsplash.com/photo-1484863137850-59afcfe05386?auto=format&fit=crop&w=1000&q=80');
}
.img-7{
  background-image:url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80');
}

/* TESTIMONIAL */
.testimonial-section{
  background:linear-gradient(135deg, #0b1650 0%, #152579 100%);
  position:relative;
}

.testimonial-wrap{
  position:relative;
  padding:52px;
  border-radius:36px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.quote-mark{
  position:absolute;
  right:40px;
  top:24px;
  font-size:5rem;
  color:rgba(255,255,255,.07);
}

.testimonial-wrap h2{
  color:#fff;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:1.2;
  font-weight:800;
  margin-bottom:16px;
}

.testimonial-wrap p{
  color:#d8dffb;
  line-height:1.9;
  margin-bottom:0;
}

.testimonial-card{
  background:#fff;
  border-radius:28px;
  padding:32px 28px;
  box-shadow:0 24px 50px rgba(0,0,0,.12);
}

.testimonial-avatar{
  width:74px;
  height:74px;
  border-radius:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff;
  font-weight:800;
  font-size:1.4rem;
  margin-bottom:18px;
}

.testimonial-card h4{
  font-size:1.15rem;
  font-weight:800;
  color:var(--primary);
  margin-bottom:4px;
}

.testimonial-card span{
  display:block;
  color:var(--muted);
  font-size:.92rem;
  margin-bottom:12px;
}

.testimonial-card p{
  color:var(--muted);
  line-height:1.85;
}

/* TEAM */
.team-section{
  background:#f8fbff;
}

.team-card{
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  height:100%;
  transition:.35s ease;
}

.team-card:hover{
  transform:translateY(-8px);
}

.team-photo{
  height:320px;
  background-size:cover;
  background-position:center;
}

.team-1{
  background-image:
    linear-gradient(180deg, rgba(13,27,94,.08), rgba(13,27,94,.02)),
    url('../material/hilda_villafuerte.JPG');
}
.team-2{
  background-image:
    linear-gradient(180deg, rgba(13,27,94,.08), rgba(13,27,94,.02)),
    url('../material/maria_eugenia.JPG');
}
.team-3{
  background-image:
    linear-gradient(180deg, rgba(13,27,94,.08), rgba(13,27,94,.02)),
    url('../material/alejandra_rodriguez.jpg');
}

.team-body{
  padding:28px 24px 24px;
}

.team-body h3{
  font-size:1.16rem;
  color:var(--primary);
  font-weight:800;
  line-height:1.35;
  margin-bottom:6px;
}

.team-body span{
  display:block;
  color:var(--secondary);
  font-weight:800;
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.team-body p{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:18px;
}

.team-socials{
  display:flex;
  gap:10px;
}

.team-socials a{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft);
  color:var(--primary);
  transition:.3s ease;
}

.team-socials a:hover{
  background:var(--primary);
  color:#fff;
}

/* CTA */
.cta-section{
  background:#fff;
  padding-top:0;
}

.cta-box{
  background:linear-gradient(135deg, #0d1b5e 0%, #1f2f88 100%);
  border-radius:34px;
  padding:54px 48px;
  box-shadow:0 24px 50px rgba(13,27,94,.18);
}

.cta-box h2{
  color:#fff;
  font-size:clamp(2rem, 3vw, 2.8rem);
  line-height:1.2;
  font-weight:800;
  margin-bottom:12px;
}

.cta-box p{
  color:#d8dffb;
  line-height:1.9;
  margin-bottom:0;
}

.btn-light-cta{
  display:inline-block;
  background:#fff;
  color:var(--primary);
  border-radius:999px;
  padding:15px 28px;
  font-weight:800;
  transition:.3s ease;
}

.btn-light-cta:hover{
  color:var(--primary);
  transform:translateY(-3px);
}

/* CONTACT */
.contact-section{
  background:#f8fbff;
}

.contact-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.contact-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:#fff;
  padding:22px;
  border-radius:22px;
  box-shadow:var(--shadow-soft);
}

.contact-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(13,27,94,.08), rgba(125,211,199,.22));
  color:var(--primary);
  font-size:1.1rem;
}

.contact-item h4{
  font-size:1rem;
  color:var(--primary);
  font-weight:800;
  margin-bottom:6px;
}

.contact-item p{
  margin:0;
  color:var(--muted);
}

.contact-form-box{
  background:#fff;
  border-radius:30px;
  padding:34px;
  box-shadow:var(--shadow);
}

.custom-input{
  border:none;
  background:var(--soft);
  min-height:58px;
  border-radius:18px;
  padding:16px 18px;
  color:var(--text);
  box-shadow:none !important;
}

.custom-input::placeholder{
  color:#8993ad;
}

textarea.custom-input{
  min-height:auto;
  resize:none;
}

/* FOOTER */
.main-footer{
  background:#08123d;
  color:#d7def8;
  padding:70px 0 25px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding-bottom:28px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-inner h3{
  color:#fff;
  font-weight:800;
  margin-bottom:12px;
}

.footer-inner p{
  max-width:560px;
  line-height:1.8;
  margin:0;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:flex-start;
}

.footer-links a{
  color:#d7def8;
  font-weight:700;
}

.footer-links a:hover{
  color:#fff;
}

.footer-bottom{
  padding-top:22px;
}

.footer-bottom p{
  margin:0;
  color:#b4bfdc;
  font-size:.95rem;
}

/* RESPONSIVE */
@media (max-width:1199px){
  .hero-features{
    grid-template-columns:1fr;
  }

  .areas-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .area-big{
    grid-column:span 2;
  }

  .card-main{
    width:380px;
    height:460px;
  }

  .badge-relations{
    right:0;
  }
}

@media (max-width:991px){
  .section{
    padding:90px 0;
  }

  .topbar-wrap{
    justify-content:center;
  }

  .hero-section{
    padding:90px 0 120px;
  }

  .hero-visual{
    min-height:560px;
  }

  .card-main{
    position:relative;
    width:100%;
    max-width:430px;
    height:420px;
    margin:0 auto;
    right:auto;
    top:auto;
  }

  .card-secondary{
    width:190px;
    height:210px;
    left:0;
    bottom:0;
  }

  .badge-therapy{
    left:10px;
    top:20px;
  }

  .badge-relations{
    right:10px;
    bottom:30px;
  }

  .about-grid{
    grid-template-columns:1fr;
  }

  .about-media{
    min-height:500px;
  }

  .areas-grid{
    grid-template-columns:1fr 1fr;
  }

  .cta-box{
    padding:42px 30px;
  }
}

@media (max-width:767px){
  .topbar-left,
  .topbar-right{
    justify-content:center;
    width:100%;
    flex-wrap:wrap;
  }

  .hero-copy h1{
    font-size:2.3rem;
  }

  .hero-mini-stats{
    gap:16px;
  }

  .hero-visual{
    min-height:500px;
  }

  .card-main{
    height:360px;
    border-radius:28px;
  }

  .card-secondary{
    width:150px;
    height:170px;
    border-width:6px;
    border-radius:22px;
  }

  .floating-badge{
    min-width:unset;
    max-width:220px;
    padding:14px 16px;
  }

  .about-image-main{
    width:100%;
    height:360px;
  }

  .about-image-small{
    width:48%;
    height:160px;
  }

  .about-counter{
    left:14px;
    right:14px;
    bottom:-10px;
  }

  .areas-grid{
    grid-template-columns:1fr;
  }

  .area-big{
    grid-column:auto;
  }

  .testimonial-wrap{
    padding:34px 24px;
  }

  .cta-box{
    text-align:left;
  }

  .contact-form-box{
    padding:26px 20px;
  }

  .footer-inner{
    flex-direction:column;
  }
}

/* BOTON VER MAS EN CARDS */
.btn-team-more{
  border:none;
  background:linear-gradient(135deg, var(--primary), var(--primary-2));
  color:#fff;
  border-radius:14px;
  padding:10px 16px;
  font-weight:800;
  font-size:.92rem;
  transition:.3s ease;
  box-shadow:0 12px 24px rgba(13,27,94,.18);
}

.btn-team-more:hover{
  transform:translateY(-2px);
  opacity:.96;
}

/* MODALES DE EQUIPO */
.team-modal .modal-content{
  border:none;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(13,27,94,.18);
}

.team-modal-header{
  padding:28px 30px 20px;
  border-bottom:1px solid rgba(13,27,94,.08);
  background:
    radial-gradient(circle at top right, rgba(125,211,199,.18), transparent 28%),
    linear-gradient(180deg,#f8fbff 0%, #ffffff 100%);
}

.team-modal-header h2{
  margin:6px 0 6px;
  color:var(--primary);
  font-size:clamp(1.6rem, 2vw, 2.2rem);
  font-weight:800;
}

.team-modal-header p{
  margin:0;
  color:var(--muted);
  font-weight:600;
}

.modal-kicker{
  display:inline-block;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:800;
  color:var(--secondary);
}

.team-modal .modal-body{
  padding:30px;
  background:#fff;
}

.team-modal-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:24px;
  align-items:start;
}

.team-modal-side,
.team-modal-main{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.team-modal-photo{
  height:340px;
  border-radius:26px;
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow-soft);
}

.team-modal-box{
  background:var(--soft);
  border-radius:24px;
  padding:22px 22px;
  box-shadow:var(--shadow-soft);
}

.team-modal-box h4{
  color:var(--primary);
  font-size:1rem;
  font-weight:800;
  margin-bottom:14px;
}

.team-modal-box p{
  color:var(--muted);
  line-height:1.85;
  margin-bottom:0;
}

.modal-list{
  margin:0;
  padding-left:18px;
}

.modal-list li{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:8px;
}

.modal-list.clean{
  list-style:none;
  padding-left:0;
}

.modal-list.clean li{
  margin-bottom:10px;
}

.modal-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.modal-tags span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
  color:var(--primary);
  font-weight:700;
  font-size:.88rem;
  box-shadow:0 8px 18px rgba(13,27,94,.08);
}

.team-modal .btn-close{
  box-shadow:none;
  opacity:1;
}

@media (max-width: 991px){
  .team-modal-grid{
    grid-template-columns:1fr;
  }

  .team-modal-photo{
    height:280px;
  }
}

@media (max-width: 575px){
  .team-modal .modal-body,
  .team-modal-header{
    padding:20px;
  }

  .team-modal-box{
    padding:18px;
    border-radius:20px;
  }
}


.contact-section .section-heading{
text-align:center;
margin:0 auto 60px;
}

/* BOTON DE MAPA EN TEAM */
.btn-team-map{
  width:42px;
  height:42px;
  border:none;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft);
  color:var(--primary);
  transition:.3s ease;
  box-shadow:none;
}

.btn-team-map:hover{
  background:var(--primary);
  color:#fff;
  transform:translateY(-2px);
}

/* MODALES DE MAPA */
.map-modal-content{
  border:none;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(13,27,94,.18);
}

.map-modal-header{
  padding:24px 26px 18px;
  border-bottom:1px solid rgba(13,27,94,.08);
  background:
    radial-gradient(circle at top right, rgba(125,211,199,.18), transparent 28%),
    linear-gradient(180deg,#f8fbff 0%, #ffffff 100%);
}

.map-modal-header h3{
  margin:6px 0 6px;
  color:var(--primary);
  font-size:1.35rem;
  font-weight:800;
}

.map-modal-header p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.map-frame-wrap{
  width:100%;
  background:#f3f6fd;
}

.map-frame-wrap iframe{
  display:block;
  width:100%;
  border:0;
}

.map-modal-footer{
  padding:18px 26px 24px;
  border-top:none;
  justify-content:flex-end;
  background:#fff;
}

@media (max-width: 575px){
  .map-modal-header,
  .map-modal-footer{
    padding-left:18px;
    padding-right:18px;
  }

  .map-modal-header h3{
    font-size:1.15rem;
  }
}


.contact-content{
  width:100%;
}

.contact-list-mini{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

.contact-mini{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  background:#f4f7ff;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
}

.contact-mini a{
  color:var(--primary);
  font-weight:700;
  text-decoration:none;
  word-break:break-word;
}

.contact-mini a:hover{
  text-decoration:underline;
}

.contact-name{
  font-weight:800;
  color:var(--primary);
  min-width:130px;
}

.contact-text{
  color:var(--muted);
  line-height:1.6;
  text-align:right;
}

.contact-mini-location{
  align-items:flex-start;
}

.contact-mini-location .contact-name{
  padding-top:2px;
}

@media (max-width: 575px){
  .contact-mini{
    flex-direction:column;
    align-items:flex-start;
  }

  .contact-text{
    text-align:left;
  }

  .contact-name{
    min-width:auto;
  }
}

.custom-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238993ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 18px center;
  background-size:16px;
  padding-right:48px;
  cursor:pointer;
}