/*
Theme Name: Klein Medical Startup
Theme URI: https://example.com/
Author: Klein Medical
Description: Tema corporativo one-page para Klein Medical y GLYDRA.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: klein-medical
*/

:root{
  --bg:#f7fbfc;
  --surface:#ffffff;
  --ink:#0f2430;
  --muted:#5f7380;
  --line:#dfe9ed;
  --brand:#0f5f74;
  --brand-2:#45a5b6;
  --accent:#d8f0f4;
  --max:1180px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(var(--max),calc(100% - 40px));
  margin:auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(247,251,252,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(223,233,237,.85);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  gap:28px;
}

/* LOGO */
.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  width:250px;
}

.brand img{
  display:block;
  width:250px !important;
  max-width:250px !important;
  height:auto !important;
}

/* MENÚ */
.navlinks{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  font-size:.95rem;
  color:var(--muted);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-weight:700;
  border:1px solid var(--ink);
  transition:.2s;
}

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

.btn.secondary{
  background:transparent;
  color:var(--ink);
}

/* HERO */
.hero{
  padding:92px 0 72px;
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:56px;
}

.eyebrow{
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brand);
  font-weight:800;
  margin-bottom:18px;
}

h1{
  font-size:clamp(3rem,7vw,6.7rem);
  line-height:.95;
  letter-spacing:-.055em;
  margin:0 0 26px;
  max-width:950px;
}

.hero p{
  font-size:1.18rem;
  color:var(--muted);
  max-width:720px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

.hero-card{
  min-height:480px;
  border-radius:32px;
  background:linear-gradient(145deg,#0e3140,#176f84 55%,#60b8c6);
  position:relative;
  box-shadow:0 28px 80px rgba(20,70,85,.22);
  overflow:hidden;
}

.hero-card:before{
  content:"";
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background:rgba(255,255,255,.13);
  top:-60px;
  right:-50px;
}

.hero-card:after{
  content:"GLYDRA";
  position:absolute;
  left:34px;
  bottom:30px;
  color:#fff;
  font-size:clamp(2.6rem,5vw,5rem);
  font-weight:800;
  letter-spacing:-.06em;
}

.stick{
  position:absolute;
  width:82px;
  height:310px;
  border-radius:40px;
  background:linear-gradient(#fff,#d9eef2);
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(12deg);
  box-shadow:0 20px 45px rgba(0,0,0,.22);
}

.stick:before{
  content:"";
  position:absolute;
  top:24px;
  left:16px;
  right:16px;
  height:70px;
  border-radius:30px;
  background:#b9dfe6;
}

.pill-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:38px;
}

.pill{
  padding:9px 14px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--line);
  font-size:.9rem;
  color:var(--muted);
}

/* SECCIONES */
section{
  padding:86px 0;
}

.section-head{
  max-width:760px;
  margin-bottom:42px;
}

.section-head h2{
  font-size:clamp(2rem,4vw,4rem);
  line-height:1;
  letter-spacing:-.045em;
  margin:0 0 18px;
}

.section-head p{
  color:var(--muted);
  font-size:1.06rem;
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px;
}

.card h3{
  margin-top:0;
  font-size:1.15rem;
}

.card p{
  color:var(--muted);
  margin-bottom:0;
}

/* SECCIONES OSCURAS */
.dark{
  background:#0d2631;
  color:#fff;
}

.dark .section-head p,
.dark .card p{
  color:#b8c8cf;
}

.dark .card{
  background:#113541;
  border-color:#1f4956;
}

/* PRODUCTO */
.product-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:46px;
  align-items:start;
}

.feature-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

