/* SECCIÓN: TIPOGRAFÍAS*/
@font-face {
  font-family: "ArialRoundedBold";
  src: url("../fonts/Arial Rounded Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SourceSansCustom";
  src: url("../fonts/SourceSansVariable-Roman.otf") format("opentype");
  font-weight: 200 900;      
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ParrafosFont";
  src: url("../fonts/b76df86f-59b0-4e7d-987e-bcce9454689c.otf") format("opentype");
  font-weight: normal; 
  font-style: normal;
  font-display: swap;
}

p{
  font-family: "ParrafosFont", system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 400;
}

/*  SECCIÓN: TÍTULOS DE SECCIONES */
/*  SECCIÓN: VARIABLES + RESET */
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --border:#e2e8f0;
  --primary:#2563eb;
  --primary-contrast:#fff;
  --radius:14px;

  /* ==== Variables CTA / Footer (de create.css) ==== */
  --a23-cta-bg:#343434;
  --a23-btn-bg:#51a0d5;
  --a23-btn-text:#000000;
  --a23-footer-bg:#51a0d5;
  --a23-text-light:#ffffff;

  --a23-shadow: 0 8px 28px rgba(0,0,0,.25);
}

*,*::before,*::after{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,svg{ display:block; max-width:100%; height:auto }
a{ color:inherit; text-decoration:none }
a:focus-visible,button:focus-visible{ outline:2px solid var(--primary); outline-offset:2px }

/*  SECCIÓN: SECCIONES BASE */
section{
  border-bottom:8px solid #f4f4f4;
  margin:0;
  border-radius:0;
  padding:0 20px;
  margin-bottom:10px;
}

/*  SECCIÓN: CONTENEDOR RESPONSIVE */
.container{ width:min(92vw, 720px); margin-inline:auto }
@media (min-width:1024px){ .container{ width:min(92vw, 960px) } }
@media (min-width:1300px){ .container{ width:min(92vw, 1120px) } }
@media (min-width:1440px){ .container{ width:min(92vw, 1240px) } }
@media (min-width:1600px){ .container{ width:min(92vw, 1360px) } }

/* SECCIÓN: BANNER (HERO) + NAV */
.hero{
  position:relative;
  border-bottom:0 !important;
}
.hero .bg{
  width:100vw;
  margin-left:calc(50% - 50vw);
  min-height: clamp(80vh, 70vh, 82vh); /* bajar imagen del banner */
  background-image:url("/img/bannerequipo.png");
  background-size:cover; background-position:center 10%; background-repeat:no-repeat;
  position:relative; isolation:isolate;
  display:flex; flex-direction:column; justify-content:flex-end;
}
/* Tablet vertical (portrait) */
@media (min-width:769px) and (max-width:1366px) and (orientation: portrait){
  .hero .bg{
    min-height: 40vh;
    background-position: center center;
  }
  .hero .content{
    transform: translateY(40px); /* baja SOLO el texto */
  }
}
/* Tablet horizontal (landscape) */
@media (min-width:769px) and (max-width:1366px) and (orientation: landscape){
  .hero .bg{
    min-height: 60vh; /* puedes hacerlo más bajo en horizontal */
    background-position: center center;
  }
}
/* Texto del banner: usa ArialRoundedBold */
.hero .content{
  position:relative; z-index:1; text-align:left; color:var(--text);
  padding: clamp(28px, 6vw, 72px) 0 clamp(32px, 8vw, 96px);
}
.hero h1 {
  font-family: "ArialRoundedBold", sans-serif;
  font-size: clamp(30px, 5.2vw, 40px);
  line-height: 1.08;
  margin: 0 0 12px;
  text-wrap: balance;
  text-align: left;
  font-weight: 300;
  color: #ffffff;
}
/* Nav global en global.css */
/*SECCIÓN: BANNER EN MÓVIL (MEDIA) */
@media (max-width:768px){
  .hero .bg{
    min-height: 60vh;
    background-position: center center;
  }
}
/* SECCIÓN: HERO - LANDSCAPE / PANTALLAS BAJAS */
@media (max-width:1024px) and (orientation:landscape){
  .hero .content{ padding-top:8px; padding-bottom:20px; text-align:center }
  .hero h1{ font-size: clamp(22px, 4.6vw, 40px); line-height:1.15; margin:0 16px }
  .hero .bg{ min-height:56vh; justify-content:center }
}
@media (max-height:430px) and (orientation:landscape){
  .hero h1{ font-size: clamp(20px, 4.2vw, 34px) }
}
/*  SECCIÓN: ACCESIBILIDAD (REDUCIR MOVIMIENTO) */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important }
}
/* Nav global en global.css */
/* ====== CONTENIDO VARIO ====== */
/* === Tarjetas de equipo rectángulo vertical === */
.team-group{
  margin-bottom: 42px;
}
.team-group:last-of-type{
  margin-bottom: 0;
}
.equipo-group-title{
  margin: 6px 0 0;
  text-align: center;
  font-family: "ArialRoundedBold", sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.1;
  font-weight: 700;
  color: #0f2345;
}
.equipo {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  padding: 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  max-width: 340px;  /* controla el ancho de la tarjeta */
}
.equipo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.equipo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  display: block;
}

