:root{
    --olive-900:#242719;
    --olive-800:#3E442C;
    --olive-700:#4d5437;
    --green-500:#B4C678;
    --green-600:#9DB566;
    --green-100:#EDF1DE;
    --green-050:#F5F7ED;
    --gray-600:#545454;
    --gray-400:#8a8a86;
    --cream:#FBFAF5;
    --white:#FFFFFF;
    --line:#E4E2D8;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Open Sans', sans-serif;
    color:var(--gray-600);
    background:var(--cream);
    line-height:1.6;
  }
  h1,h2,h3,h4{
    font-family:'Nunito Sans', sans-serif;
    color:var(--olive-800);
    font-weight:800;
    line-height:1.15;
    letter-spacing:-0.01em;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1140px; margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'Nunito Sans', sans-serif;
    font-weight:700;
    font-size:13px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--olive-700);
  }
  .signature{
    font-family:'Caveat', cursive;
    font-weight:700;
    color:var(--olive-800);
  }

  /* ---------- Noticias ---------- */
  .noticias{background:var(--green-050); padding:40px 0;}
  .noticias-head{
    display:flex; align-items:baseline; gap:14px; margin-bottom:20px; flex-wrap:wrap;
  }
  .noticias-head h2{font-size:22px; margin:0;}

  .noticias-carousel{
    position:relative; background:var(--white); border:1px solid var(--line);
    border-radius:18px; overflow:hidden; box-shadow:0 1px 0 var(--line);
  }
  .noticias-track{
    display:flex; transition:transform .5s ease;
  }
  .noticia-slide{
    min-width:100%; display:flex; min-height:280px;
  }
  .noticia-slide-img{
    width:42%; flex-shrink:0; background-size:cover; background-position:center; background-color:var(--olive-700);
  }
  .noticia-slide-img--placeholder{
    display:flex; align-items:center; justify-content:center;
    background:linear-gradient(135deg, var(--olive-800), var(--olive-700));
  }
  .noticia-slide-img--placeholder i{font-size:64px; color:rgba(180,198,120,0.35);}
  .noticia-slide-content{
    flex:1; padding:34px 40px; display:flex; flex-direction:column; justify-content:center;
  }
  .noticia-slide-content .noticia-fecha{
    font-family:'Nunito Sans',sans-serif; font-weight:700; font-size:12px;
    letter-spacing:0.06em; text-transform:uppercase; color:var(--green-600);
  }
  .noticia-slide-content h3{font-size:24px; margin:10px 0 12px;}
  .noticia-slide-content p{font-size:15px; color:var(--gray-600); max-width:560px;}

  .noticia-slide--vacio{
    width:100%; align-items:center; justify-content:center; padding:40px;
  }
  .noticias-vacio{font-size:14px; color:var(--gray-400); text-align:center;}

  .noticias-arrow{
    position:absolute; top:50%; transform:translateY(-50%);
    width:42px; height:42px; border-radius:50%; background:var(--white);
    border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:var(--olive-800); font-size:18px;
    box-shadow:0 6px 14px rgba(0,0,0,0.1); z-index:2; transition:background .15s;
  }
  .noticias-arrow:hover{background:var(--green-050);}
  .noticias-arrow-prev{left:14px;}
  .noticias-arrow-next{right:14px;}

  .noticias-dots{
    display:flex; justify-content:center; gap:8px; margin-top:16px;
  }
  .noticias-dot{
    width:8px; height:8px; border-radius:4px; background:var(--line);
    border:none; cursor:pointer; padding:0; transition:all .2s;
  }
  .noticias-dot.active{background:var(--green-500); width:22px;}

  @media(max-width:860px){
    .noticia-slide{flex-direction:column; min-height:0;}
    .noticia-slide-img{width:100%; height:180px;}
    .noticia-slide-content{padding:24px;}
    .noticia-slide-content h3{font-size:19px;}
  }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(251,250,245,0.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 32px; max-width:1140px; margin:0 auto;
  }
  .logo-mark{display:flex; align-items:center; gap:10px;}
  .logo-mark img{height:40px; width:auto;}
  .nav-links{display:flex; gap:32px; font-size:15px; font-weight:600; color:var(--olive-800);}
  .nav-links a{opacity:0.85; transition:opacity .15s;}
  .nav-links a:hover{opacity:1;}
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'Nunito Sans', sans-serif; font-weight:700; font-size:14.5px;
    padding:11px 22px; border-radius:999px; cursor:pointer; border:1.5px solid transparent;
    transition:transform .15s ease, background .15s ease;
  }
  .btn:hover{transform:translateY(-1px);}
  .btn-primary{background:var(--olive-800); color:var(--white);}
  .btn-primary:hover{background:var(--olive-900);}
  .btn-whatsapp{background:var(--green-500); color:var(--olive-900);}
  .btn-whatsapp:hover{background:#a3b665;}
  .btn-ghost{border-color:var(--olive-800); color:var(--olive-800); background:transparent;}
  .btn-ghost:hover{background:var(--green-050);}

  /* ---------- Hero ---------- */
  .hero{padding:76px 0 60px;}
  .hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center;}
  .hero h1{font-size:44px; margin-bottom:20px;}
  .hero p.lead{font-size:17.5px; color:var(--gray-600); max-width:480px; margin-bottom:32px;}
  .hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px;}
  .hero-tag{
    display:inline-flex; align-items:center; gap:8px; margin-bottom:18px;
    background:var(--green-100); color:var(--olive-700);
    font-family:'Nunito Sans',sans-serif; font-weight:700; font-size:13px;
    padding:7px 14px; border-radius:999px;
  }
  .hero-tag i{font-size:15px;}

  .hero-panel{
    position:relative; background:var(--white); border:1px solid var(--line);
    border-radius:20px; padding:32px; box-shadow:0 1px 0 var(--line);
  }
  .hero-panel-note{
    position:absolute; top:-18px; right:18px;
    background:var(--olive-800); color:var(--green-500);
    font-family:'Caveat',cursive; font-weight:700; font-size:22px;
    padding:6px 16px 8px; border-radius:10px; transform:rotate(-3deg);
  }
  .stat-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px;}
  .stat-box{background:var(--green-050); border-radius:14px; padding:18px 16px;}
  .stat-box .num{font-family:'Nunito Sans',sans-serif; font-weight:900; font-size:30px; color:var(--olive-800); line-height:1;}
  .stat-box .lbl{font-size:13px; color:var(--gray-600); margin-top:4px;}
  .hero-panel-quote{
    border-top:1px solid var(--line); padding-top:18px; margin-top:4px;
    display:flex; gap:12px; align-items:flex-start;
  }
  .avatar{
    width:44px; height:44px; border-radius:50%; background:var(--olive-800);
    color:var(--green-500); font-family:'Nunito Sans',sans-serif; font-weight:800;
    display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0;
  }
  .hero-panel-quote p{font-size:14px; color:var(--gray-600); margin-bottom:2px;}
  .hero-panel-quote .name{font-family:'Nunito Sans',sans-serif; font-weight:700; font-size:13.5px; color:var(--olive-800);}

  /* ---------- Trust bar ---------- */
  .trust{background:var(--olive-800); padding:22px 0;}
  .trust .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;}
  .trust-item{display:flex; align-items:center; gap:10px; color:var(--green-050); font-size:14.5px;}
  .trust-item i{color:var(--green-500); font-size:19px;}
  .trust-item strong{color:var(--white); font-family:'Nunito Sans',sans-serif;}

  /* ---------- Section shell ---------- */
  section{padding:84px 0;}
  .section-head{max-width:600px; margin-bottom:48px;}
  .section-head h2{font-size:32px; margin-top:10px;}
  .section-head p{font-size:16px; color:var(--gray-600); margin-top:14px;}

  /* ---------- Servicios ---------- */
  .services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
  .service-card{
    position:relative; overflow:hidden;
    background:var(--white); border:1px solid var(--line); border-radius:16px;
    padding:26px 24px; transition:border-color .15s, transform .15s, box-shadow .15s;
    display:flex; flex-direction:column; min-height:196px;
  }
  .service-card:hover{border-color:var(--green-500); transform:translateY(-2px); box-shadow:0 14px 28px rgba(62,68,44,0.09);}
  .service-icon{
    width:44px; height:44px; border-radius:12px; background:var(--green-100);
    display:flex; align-items:center; justify-content:center; margin-bottom:16px;
    position:relative; z-index:1;
  }
  .service-icon i{font-size:22px; color:var(--olive-700);}
  .service-card h3{font-size:16.5px; margin-bottom:8px; position:relative; z-index:1;}
  .service-card p{font-size:14px; color:var(--gray-600); position:relative; z-index:1;}
  .service-watermark{
    position:absolute; right:-10px; bottom:-14px; z-index:0;
    font-size:100px; line-height:1; color:var(--green-600); opacity:0.32;
    transition:opacity .2s ease, transform .3s ease; pointer-events:none;
  }
  .service-card:hover .service-watermark{opacity:0.5; transform:translate(-6px,-6px) rotate(-4deg);}

  /* ---------- Historia ---------- */
  .historia{background:var(--green-050);}
  .historia-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center;}
  .historia-photo-wrap{
    position:relative;
  }
  .historia-photo-wrap::before{
    content:"";
    position:absolute;
    top:-16px; left:-16px;
    width:64%; height:56%;
    background:linear-gradient(135deg, var(--green-500), var(--green-600));
    border-radius:18px;
    z-index:0;
  }
  .historia-photo{
    aspect-ratio:4/5;
    border-radius:18px;
    position:relative;
    z-index:1;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    padding:22px;
    background:var(--olive-700);
  }
  .historia-photo img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
  }
  .historia-photo-scrim{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(36,39,25,0.88) 0%, rgba(36,39,25,0.25) 45%, transparent 72%);
  }
  .historia-photo .cap{position:relative; z-index:1; color:var(--white);}
  .historia-photo .cap p{font-size:13px; color:var(--green-100);}
  .historia-photo .cap strong{font-family:'Nunito Sans',sans-serif; font-size:15px;}
  .historia-text h2{font-size:30px; margin-bottom:18px;}
  .historia-text p{margin-bottom:14px; font-size:15.5px;}
  .historia-quote{
    margin-top:22px; padding-left:18px; border-left:3px solid var(--green-500);
  }
  .historia-quote p{font-family:'Caveat',cursive; font-size:24px; color:var(--olive-800); font-weight:600;}

  /* ---------- Valores ---------- */
  .valores-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
  .valor-item{padding-top:16px; border-top:2px solid var(--olive-800);}
  .valor-item i{font-size:24px; color:var(--olive-700); margin-bottom:10px; display:block;}
  .valor-item h3{font-size:16px; margin-bottom:6px;}
  .valor-item p{font-size:14px; color:var(--gray-600);}

  /* ---------- Contacto ---------- */
  .contacto{background:var(--olive-800);}
  .contacto h2, .contacto .eyebrow{color:var(--white);}
  .contacto .section-head p{color:var(--green-050);}
  .contacto-grid{display:grid; grid-template-columns:1fr 1fr; gap:48px;}
  .contact-info-item{display:flex; gap:14px; margin-bottom:22px;}
  .contact-info-item i{
    width:38px; height:38px; border-radius:10px; background:rgba(180,198,120,0.16);
    color:var(--green-500); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0;
  }
  .contact-info-item h4{color:var(--white); font-size:14.5px; margin-bottom:3px;}
  .contact-info-item p, .contact-info-item a{color:var(--green-050); font-size:14px;}
  .contact-form{background:var(--white); border-radius:18px; padding:28px;}
  .contact-form label{font-family:'Nunito Sans',sans-serif; font-weight:700; font-size:13px; color:var(--olive-800); display:block; margin-bottom:6px;}
  .contact-form input, .contact-form textarea{
    width:100%; border:1px solid var(--line); border-radius:10px; padding:11px 13px;
    font-family:'Open Sans',sans-serif; font-size:14px; margin-bottom:16px; background:var(--cream); color: var(--gray-600);
  }
  .contact-form input:focus, .contact-form textarea:focus{outline:2px solid var(--green-500); outline-offset:1px; border-color:var(--green-500);}
  .contact-form textarea{resize:vertical; min-height:80px;}
  .contact-form .btn{width:100%; justify-content:center;}
  .contact-form .form-note{
    font-size:12.5px; color:var(--gray-400); display:flex; align-items:center; gap:6px; margin-top:-6px; margin-bottom:14px;
  }
  .contact-form .form-note i{color:var(--green-600); font-size:15px; flex-shrink:0;}
  .form-feedback{
    display:none; align-items:flex-start; gap:8px; font-size:13.5px; font-weight:600;
    border-radius:10px; padding:11px 13px; margin-bottom:14px; font-family:'Nunito Sans',sans-serif;
  }
  .form-feedback.show{display:flex;}
  .form-feedback.error{background:#FBEAEA; color:#9B2C2C; border:1px solid #EFC6C6;}
  .form-feedback.success{background:var(--green-100); color:var(--olive-700); border:1px solid var(--green-500);}
  .form-feedback i{font-size:17px; margin-top:1px; flex-shrink:0;}

  /* ---------- Footer ---------- */
  footer{background:var(--olive-900); color:var(--green-050); padding:48px 0 26px;}
  .footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; margin-bottom:36px;}
  .footer-grid img{height:80px; margin-bottom:14px;}
  .footer-grid p{font-size:13.5px; color:var(--gray-400); max-width:280px;}
  .footer-col h4{font-family:'Nunito Sans',sans-serif; color:var(--white); font-size:14px; margin-bottom:14px;}
  .footer-col a{display:block; font-size:13.5px; color:var(--gray-400); margin-bottom:10px;}
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08); padding-top:20px;
    display:flex; justify-content:space-between; font-size:12.5px; color:var(--gray-400); flex-wrap:wrap; gap:10px;
  }
  .footer-credit{
    text-align:center; font-size:12px; color:var(--gray-400); margin-top:18px;
  }
  .footer-credit .credit-brand{
    color:var(--green-500); font-weight:700; font-family:'Nunito Sans',sans-serif;
  }

  /* ---------- Floating WhatsApp ---------- */
  .wa-float{
    position:fixed; bottom:26px; right:26px; z-index:60;
    width:60px; height:60px; border-radius:50%; background:var(--green-500);
    display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,0.18);
  }
  .wa-float i{font-size:28px; color:var(--olive-900);}
  .wa-float .ring{
    position:absolute; inset:0; border-radius:50%; border:2px solid var(--green-500);
    animation:pulse 2.2s ease-out infinite;
  }
  @keyframes pulse{
    0%{transform:scale(1); opacity:0.7;}
    100%{transform:scale(1.55); opacity:0;}
  }

  @media(max-width:860px){
    .nav-links{display:none;}
    .hero-grid, .historia-grid, .contacto-grid{grid-template-columns:1fr;}
    .services-grid, .valores-grid{grid-template-columns:1fr 1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .hero h1{font-size:32px;}
  }
  @media(max-width:560px){
    .services-grid, .valores-grid{grid-template-columns:1fr;}
    .trust .wrap{flex-direction:column;}
  }
