:root{
  --navy:#0b2238;
  --navy2:#132f46;
  --beige:#efe4d2;
  --cream:#fbf6ee;
  --sand:#e4d4bd;
  --olive:#687054;
  --olive2:#7c8060;
  --copper:#b87958;
  --ink:#172330;
  --muted:#68717a;
  --white:#ffffff;
  --line:rgba(11,34,56,.14);
  --shadow:0 24px 60px rgba(20,27,31,.13);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Montserrat,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.55;
}

img{
  max-width:100%;
  display:block;
}

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

button,
input,
textarea,
select{
  font:inherit;
}

.shell{
  width:min(1180px,92vw);
  margin:0 auto;
}

.serif{
  font-family:"Cormorant Garamond",Georgia,serif;
}

.kicker{
  font-size:.72rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--copper);
}

.page-title{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(3rem,7vw,6.2rem);
  line-height:.95;
  margin:.3rem 0 1rem;
  color:var(--navy);
  font-weight:600;
}

.lead{
  font-size:1.05rem;
  color:#4d5963;
  max-width:700px;
}


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

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(251,246,238,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(11,34,56,.08);
}

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

.brand{
  display:flex;
  align-items:center;
  min-width:155px;
  overflow:visible;
}

.brand img{
  width:auto!important;
  height:58px!important;
  max-width:210px;
  object-fit:contain!important;
  object-position:center!important;
  clip-path:none!important;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:.82rem;
}

.nav-links a{
  position:relative;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height:1px;
  background:var(--copper);
  transform:scaleX(0);
  transform-origin:left;
  transition:.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after{
  transform:scaleX(1);
}

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.lang{
  border:1px solid var(--line);
  background:#fff8ee;
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
}

.menu-btn{
  display:none;
  border:0;
  background:none;
  font-size:1.4rem;
}

.mobile-menu{
  display:none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 19px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  font-size:.83rem;
  transition:.25s;
  cursor:pointer;
}

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

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

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

.btn--ghost{
  border-color:rgba(11,34,56,.35);
  background:rgba(255,255,255,.72);
  color:var(--navy);
}


/* =========================================================
   HOME HERO
   NUEVO FONDO: assets/hero-elyara.png
   ========================================================= */

.hero.hero--clean{
  position:relative;
  min-height:calc(100svh - 82px);
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#f3e7d7;
  isolation:isolate;
}

.hero-clean-bg{
  position:absolute;
  inset:0;
  z-index:-2;

  background:
    linear-gradient(
      to bottom,
      rgba(251,246,238,.04) 0%,
      rgba(251,246,238,.02) 68%,
      rgba(251,246,238,.12) 100%
    ),
    url("assets/hero-elyara.png") center center / cover no-repeat;
}

.hero-clean-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,248,238,.02);
}

.hero-clean-inner{
  min-height:calc(100svh - 82px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 0 46px;
}

.hero-clean-content{
  width:min(760px,92vw);
  text-align:center;
}

.hero-clean-logo{
  display:block;
  width:min(500px,70vw);
  height:auto;
  max-height:48vh;
  object-fit:contain;
  object-position:center;
  margin:0 auto 20px;
  clip-path:none!important;
  overflow:visible!important;
}

.hero-clean-kicker{
  max-width:760px;
  margin:0 auto 20px;
  color:#9b684c;
  font-size:.73rem;
  line-height:1.5;
  letter-spacing:.20em;
  text-transform:uppercase;
  font-weight:700;
}

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

.hero-clean-content .hero-actions{
  justify-content:center;
  margin-top:0;
}

.hero-meta{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-top:34px;
  font-size:.74rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--navy);
}

.hero-meta--clean{
  justify-content:center;
  margin-top:22px;
  gap:14px;
  font-size:.68rem;
  color:#203246;
}


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

.section{
  padding:100px 0;
}

.section--soft{
  background:#f3eadc;
}

.section--navy{
  background:var(--navy);
  color:white;
}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-end;
  margin-bottom:42px;
}

.section-head h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(2.6rem,5vw,4.7rem);
  line-height:1;
  margin:0;
  color:var(--navy);
  font-weight:600;
}

.section-head p{
  max-width:560px;
  margin:0;
  color:#5b6570;
}

.home-intro{
  padding-top:86px;
}


/* =========================================================
   CARDS
   ========================================================= */

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

.card{
  background:#fffaf4;
  border:1px solid rgba(11,34,56,.09);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(20,27,31,.06);
  transition:.3s;
}

.card:hover{
  transform:translateY(-7px);
  box-shadow:var(--shadow);
}

.home-intro .card{
  box-shadow:0 10px 28px rgba(20,27,31,.05);
}