/* Ajuste puntual: bajar un poco el foco de la foto de Sebastian */
.equipo img[src*="sebas.png"]{
  object-position: center 38%;
}
.equipo h3 {
  margin: 10px 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000;
}
.equipo p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #000000;
}
/* Grilla responsive */
.equipo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 38px;
  justify-items: center;
}

/* ===== Modal A23 ===== */
.a23-modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.a23-modal.is-open{ opacity: 1; pointer-events: auto; }

/* Fondo oscurecido */
.a23-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
/* Caja del diálogo */
.a23-modal-dialog{
  position: relative;
  width: min(720px, 92vw);
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  padding: clamp(18px, 3.2vw, 28px);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease, opacity .18s ease;
  opacity: 0;
}
.a23-modal.is-open .a23-modal-dialog{
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* Botón cerrar */
.a23-modal-close{
  position: absolute;
  top: 10px; right: 12px;
  font-size: 24px;
  line-height: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body.a23-modal-lock{ overflow: hidden; }
/* ===== Formulario ===== */
.a23-form { display: grid; gap: 16px; }
.a23-field { display: grid; gap: 8px; }
.a23-field label {
  font-size: 14px;
  color: #000000;
  font-weight: 600;
}
.a23-field input,
.a23-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font: inherit;
  background: #fff;
  transition: border .2s ease, box-shadow .2s ease;
}
.a23-field input:focus,
.a23-field textarea:focus {
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
  outline: none;
}
/* ===== Acciones ===== */
.a23-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.a23-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform .15s ease, filter .15s ease;
}
.a23-btn:active { transform: scale(.96); }
.a23-btn-primary {
  background: linear-gradient(135deg, var(--primary,#51a0d5), #51a0d5);
  color: var(--primary-contrast,#fff);
  box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.a23-btn-primary:hover { filter: brightness(1.08); }
.a23-btn-ghost {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}
.a23-btn-ghost:hover { background: #f8fafc; }

/* ===== Textos de “Nuestro equipo” ===== */
#nuestro-equipo .intro {
  text-align: center;
  border-bottom: 0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
#nuestro-equipo .intro p {
  font-size: 1.2rem;
  margin: 0 auto;
}
/* ===== Tipografía CTA exactamente como en create.css ===== */
.a23-cta,
.a23-cta h2,
.a23-cta .a23-lead,
.a23-cta .a23-sub{
  font-family: "Source Sans Variable", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.a23-cta h2{
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.a23-cta .a23-lead,
.a23-cta .a23-sub{
  font-weight: 400 !important;
}