.feature{
  padding:22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.feature b{
  display:block;
  margin-bottom:6px;
}

.feature span{
  color:var(--muted);
  font-size:.95rem;
}

.quote{
  font-size:clamp(2rem,4vw,3.8rem);
  line-height:1.08;
  letter-spacing:-.045em;
  margin:0;
}

/* TIMELINE */
.timeline{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}

.step{
  padding:22px 18px;
  border-top:2px solid var(--brand-2);
  background:#fff;
  border-radius:0 0 16px 16px;
}

.step strong{
  display:block;
  font-size:.78rem;
  color:var(--brand);
  letter-spacing:.1em;
  margin-bottom:8px;
}

.step p{
  font-size:.94rem;
  color:var(--muted);
  margin:0;
}

/* EQUIPO */
.team{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.person{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:30px;
}

.person small{
  color:var(--brand);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.person h3{
  font-size:1.6rem;
  margin:.4rem 0;
}

.person p{
  color:var(--muted);
}

/* CONTACTO */
.contact-box{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  padding:38px;
  border-radius:28px;
  background:linear-gradient(145deg,#e6f5f7,#fff);
  border:1px solid var(--line);
}

.disclaimer{
  font-size:.84rem;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-top:32px;
}

/* FOOTER */
footer{
  padding:34px 0 52px;
  color:var(--muted);
  font-size:.9rem;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

/* RESPONSIVE */
@media(max-width:900px){

  .hero-grid,
  .product-grid{
    grid-template-columns:1fr;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .feature-list{
    grid-template-columns:1fr;
  }

  .timeline{
    grid-template-columns:1fr 1fr;
  }

  .team{
    grid-template-columns:1fr;
  }

  .navlinks{
    display:none;
  }

  .hero{
    padding-top:64px;
  }

  .hero-card{
    min-height:360px;
  }

  .brand,
  .brand img{
    width:140px;
    max-width:140px;
  }
}

@media(max-width:560px){

  .timeline{
    grid-template-columns:1fr;
  }

  .contact-box{
    align-items:flex-start;
    flex-direction:column;
  }

  h1{
    font-size:3.2rem;
  }

  .container{
    width:min(var(--max),calc(100% - 28px));
  }

  .brand,
  .brand img{
    width:130px;
    max-width:130px;
  }
}
/* CONTACT FORM 7 - KLEIN MEDICAL */

.contact-box-form{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:56px;
  align-items:center;
  padding:38px;
  border-radius:28px;
  background:linear-gradient(145deg,#e6f5f7,#fff);
  border:1px solid var(--line);
}

.contact-info h2{
  margin:0 0 16px;
  font-size:clamp(2.4rem,4vw,4rem);
  line-height:1;
  letter-spacing:-.04em;
}

.contact-info p{
  color:var(--muted);
  max-width:500px;
}

.contact-location{
  margin-top:28px;
  font-size:.95rem;
}

/* Contenedor formulario */
.contact-form{
  width:100%;
}

/* Cada bloque del formulario */
.contact-form .wpcf7 p{
  margin:0 0 18px;
}

/* Labels */
.contact-form .wpcf7 label{
  display:block;
  font-size:.9rem;
  font-weight:700;
  color:var(--ink);
  line-height:1.4;
}

/* Inputs */
.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 input[type="url"],
.contact-form .wpcf7 input[type="number"],
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea{
  width:100%;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-size:.95rem;
  outline:none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

/* Altura textarea */
.contact-form .wpcf7 textarea{
  min-height:150px;
  resize:vertical;
}

/* Focus */
.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 textarea:focus,
.contact-form .wpcf7 select:focus{
  border-color:var(--brand-2);
  box-shadow:0 0 0 4px rgba(69,165,182,.12);
}

/* Botón enviar */
.contact-form .wpcf7 input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 22px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  border:1px solid var(--ink);
  cursor:pointer;
  transition:.2s ease;
}

.contact-form .wpcf7 input[type="submit"]:hover{
  transform:translateY(-1px);
  background:var(--brand);
  border-color:var(--brand);
}

/* Mensajes de validación */
.contact-form .wpcf7-not-valid-tip{
  font-size:.82rem;
  margin-top:5px;
}

.contact-form .wpcf7-response-output{
  margin:18px 0 0 !important;
  padding:12px 15px !important;
  border-radius:12px;
  font-size:.9rem;
}

/* Spinner */
.contact-form .wpcf7-spinner{
  margin-left:12px;
}

/* Responsive */
@media(max-width:900px){

  .contact-box-form{
    grid-template-columns:1fr;
    gap:36px;
    align-items:start;
  }

}

@media(max-width:560px){

  .contact-box-form{
    padding:26px 22px;
  }

  .contact-form .wpcf7 input[type="submit"]{
    width:100%;
  }

}