.card-media{
  aspect-ratio:16/10;
  background:linear-gradient(145deg,#e5d4bc,#f7efe5);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.card-body{
  padding:22px;
}

.card h3{
  font-family:"Cormorant Garamond",Georgia,serif;
  color:var(--navy);
  font-size:1.7rem;
  margin:.1rem 0 .45rem;
}

.card p{
  color:#66717a;
  font-size:.9rem;
}

.price{
  font-weight:800;
  color:var(--navy);
  margin:.8rem 0 1rem;
}

.price small{
  font-weight:600;
  color:var(--copper);
  text-transform:uppercase;
  letter-spacing:.08em;
}


/* =========================================================
   FILTERS
   ========================================================= */

.filter-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.chip{
  border:1px solid var(--line);
  background:#fffaf4;
  border-radius:999px;
  padding:9px 14px;
  font-size:.77rem;
  cursor:pointer;
}

.chip.active{
  background:var(--olive);
  color:white;
  border-color:var(--olive);
}


/* =========================================================
   PORTFOLIO
   ========================================================= */

.portfolio-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.project{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  background:#f4eadb;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(11,34,56,.08);
}

.project-preview{
  min-height:320px;
  padding:30px;
  background:linear-gradient(135deg,#dbc7ad,#f5ecdf);
  display:flex;
  align-items:center;
}

.browser{
  width:100%;
  background:#0f1820;
  border-radius:14px;
  padding:12px;
  box-shadow:0 25px 55px rgba(11,34,56,.18);
}

.browser-bar{
  height:18px;
  background:#ddd2c4;
  border-radius:7px;
  margin-bottom:10px;
}

.browser-screen{
  aspect-ratio:16/9;
  border-radius:8px;
  background:linear-gradient(135deg,var(--navy),#8b664f);
  display:grid;
  place-items:center;
  padding:25px;
  color:white;
  text-align:center;
}

.browser-screen.light{
  background:linear-gradient(135deg,#fffaf0,#d9e0c6);
  color:var(--navy);
}

.browser-screen.blue{
  background:linear-gradient(135deg,#102d4d,#1b6a77);
  color:white;
}

.browser-screen strong{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:2.2rem;
}

.project-copy{
  padding:42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.project-copy h3{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:2.3rem;
  color:var(--navy);
  margin:0 0 10px;
}

.project-copy p{
  color:#5d6872;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:50px;
  align-items:center;
}

.about-copy h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:clamp(3rem,6vw,5.5rem);
  line-height:.95;
  color:var(--navy);
  margin:.3rem 0 1rem;
}

.about-gallery{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:12px;
}

.about-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
}

.about-gallery img:first-child{
  grid-row:span 2;
  min-height:520px;
}

.values{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:34px;
}

.value{
  border-top:1px solid var(--line);
  padding-top:14px;
}

.value b{
  color:var(--navy);
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:1.25rem;
}


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

.contact-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:50px;
}

.contact-card{
  background:#f4eadb;
  padding:30px;
  border-radius:22px;
}

.contact-list{
  display:grid;
  gap:15px;
  margin:24px 0;
}

.contact-row{
  display:flex;
  gap:12px;
  align-items:center;
}

.contact-row i{
  font-style:normal;
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--olive);
  color:white;
}

.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.form input,
.form select,
.form textarea{
  width:100%;
  border:1px solid rgba(11,34,56,.13);
  background:#fffaf4;
  border-radius:14px;
  padding:14px 15px;
  outline:none;
}

.form textarea{
  grid-column:1/-1;
  min-height:150px;
  resize:vertical;
}

.form .full{
  grid-column:1/-1;
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-shell{
  min-height:calc(100vh - 82px);
  display:grid;
  place-items:center;
  padding:70px 20px;
  background:linear-gradient(120deg,#efe3d1,#fbf6ee);
}

.login-card{
  width:min(540px,100%);
  background:#fffaf4;
  border:1px solid var(--line);
  border-radius:26px;
  padding:46px;
  text-align:center;
  box-shadow:var(--shadow);
}

.login-card img{
  width:250px;
  margin:0 auto 18px;
}

.google-btn{
  width:100%;
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
  padding:13px 16px;
  font-weight:700;
  cursor:pointer;
}


/* =========================================================
   ACCOUNT
   ========================================================= */

.auth-area{
  display:flex;
  align-items:center;
  gap:10px;
}

.account-hero{
  padding:80px 0;
  background:#f3eadc;
}

.account-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

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

.account-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.account-row:last-child{
  border-bottom:0;
}

.status-pill{
  display:inline-flex;
  padding:7px 10px;
  background:#e8eddc;
  color:#39442f;
  border-radius:999px;
  font-size:.74rem;
  font-weight:700;
}

.notice{
  background:#f3eadc;
  border-left:3px solid var(--copper);
  padding:16px 18px;
  border-radius:8px;
  color:#48525b;
}


/* =========================================================
   SUCCESS / CANCEL
   ========================================================= */

.success-wrap{
  min-height:calc(100vh - 82px);
  display:grid;
  place-items:center;
  padding:60px 20px;
  background:linear-gradient(120deg,#efe3d1,#fbf6ee);
}

.success-card{
  max-width:650px;
  background:#fffaf4;
  border:1px solid var(--line);
  border-radius:26px;
  padding:44px;
  text-align:center;
  box-shadow:var(--shadow);
}

.success-card img{
  width:230px;
  margin:0 auto 20px;
}


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

.footer{
  background:#081e31;
  color:#d8dce0;
  padding:38px 0;
}

.footer-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.footer img{
  height:62px;
}

.footer-links{
  display:flex;
  gap:18px;
  font-size:.78rem;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .7s ease,transform .7s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

  .desktop{
    display:none;
  }

  .menu-btn{
    display:block;
  }

  .mobile-menu.open{
    display:flex;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    background:#fffaf4;
    padding:18px 4vw;
    flex-direction:column;
    gap:14px;
    border-bottom:1px solid var(--line);
  }

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

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

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

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


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

@media(max-width:760px){

  .nav{
    height:72px;
  }

  .brand{
    min-width:120px;
  }

  .brand img{
    height:48px!important;
    max-width:165px;
  }

  .hero.hero--clean,
  .hero-clean-inner{
    min-height:calc(100svh - 72px);
  }

  .hero-clean-bg{
    background:
      linear-gradient(
        to bottom,
        rgba(251,246,238,.04) 0%,
        rgba(251,246,238,.02) 65%,
        rgba(251,246,238,.14) 100%
      ),
      url("assets/hero-elyara.png") center center / cover no-repeat;
  }

  .hero-clean-inner{
    padding:42px 0 30px;
  }

  .hero-clean-logo{
    width:min(390px,86vw);
    max-height:42vh;
    margin-bottom:18px;
  }

  .hero-clean-kicker{
    max-width:88vw;
    margin-bottom:18px;
    font-size:.66rem;
    line-height:1.55;
    letter-spacing:.15em;
  }

  .hero-clean-content .hero-actions{
    flex-direction:column;
    align-items:center;
  }

  .hero-clean-content .hero-actions .btn{
    width:min(290px,90vw);
  }

  .hero-meta--clean{
    flex-wrap:wrap;
    gap:8px;
    font-size:.60rem;
  }

  .section{
    padding:72px 0;
  }

  .section-head{
    display:block;
  }

  .section-head p{
    margin-top:16px;
  }

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

  .project-copy{
    padding:26px;
  }

  .about-gallery{
    grid-template-columns:1fr;
  }

  .about-gallery img:first-child{
    grid-row:auto;
    min-height:300px;
  }

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

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

  .form textarea,
  .form .full{
    grid-column:auto;
  }

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

  .footer-grid{
    flex-direction:column;
    text-align:center;
  }

  .footer-links{
    flex-wrap:wrap;
    justify-content:center;
  }
}

/* =========================================================
   HOME NUEVO ELYARA — HERO LIMPIO
   ========================================================= */

.hero.hero--elyara{
  position:relative;
  min-height:calc(100svh - 82px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#efe4d2;
  isolation:isolate;
}

.hero-elyara-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:url("assets/hero-elyara.png") center center / cover no-repeat;
}

.hero-elyara-inner{
  min-height:calc(100svh - 82px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:60px 0 46px;
}

.hero-elyara-content{
  width:min(1000px,92vw);
  text-align:center;
}

.hero-elyara-logo{
  display:block;
  margin:0 auto 18px;
  width:min(210px,42vw);
  height:auto;
  object-fit:contain;
}

.hero-elyara-kicker{
  margin:0 0 12px;
  color:#b87958;
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
}

.hero-elyara-title{
  margin:0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(3.5rem,9vw,8rem);
  line-height:.92;
  color:#0b2238;
  font-weight:600;
  letter-spacing:.03em;
}

.hero-elyara-subtitle{
  margin:16px auto 26px;
  max-width:720px;
  font-size:1.08rem;
  line-height:1.7;
  color:#223547;
}

.hero-actions-center{
  justify-content:center;
}

.home-services-clean{
  background:#fbf6ee;
}

.simple-about-home{
  max-width:820px;
  text-align:center;
  margin:0 auto;
}

.simple-about-home h2{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(2.8rem,5vw,4.8rem);
  line-height:1;
  margin:.4rem 0 1rem;
  color:#0b2238;
}

.simple-about-home p{
  max-width:760px;
  margin:0 auto 24px;
  color:#5c6570;
  font-size:1rem;
  line-height:1.7;
}

.simple-about-home .btn{
  margin-top:10px;
}

/* Ocultar estilos viejos del hero anterior */
.hero.hero--clean{
  display:none !important;
}

@media(max-width:760px){

  .hero.hero--elyara,
  .hero-elyara-inner{
    min-height:calc(100svh - 72px);
  }

  .hero-elyara-inner{
    padding:40px 0 30px;
  }

  .hero-elyara-logo{
    width:min(170px,48vw);
    margin-bottom:16px;
  }

  .hero-elyara-kicker{
    font-size:.64rem;
    letter-spacing:.14em;
  }

  .hero-elyara-title{
    font-size:clamp(2.5rem,12vw,4.6rem);
  }

  .hero-elyara-subtitle{
    font-size:.96rem;
    line-height:1.6;
    margin:14px auto 20px;
  }

  .hero-actions-center{
    flex-direction:column;
    align-items:center;
  }

  .hero-actions-center .btn{
    width:min(290px,90vw);
  }
}
