:root{
  --bg:#ffffff;
  --soft:#f5f6f7;
  --ink:#101114;
  --text:#555b63;
  --line:#e5e7eb;
  --dark:#111317;
  --max:1180px;
  --font:'Manrope',system-ui,sans-serif;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.65;
}

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

button{font:inherit}

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

h1,h2,h3,p{margin-top:0}

h1,h2,h3{
  letter-spacing:-.035em;
  line-height:1.05;
}

h1{
  font-size:clamp(2.8rem,5vw,4.5rem);
  font-weight:800;
}

h2{
  font-size:clamp(2rem,4vw,3.8rem);
  font-weight:800;
}

h3{font-size:1.2rem}

p{color:var(--text)}


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

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

.header-inner{
  height:76px;
  display:flex;
  align-items:center;
  gap:32px;
}

.brand{
  display:flex;
  flex-direction:column;
  line-height:1;
  min-width:130px;
}

.brand strong{
  font-size:17px;
  letter-spacing:-.03em;
}

.brand span{
  margin-top:5px;
  font-size:9px;
  letter-spacing:.22em;
  font-weight:700;
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:30px;
  margin-left:auto;
}

.desktop-nav a{
  font-size:13px;
  font-weight:600;
  color:#34383d;
}

.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 20px;
  background:var(--dark);
  color:white;
  font-size:12px;
  font-weight:700;
}

.menu-toggle,
.mobile-menu{
  display:none;
}


/* =========================================================
   GENERAL
   ========================================================= */

.eyebrow{
  display:inline-block;
  margin-bottom:18px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}

.eyebrow.light{color:#d9dde4}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  font-size:13px;
  font-weight:700;
  border:1px solid transparent;
}

.btn-dark{
  background:var(--dark);
  color:white;
}

.btn-light{
  background:white;
  color:var(--dark);
}

.btn-outline{
  border-color:#bfc4ca;
  color:var(--dark);
}

.link-arrow{
  font-size:13px;
  font-weight:700;
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}

.link-arrow::after{
  content:' ↗';
}


/* =========================================================
   IMAGES
   ========================================================= */

.photo-frame{
  background:var(--soft);
  overflow:hidden;
}

.photo-frame img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.image-placeholder{
  min-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(135deg,#f4f4f4 0%,#e8eaed 100%);
  color:#8b9096;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}


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

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

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:stretch;
}

.hero-copy{
  padding:36px 26px 36px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}

.hero h1{
  font-size:clamp(2.8rem,4.6vw,4.15rem);
  line-height:.98;
  max-width:590px;
  margin-bottom:18px;
}

.hero-lead{
  max-width:500px;
  font-size:16px;
  line-height:1.58;
  margin-bottom:22px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:22px;
}

.hero-image{
  height:500px;
  min-height:500px;
}

.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 28%;
}


/* =========================================================
   CREDIBILITY
   ========================================================= */

.credibility{
  background:var(--soft);
  padding:52px 0;
}

.credibility-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:center;
}

.credibility-copy h2{
  font-size:clamp(1.6rem,2.4vw,2.4rem);
  max-width:500px;
  margin-bottom:0;
}

