:root {
  --bg: #fdfbf8;
  --ink: #2c2c2c;
  --muted: #5e645f;
  --soft: #f4f0e9;
  --line: #e2ddd3;
  --accent: #4a5d4e;
  --accent2: #384a3c;
  --radius: 4px;
  --shadow: 0 4px 20px rgba(0,0,0,.05);
  --max: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body{
  font-family: "Charter","Bitstream Charter","Sitka Text",Cambria,serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

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

/* Skip link – accesibilidad (solo visible al foco) */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:var(--soft);
  color:var(--ink);
  border-radius:6px;
  box-shadow:var(--shadow);
  z-index:1000;
  text-decoration:none;
}

/* ================= HEADER ================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

/* LOGO + TEXTO (texto debajo del logo) */
.brand-link{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

/* LOGO – PROTAGONISTA */
.brand-logo-img{
  width: 260px;           /* desktop */
  max-width: 34vw;
  height: auto;
  display: block;
}

.brand-text{
  display: flex;
  flex-direction: column;
}

.brand-name{
  font-weight: 650;
  line-height: 1.15;
}

.brand-sub{
  font-size: 12.5px;
  color: var(--muted);
}

/* NAV */
.nav{
  margin-left: auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a{
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover{
  color: var(--ink);
  text-decoration: none;
}

/* BOTONES */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}

.btn-primary{
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover{
  background: var(--accent2);
  text-decoration: none;
}

.btn-ghost{
  background: #fff;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-ghost:hover{
  background: var(--accent);
  color: #fff;
}

/* ================= HERO ================= */

.hero{ padding: 54px 0 36px; }

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

.eyebrow{
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

h1{
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -.6px;
  color: var(--accent2);
}

.h1-soft{
  display: block;
  color: var(--muted);
  font-weight: 550;
  margin-top: 6px;
}

.hero-lead{
  font-size: 16.5px;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 56ch;
}

.offer-card{
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.offer-title{ font-weight: 700; margin-bottom: 4px; }
.offer-text{ font-size: 14.5px; color: var(--muted); }

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.trust-row{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-media img{
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
  filter: sepia(10%);
}

/* ================= SECTIONS ================= */

.section{ padding: 44px 0; }

.section-alt{
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2{
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--accent2);
}

p, li{ color: var(--muted); }

.bullets{ padding-left: 18px; }

/* ================= CONTACT ================= */

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* REDES SOCIALES */
.social-block{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.social-title{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--muted);
}

.social-links{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent2);
}

.social-link:hover{
  border-color: var(--accent);
}

/* CTA CARD */
.cta-card{
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* ================= FOOTER ================= */

.site-footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px){
  .brand-logo-img{
    width: 210px;
    max-width: 45vw;
  }
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .nav{ display: none; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .brand-link{
    align-items: center;
    text-align: center;
  }

  .brand-logo-img{
    width: 180px;
    max-width: 70vw;
  }
}