.credibility-items{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.credibility-items div{
  min-height:110px;
  padding:20px 26px;
  border-left:1px solid #d9dde1;
}

.credibility-items strong{
  display:block;
  font-size:11px;
  margin-bottom:24px;
}

.credibility-items span{
  font-size:14px;
  font-weight:700;
}


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

.section{
  padding:100px 0;
}

.section-title{
  max-width:740px;
  margin-bottom:52px;
}

.centered-title{
  text-align:center;
  margin-inline:auto;
}

.centered-title h2{
  max-width:780px;
  margin-inline:auto;
}


/* =========================================================
   PRACTICE AREAS
   ========================================================= */

.practice-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.practice-card{
  background:var(--soft);
  padding:36px 32px;
  min-height:320px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.icon-box{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  background:#111;
  color:white;
  font-size:10px;
  font-weight:800;
  margin-bottom:40px;
}

.practice-card h3{
  margin-bottom:14px;
}

.practice-card p{
  font-size:14px;
  margin-bottom:26px;
}

.practice-card a{
  margin-top:auto;
  font-size:12px;
  font-weight:800;
  border-bottom:1px solid currentColor;
}


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

.split-section{
  background:white;
}

.split-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}

.split-copy{
  padding:70px 68px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.split-copy .lead{
  font-size:18px;
  line-height:1.75;
}

.split-copy p{
  max-width:560px;
}

.split-copy .btn,
.split-copy .link-arrow{
  align-self:flex-start;
  margin-top:18px;
}

.split-image{
  min-height:560px;
}

.reverse .split-copy{order:1}
.reverse .split-image{order:2}


/* =========================================================
   PROCESS
   ========================================================= */

.soft-section{
  background:var(--soft);
}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #cfd3d8;
}

.steps-grid article{
  padding:36px 44px 20px 0;
  border-right:1px solid #cfd3d8;
}

.steps-grid article+article{
  padding-left:44px;
}

.steps-grid article:last-child{
  border-right:0;
}

.steps-grid span{
  display:block;
  font-size:11px;
  font-weight:800;
  margin-bottom:45px;
}

.steps-grid h3{
  margin-bottom:12px;
}

.steps-grid p{
  font-size:14px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section{
  background:white;
}

.faq-layout{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:90px;
}

.faq-layout>div:first-child p{
  max-width:360px;
}

.faq-list{
  border-top:1px solid var(--line);
}

.faq-item{
  border-bottom:1px solid var(--line);
}

.faq-question{
  width:100%;
  padding:23px 0;
  border:0;
  background:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-weight:700;
  cursor:pointer;
}

.faq-question b{
  font-size:20px;
  font-weight:400;
}

.faq-answer{
  display:none;
  padding:0 0 24px;
}

.faq-answer p{
  margin:0;
  font-size:14px;
}

.faq-item.open .faq-answer{
  display:block;
}


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

.contact-section{
  padding:80px 0;
  background:var(--dark);
}

.contact-box{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:60px;
}

.contact-box h2{
  color:white;
  max-width:650px;
  margin-bottom:16px;
}

.contact-box p{
  color:#c4c9d0;
  margin-bottom:0;
}

.contact-actions{
  min-width:250px;
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-start;
}

.contact-link{
  color:#cfd3da;
  font-size:13px;
  border-bottom:1px solid #6d737b;
}


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

.site-footer{
  background:#0c0e11;
  color:white;
  padding:44px 0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:40px;
  align-items:end;
}

.footer-brand{
  display:block;
  font-size:17px;
}

.footer-grid>div:first-child span{
  display:block;
  font-size:9px;
  letter-spacing:.22em;
  margin-top:5px;
}

.footer-links{
  display:flex;
  gap:24px;
  font-size:12px;
}

.footer-grid p{
  margin:0;
  font-size:11px;
  text-align:right;
  color:#858b93;
}


/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */

.whatsapp-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 14px 32px rgba(0,0,0,.18);
  z-index:9999;
  transition:transform .2s ease,box-shadow .2s ease;
}

.whatsapp-float:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}

.whatsapp-float svg{
  width:30px;
  height:30px;
  fill:currentColor;
}


/* =========================================================
   NOTEBOOK / 1366x768
   ========================================================= */

@media (min-width:1024px) and (max-height:800px){

  .header-inner{
    height:68px;
  }

  .hero{
    padding:18px 0 24px;
  }

  .hero-grid{
    gap:38px;
  }

  .hero-copy{
    padding:22px 20px 22px 0;
  }

  .hero h1{
    font-size:clamp(2.6rem,4.15vw,3.7rem);
    line-height:.98;
    max-width:550px;
    margin-bottom:14px;
  }

  .hero-lead{
    max-width:490px;
    font-size:15px;
    line-height:1.5;
    margin-bottom:18px;
  }

  .hero-image{
    height:470px;
    min-height:470px;
  }

  .btn{
    min-height:44px;
    padding-inline:22px;
  }

  .eyebrow{
    margin-bottom:14px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:900px){

  .desktop-nav,
  .header-cta{
    display:none;
  }

  .header-inner{
    height:68px;
  }

  .menu-toggle{
    display:block;
    margin-left:auto;
    width:42px;
    height:42px;
    border:0;
    background:none;
  }

  .menu-toggle span{
    display:block;
    width:22px;
    height:1.5px;
    background:#111;
    margin:6px auto;
  }

  .mobile-menu{
    display:none;
    flex-direction:column;
    padding:16px 20px 24px;
    border-top:1px solid var(--line);
    background:white;
  }

  .mobile-menu.open{
    display:flex;
  }

  .mobile-menu a{
    padding:14px 0;
    font-size:14px;
    font-weight:700;
    border-bottom:1px solid var(--line);
  }

  .mobile-menu .mobile-cta{
    border:0;
    background:#111;
    color:white;
    text-align:center;
    margin-top:16px;
  }

  .hero{
    padding:32px 0 48px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .hero-copy{
    padding:10px 0 12px;
  }

  .hero h1{
    font-size:clamp(2.35rem,11vw,3.8rem);
    line-height:1;
    max-width:100%;
    margin-bottom:18px;
  }

  .hero-lead{
    max-width:100%;
    font-size:16px;
    line-height:1.6;
    margin-bottom:22px;
  }

  .hero-actions{
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
  }

  .hero-image{
    height:auto;
    min-height:420px;
    aspect-ratio:4/5;
  }

  .credibility-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .credibility-items{
    grid-template-columns:1fr;
  }

  .credibility-items div{
    border-left:0;
    border-top:1px solid #d9dde1;
    min-height:0;
    padding:20px 0;
  }

  .credibility-items strong{
    margin-bottom:8px;
  }

  .section{
    padding:72px 0;
  }

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

  .practice-card{
    min-height:0;
  }

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

  .split-copy{
    padding:42px 0;
  }

  .split-image{
    min-height:420px;
  }

  .reverse .split-copy,
  .reverse .split-image{
    order:initial;
  }

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

  .steps-grid article,
  .steps-grid article+article{
    padding:28px 0;
    border-right:0;
    border-bottom:1px solid #cfd3d8;
  }

  .steps-grid article:last-child{
    border-bottom:0;
  }

  .steps-grid span{
    margin-bottom:18px;
  }

  .faq-layout{
    grid-template-columns:1fr;
    gap:40px;
  }

  .contact-box{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
    align-items:start;
  }

  .footer-grid p{
    text-align:left;
  }

  .footer-links{
    flex-direction:column;
    gap:10px;
  }

  .whatsapp-float{
    width:56px;
    height:56px;
    right:16px;
    bottom:16px;
  }
}

/* ===== HERO DESKTOP CORREGIDO ===== */

.hero {
  padding: 28px 0 38px !important;
}

.hero-grid {
  display: grid !important;
  grid-template-columns: 1.05fr .95fr !important;
  gap: 48px !important;
  align-items: stretch !important;
  min-height: 0 !important;
}

.hero-copy {
  padding: 42px 30px 42px 0 !important;

  /* esto es lo que faltaba */
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.hero h1 {
  font-size: clamp(2.9rem, 4.65vw, 4.25rem) !important;
  line-height: 0.98 !important;
  margin-bottom: 18px !important;
  max-width: 600px !important;
}

.hero-lead {
  font-size: 16px !important;
  line-height: 1.6 !important;
  max-width: 520px !important;
  margin-bottom: 24px !important;
}

.hero-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 22px !important;
}

.hero-image {
  height: 520px !important;
  min-height: 520px !important;
}

.hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
}
