
  :root{
    --verde-primario: #386642;
    --verde-oscuro: #1D2729;
    --verde-claro: #DCEDCD;
    --beige: #B3ABA0;
    --blanco: #FFFFFF;
    --verde-primario-h: #2c5134;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
    font-weight:400;
    line-height:1.6;
    color: var(--verde-oscuro);
    background: var(--blanco);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{font-family:'Nunito Sans', sans-serif; line-height:1.15; letter-spacing:-0.01em;}
  button{font-family:inherit; cursor:pointer; border:none; background:none;}
  input,select,textarea{font-family:inherit;}
  a{color:inherit; text-decoration:none;}

  /* Grain overlay */
  .grain{
    position:fixed; inset:0; pointer-events:none; z-index:9999;
    opacity:0.05; mix-blend-mode:multiply;
  }

  /* Reveal animation */
  .reveal{opacity:0; transform:translateY(24px); transition:opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);}
  .reveal.in{opacity:1; transform:none;}

  /* Buttons */
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:16px 28px; border-radius:999px;
    font-weight:700; font-size:15px; letter-spacing:.02em;
    transition: all .3s ease;
    text-transform: none;
  }
  .btn-primary{ background:var(--verde-primario); color:#fff; box-shadow:0 8px 24px -10px rgba(56,102,66,.55);}
  .btn-primary:hover{ background:var(--verde-primario-h); transform:translateY(-2px); box-shadow:0 14px 32px -10px rgba(56,102,66,.7);}
  .btn-outline{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55);}
  .btn-outline:hover{ background:rgba(255,255,255,.1); border-color:#fff; transform:translateY(-2px);}
  .btn-outline-green{ background:transparent; color:var(--verde-primario); border:1.5px solid var(--verde-primario);}
  .btn-outline-green:hover{ background:var(--verde-primario); color:#fff;}

  /* Container */
  .container{ max-width:1440px; margin:0 auto; padding: 0 clamp(20px, 4vw, 48px);}

  /* Section base */
  section{ padding: clamp(80px, 10vw, 140px) 0;}

  /* Wave decoration */
  .wave-deco{ display:block; margin: 18px 0 28px; color:var(--verde-primario);}
  .wave-deco.light{ color:#fff;}
  .wave-deco.center{ margin-left:auto; margin-right:auto;}

  /* Section title */
  .section-eyebrow{
    font-size:13px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
    color:var(--verde-primario);
  }
  .section-title{
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight:800; letter-spacing:-0.02em;
  }
  .section-subtitle{
    font-size: clamp(18px, 1.8vw, 22px);
    color: rgba(29,39,41,.7);
    max-width: 620px; font-weight:400;
  }

  /* =========================================
     NAV — Responsive across mobile / tablet / desktop
     Breakpoints:
       mobile:  < 640px
       tablet:  640 – 1023px
       desktop: >= 1024px
     ========================================= */
  .nav{
    position:fixed; top:0; left:0; right:0; z-index:100;
    transition: padding .35s ease, background .35s ease;
    padding: 22px 0;
  }
  .nav.scrolled{
    background: rgba(29,39,41,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    gap: 24px;
  }
  .nav-logo{ display:flex; align-items:center; gap:12px; color:#fff; flex-shrink:0;}
  .nav-logo-mark{ width:40px; height:40px;}
  .nav-logo-text{ font-weight:800; letter-spacing:.14em; font-size:13px; line-height:1.1;}
  .nav-logo-text small{ display:block; font-weight:500; letter-spacing:.18em; font-size:9px; color:var(--verde-claro); margin-top:2px;}

  /* Desktop links */
  .nav-links{
    display:flex; gap:34px; align-items:center;
  }
  .nav-links a{
    color: rgba(255,255,255,.85); font-size:14px; font-weight:600;
    position:relative; padding:6px 0; transition:color .2s ease;
    white-space: nowrap;
  }
  .nav-links a:hover{ color:#fff;}
  .nav-links a::after{
    content:''; position:absolute; left:0; right:0; bottom:0; height:2px;
    background: var(--verde-claro); transform: scaleX(0); transform-origin:left;
    transition: transform .3s ease;
  }
  .nav-links a:hover::after{ transform: scaleX(1);}

  /* Language switcher */
  .lang-switch{ display:flex; gap:4px; margin-left:24px; align-items:center; flex-shrink:0;}
  .lang-switch button{
    color: rgba(255,255,255,.55); font-size:12px; font-weight:700; padding:6px 8px;
    border-radius:4px; letter-spacing:.08em;
    transition: all .2s ease;
  }
  .lang-switch button:hover{ color:#fff;}
  .lang-switch button.active{ color:#fff; background:rgba(255,255,255,.1);}
  .lang-switch .sep{ color:rgba(255,255,255,.25); font-size:10px;}

  /* Hamburger — hidden on desktop */
  .nav-hamburger{
    display:none; color:#fff; width:44px; height:44px;
    align-items:center; justify-content:center;
    border-radius: 6px;
    transition: background .2s ease;
    flex-shrink: 0;
  }
  .nav-hamburger:hover{ background: rgba(255,255,255,.08);}

  /* ---- Tablet (640 – 1023px) ---- */
  @media (max-width: 1023px){
    .nav{ padding: 16px 0;}
    .nav.scrolled{ padding: 10px 0;}
    .nav-links{ gap: 22px;}
    .nav-links a{ font-size: 13px;}
    .lang-switch{ margin-left: 14px;}
    .lang-switch button{ font-size: 11px; padding: 5px 6px;}
  }
  @media (max-width: 900px){
    /* Collapse inline nav; keep only hamburger */
    .nav-links, .lang-switch{ display:none;}
    .nav-hamburger{ display:flex;}
  }

  /* ---- Mobile-safe small screens (<640px) ---- */
  @media (max-width: 639px){
    .nav{ padding: 14px 0;}
    .nav.scrolled{ padding: 8px 0;}
  }

  /* =========================================
     MOBILE MENU — full-screen slide-in
     ========================================= */
  .mobile-menu{
    position:fixed; inset:0; z-index:200;
    background: linear-gradient(155deg, var(--verde-oscuro) 0%, #223638 100%);
    display:flex; flex-direction:column;
    padding: 24px 28px 40px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.65,.05,.36,1);
    overflow-y: auto;
  }
  .mobile-menu.open{ transform: translateX(0);}
  .mobile-menu::before{
    content:''; position:absolute; inset:0;
    background-image: radial-gradient(circle at 20% 10%, rgba(220,237,205,.08) 0%, transparent 50%);
    pointer-events: none;
  }
  .mobile-menu .mm-head{
    display:flex; justify-content:space-between; align-items:center;
    position: relative; z-index: 2;
  }
  .mobile-menu .mm-head button{
    width: 44px; height: 44px;
    display:flex; align-items:center; justify-content:center;
    border-radius: 6px;
    transition: background .2s ease;
  }
  .mobile-menu .mm-head button:hover{ background: rgba(255,255,255,.08);}
  .mobile-menu .mm-links{
    display:flex; flex-direction:column; gap: 2px;
    margin-top: 50px;
    position: relative; z-index: 2;
  }
  .mobile-menu .mm-links a{
    color:#fff;
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 500;
    letter-spacing: -0.015em;
    padding: 14px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color .25s ease, padding .25s ease;
  }
  .mobile-menu .mm-links a::after{
    content: '→';
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255,.25);
    transition: all .25s ease;
  }
  .mobile-menu .mm-links a:hover{
    color: var(--verde-claro);
    padding-left: 8px;
  }
  .mobile-menu .mm-links a:hover::after{
    color: var(--verde-claro);
    transform: translateX(4px);
  }
  /* Staggered entry animation for mobile menu links */
  .mobile-menu.open .mm-links a{
    opacity: 0;
    animation: mmLinkIn .5s ease-out forwards;
  }
  .mobile-menu.open .mm-links a:nth-child(1){ animation-delay: .12s;}
  .mobile-menu.open .mm-links a:nth-child(2){ animation-delay: .18s;}
  .mobile-menu.open .mm-links a:nth-child(3){ animation-delay: .24s;}
  .mobile-menu.open .mm-links a:nth-child(4){ animation-delay: .30s;}
  .mobile-menu.open .mm-links a:nth-child(5){ animation-delay: .36s;}
  .mobile-menu.open .mm-links a:nth-child(6){ animation-delay: .42s;}
  @keyframes mmLinkIn {
    from { opacity: 0; transform: translateX(20px);}
    to   { opacity: 1; transform: translateX(0);}
  }

  /* Mobile menu footer with contact + language */
  .mobile-menu .mm-footer{
    margin-top: auto;
    padding-top: 40px;
    position: relative; z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .mobile-menu .mm-cta{
    display: inline-flex; align-items: center; justify-content: space-between;
    background: var(--verde-primario);
    color: #fff;
    padding: 16px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    transition: all .25s ease;
  }
  .mobile-menu .mm-cta:hover{
    background: var(--verde-primario-h);
    transform: translateY(-2px);
  }
  .mobile-menu .mm-contact-row{
    display: flex;
    gap: 10px;
  }
  .mobile-menu .mm-contact-row a{
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
  }
  .mobile-menu .mm-contact-row a:hover{
    background: rgba(220,237,205,.1);
    border-color: rgba(220,237,205,.3);
  }
  .mobile-menu .mm-lang{
    display: flex; justify-content: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mobile-menu .mm-lang .lang-switch{
    margin-left: 0;
    gap: 8px;
  }
  .mobile-menu .mm-lang .lang-switch button{
    font-size: 13px;
    padding: 8px 14px;
  }

  /* HERO */
  .hero{
    position:relative; min-height:100vh; display:flex; align-items:center;
    color:#fff; overflow:hidden;
    padding: 140px 0 160px;
  }
  .hero-bg{
    position:absolute; inset:0; z-index:0;
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80');
    background-size:cover; background-position:center;
  }
  .hero-overlay{
    position:absolute; inset:0; z-index:1;
    background:
      /* Bottom transition: transparent → verde claro (hacia la siguiente sección) */
      linear-gradient(180deg,
        rgba(220,237,205,0) 0%,
        rgba(220,237,205,0) 55%,
        rgba(220,237,205,.4) 75%,
        rgba(220,237,205,.85) 92%,
        rgba(220,237,205,1) 100%),
      /* Top darkening for text legibility */
      linear-gradient(180deg, rgba(29,39,41,.4) 0%, rgba(29,39,41,.25) 45%, rgba(29,39,41,0) 70%);
  }
  .hero-waves{
    position:absolute; inset:0; z-index:2; pointer-events:none; overflow:hidden;
  }
  .hero-waves svg{ position:absolute; left:0; width:140%; height:auto; opacity:.55;}
  .hero-wave-1{ bottom: 18%; animation: waveDrift 22s ease-in-out infinite;}
  .hero-wave-2{ bottom: 32%; animation: waveDrift 28s ease-in-out infinite reverse; opacity:.35;}
  .hero-wave-3{ bottom: 48%; animation: waveDrift 34s ease-in-out infinite; opacity:.22;}
  .hero-wave-4{ bottom: 8%;  animation: waveDrift 18s ease-in-out infinite reverse; opacity:.7;}
  @keyframes waveDrift {
    0%,100%{ transform: translateX(-15%) translateY(0);}
    50%{ transform: translateX(-25%) translateY(-12px);}
  }
  .hero-content{ position:relative; z-index:3; text-align:left; width:100%; max-width:1440px;}
  .hero-anim{ opacity:0; transform: translateY(28px); animation: heroIn 1s cubic-bezier(.2,.8,.2,1) forwards;}
  @keyframes heroIn{ to{ opacity:1; transform:none;} }
  @media (prefers-reduced-motion: reduce){ .hero-anim{ opacity:1; transform:none; animation:none;} }
  .hero-badge{
    display:inline-flex; align-items:center; gap:10px;
    padding:8px 16px; border-radius:999px;
    background: rgba(56,102,66,.35);
    border:1px solid rgba(220,237,205,.3);
    font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  }
  .hero-badge .dot{ width:6px; height:6px; background:var(--verde-claro); border-radius:50%;}
  .hero h1{
    font-size: clamp(42px, 7vw, 86px);
    font-weight:800; letter-spacing:-.02em; line-height:.98;
    text-transform:uppercase; margin: 28px 0;
    width: 95%;
  }
  .hero-sub{
    font-size: clamp(17px, 1.5vw, 20px); max-width:620px;
    color: rgba(255,255,255,.82); margin-bottom:40px;
  }
  .hero-ctas{ display:flex; gap:14px; flex-wrap:wrap;}
  .hero-scroll{
    position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
    z-index:3; color:rgba(255,255,255,.7); display:flex; flex-direction:column; align-items:center; gap:8px;
    font-size:11px; letter-spacing:.25em; text-transform:uppercase;
    animation: bob 2.2s ease-in-out infinite;
  }
  @keyframes bob { 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,10px);} }
  @media (max-width:720px){ .hero-scroll{ display:none;} }
  .hero-grass{
    position:absolute; left:0; right:0; bottom:0; height:320px;
    z-index:2; pointer-events:auto;
  }

  /* Nosotros */
  .nosotros{ background:var(--verde-claro); color:var(--verde-oscuro); position:relative;}
  .nosotros-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap:clamp(40px,6vw,90px); align-items:center;}
  @media (max-width:900px){ .nosotros-grid{ grid-template-columns:1fr;} }
  .nosotros p{ font-size:17px; color:rgba(29,39,41,.8); margin-bottom:18px;}
  .nosotros-img{
    aspect-ratio: 4/5; border-radius: 8px; overflow:hidden; position:relative;
    box-shadow: 0 30px 60px -20px rgba(29,39,41,.3);
  }
  .nosotros-img img{ width:100%; height:100%; object-fit:cover; display:block;}
  .nosotros-img .img-label{
    position:absolute; bottom:18px; left:18px; right:18px;
    color:#fff; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
    display:flex; justify-content:space-between; align-items:end;
  }
  .institucional{
    display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:70px;
    padding-top:50px; border-top:1px solid rgba(56,102,66,.2);
  }
  @media (max-width:700px){ .institucional{ grid-template-columns:1fr;} }
  .inst-item{ display:flex; align-items:center; gap:16px;}
  .inst-logo{
    min-width:88px; height:72px; padding: 8px 12px; border-radius:10px; background:#fff;
    border:1px solid rgba(56,102,66,.12);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    box-shadow: 0 2px 8px rgba(29,39,41,.04);
  }
  .inst-logo img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block;}
  .inst-circle{
    width:58px; height:58px; border-radius:50%; background:var(--verde-primario);
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-weight:800; font-size:13px; letter-spacing:.05em; flex-shrink:0;
  }
  .inst-item div strong{ display:block; font-size:14px; font-weight:800; color:var(--verde-oscuro);}
  .inst-item div span{ font-size:13px; color:rgba(29,39,41,.65);}

  /* Servicios */
  .servicios{ background:#fff;}
  .serv-header{ text-align:center; max-width:720px; margin: 0 auto 70px;}
  .serv-header .section-subtitle{ margin-left:auto; margin-right:auto;}
  .serv-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:24px;}
  @media (max-width:860px){ .serv-grid{ grid-template-columns:1fr;} }
  .serv-card{
    position:relative; background:#fff; border:1px solid rgba(29,39,41,.08);
    border-radius:4px; padding: 40px 36px; transition: all .35s ease;
    overflow:hidden;
  }
  .serv-card::before{
    content:''; position:absolute; top:0; left:0; right:0; height:4px;
    background: var(--verde-primario);
    transform: scaleX(0); transform-origin:left; transition: transform .4s ease;
  }
  .serv-card:hover{ transform:translateY(-6px); box-shadow: 0 24px 50px -20px rgba(29,39,41,.2); border-color: transparent;}
  .serv-card:hover::before{ transform: scaleX(1);}
  .serv-icon{
    width:64px; height:64px; border-radius:8px; background:var(--verde-claro);
    color:var(--verde-primario); display:flex; align-items:center; justify-content:center;
    margin-bottom:24px;
  }
  .serv-card h3{ font-size:22px; font-weight:800; margin-bottom:12px;}
  .serv-card p{ color:rgba(29,39,41,.72); font-size:15px; margin-bottom:20px;}
  .serv-tags{ display:flex; flex-wrap:wrap; gap:8px;}
  .serv-tag{
    font-size:12px; font-weight:700; padding:6px 12px; border-radius:999px;
    background:var(--verde-claro); color:var(--verde-primario);
  }

  /* Stepper */
  .stepper-wrap{ margin-top:100px; padding-top:60px; border-top:1px solid rgba(29,39,41,.08);}
  .stepper-head{ text-align:center; margin-bottom:60px;}
  .stepper-head h3{ font-size:clamp(26px, 3vw, 36px); font-weight:800;}
  .stepper-head p{ color:rgba(29,39,41,.65); margin-top:6px;}
  .stepper{
    display:grid; grid-template-columns: repeat(5, 1fr); gap:20px; position:relative;
  }
  .stepper::before{
    content:''; position:absolute; top:28px; left: 10%; right:10%;
    height:2px; background: rgba(56,102,66,.2); z-index:0;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
  }
  .stepper-wrap.in .stepper::before{ transform: scaleX(1);}
  @media (max-width: 900px){
    .stepper{ grid-template-columns:1fr; gap:24px;}
    .stepper::before{ left:28px; right:auto; top:28px; bottom:28px; width:2px; height:auto; transform: scaleY(0); transform-origin: top center;}
    .stepper-wrap.in .stepper::before{ transform: scaleY(1);}
  }
  .step{ position:relative; z-index:1; text-align:center; padding:0 4px;}
  .step-reveal{
    opacity:0; transform: translateY(28px) scale(.96);
    transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
  }
  .stepper-wrap.in .step-reveal{ opacity:1; transform:none;}
  .step-reveal .step-num{
    transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .7s ease;
    transform: scale(.4) rotate(-20deg);
    box-shadow: 0 0 0 0 rgba(56,102,66,0);
  }
  .stepper-wrap.in .step-reveal .step-num{
    transform: scale(1) rotate(0);
    box-shadow: 0 8px 24px rgba(56,102,66,.18);
  }
  @media (max-width: 900px){
    .step{ text-align:left; padding-left:70px; min-height:60px;}
  }
  .step-num{
    width:56px; height:56px; border-radius:50%; background:var(--verde-primario); color:#fff;
    font-size:20px; font-weight:800; display:inline-flex; align-items:center; justify-content:center;
    margin-bottom:18px; box-shadow: 0 10px 24px -8px rgba(56,102,66,.45);
  }
  @media (max-width: 900px){
    .step-num{ position:absolute; left:0; top:0; margin:0;}
  }
  .step h4{ font-size:16px; font-weight:800; margin-bottom:6px;}
  .step p{ font-size:13px; color:rgba(29,39,41,.65); line-height:1.45;}

  .serv-cta{ text-align:center; margin-top:60px;}

  /* Propiedades */
  .propiedades{ background:var(--verde-oscuro); color:#fff; position:relative; overflow:hidden;}
  .prop-bg-icon{
    position:absolute; top:0; right:0; height:100%; width:auto;
    /* Shift right so ~20% of the image extends past the edge (80% visible) */
    transform: translateX(20%);
    opacity:.18; pointer-events:none; user-select:none;
    object-fit: contain; object-position: right center;
    z-index:0;
  }
  @media (max-width:820px){ .prop-bg-icon{ opacity:.1; transform: translateX(35%);} }
  .propiedades .container{ position:relative; z-index:1;}
  .prop-header{ text-align:center; margin: 0 auto 64px; max-width:720px; position:relative;}
  .prop-header .section-subtitle{ color:rgba(255,255,255,.7); margin-left:auto; margin-right:auto;}
  .prop-header .section-eyebrow{ color:var(--verde-claro);}
  .prop-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; position:relative;}
  @media (max-width: 1024px){ .prop-grid{ grid-template-columns: repeat(2, 1fr);} }
  @media (max-width: 640px){ .prop-grid{ grid-template-columns: 1fr;} }
  .prop-card{
    background: rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    border-radius:6px; overflow:hidden; transition: all .4s ease;
    display:flex; flex-direction:column;
  }
  .prop-card:hover{
    transform: translateY(-6px);
    border-color: rgba(220,237,205,.4);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  }
  .prop-img{ position:relative; aspect-ratio: 16/10; overflow:hidden;}
  .prop-img img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease;}
  .prop-card:hover .prop-img img{ transform: scale(1.05);}
  .prop-img-overlay{
    position:absolute; inset:0;
    background: linear-gradient(180deg, transparent 40%, rgba(29,39,41,.9) 100%);
  }
  .prop-badges{
    position:absolute; bottom:14px; left:14px; right:14px;
    display:flex; gap:6px; flex-wrap:wrap;
  }
  .prop-badge{
    font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px;
    background: var(--verde-primario); color:#fff;
    letter-spacing:.03em;
  }
  .prop-body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap:14px; flex:1;}
  .prop-code{
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size:11px; color:var(--verde-claro); letter-spacing:.14em;
  }
  .prop-title{
    font-size:20px; font-weight:800; color:#fff; line-height:1.2; letter-spacing:-.01em;
    margin-top:-4px;
  }
  .prop-desc{
    font-size:14px; color:rgba(255,255,255,.7); line-height:1.55;
    text-wrap: pretty;
  }
  .prop-meta{ display:grid; grid-template-columns: 1fr 1fr; gap:10px 16px;}
  .prop-meta .m-row{ display:flex; flex-direction:column;}
  .prop-meta .m-row span{ font-size:10px; text-transform:uppercase; letter-spacing:.15em; color:rgba(255,255,255,.5); font-weight:700;}
  .prop-meta .m-row strong{ font-size:14px; font-weight:700; color:#fff;}
  .prop-btn{
    margin-top:auto; padding:12px 18px; border-radius:6px;
    border:1px solid rgba(220,237,205,.4); color:var(--verde-claro);
    font-size:13px; font-weight:700; background:transparent; transition: all .25s ease;
    display:flex; align-items:center; justify-content:space-between; gap:10px;
  }
  .prop-btn:hover{ background:var(--verde-primario); color:#fff; border-color:var(--verde-primario);}
  .prop-cta-wrap{ text-align:center; margin-top:60px;}
  .prop-cta-wrap .btn{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.3);}
  .prop-cta-wrap .btn:hover{ background:var(--verde-claro); color:var(--verde-oscuro); border-color:var(--verde-claro);}

  /* Uruguay */
  .uruguay{ background:#fff; position:relative; overflow:hidden;}
  .uruguay-bg{ position:absolute; top:0; bottom:0; left:-200px; right:-200px; opacity:.035; pointer-events:none; will-change: transform;}
  .uruguay-bg-1{ animation: uyDrift 28s linear infinite;}
  .uruguay-bg-2{ opacity:.028; animation: uyDriftRev 40s linear infinite;}
  @keyframes uyDrift{
    0%{ transform: translate3d(0,0,0);}
    100%{ transform: translate3d(-120px,0,0);}
  }
  @keyframes uyDriftRev{
    0%{ transform: translate3d(-160px,0,0);}
    100%{ transform: translate3d(0,0,0);}
  }
  @media (prefers-reduced-motion: reduce){
    .uruguay-bg-1, .uruguay-bg-2{ animation: none;}
  }
  .uy-header{ text-align:center; max-width:760px; margin: 0 auto 70px; position:relative;}
  .uy-header .section-subtitle{ margin-left:auto; margin-right:auto;}
  .uy-intro{ font-size:18px; color:rgba(29,39,41,.75); max-width:720px; margin: 24px auto 0; text-align:center;}
  .uy-grid{ perspective: 1200px; display:grid; grid-template-columns: repeat(4, 1fr); gap:20px;}
  @media (max-width:1280px){ .uy-grid{ grid-template-columns: repeat(3, 1fr);} }
  @media (max-width:1080px){ .uy-grid{ grid-template-columns: repeat(2, 1fr);} }
  @media (max-width:820px){ .uy-grid{ grid-template-columns:1fr;} }
  .uy-card{
    position:relative;
    background: rgba(220,237,205,.2);
    border: 1px solid rgba(56,102,66,.1);
    border-radius:10px; padding:32px 30px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(0);
    transition: transform .5s cubic-bezier(.2,.9,.3,1.2), background .3s ease, border-color .3s ease, box-shadow .5s ease;
    box-shadow: 0 1px 2px rgba(29,39,41,.04);
    will-change: transform;
    overflow:hidden;
  }
  /* shine layer */
  .uy-card::before{
    content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
    background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%),
      rgba(255,255,255,.55), rgba(255,255,255,0) 40%);
    opacity:0; transition: opacity .35s ease;
    mix-blend-mode: overlay;
  }
  .uy-card:hover{
    background: rgba(220,237,205,.55);
    border-color: rgba(56,102,66,.3);
    box-shadow:
      0 30px 60px -20px rgba(29,39,41,.25),
      0 10px 20px -10px rgba(56,102,66,.22),
      inset 0 1px 0 rgba(255,255,255,.4);
  }
  .uy-card:hover::before{ opacity:1;}
  /* lift children for parallax depth */
  .uy-card .uy-icon,
  .uy-card h3,
  .uy-card p,
  .uy-card ul{ transition: transform .5s cubic-bezier(.2,.9,.3,1.2);}
  .uy-card:hover .uy-icon{ transform: translateZ(40px) scale(1.06);}
  .uy-card:hover h3{ transform: translateZ(26px);}
  .uy-card:hover p,
  .uy-card:hover ul{ transform: translateZ(14px);}
  .uy-icon{
    width:52px; height:52px; border-radius:8px; background:var(--verde-primario);
    color:#fff; display:flex; align-items:center; justify-content:center; margin-bottom:20px;
    box-shadow: 0 6px 16px -6px rgba(56,102,66,.5);
  }
  .uy-card h3{ font-size:20px; font-weight:800; margin-bottom:10px;}
  .uy-card p{ color:rgba(29,39,41,.72); font-size:15px;}
  .uy-card ul{ margin-top:10px; padding:0; list-style:none;}
  .uy-card li{
    color:rgba(29,39,41,.78); font-size:14px; padding:4px 0 4px 18px; position:relative;
  }
  .uy-card li::before{
    content:''; position:absolute; left:0; top:12px; width:8px; height:2px; background:var(--verde-primario);
  }

  /* Cifras */
  .cifras{
    margin-top:80px; padding: 50px 40px; background:var(--verde-oscuro); color:#fff;
    border-radius:4px; display:grid; grid-template-columns: repeat(4, 1fr); gap:30px;
  }
  @media (max-width:820px){ .cifras{ grid-template-columns: repeat(2, 1fr);} }
  .cifra-item{ text-align:center; border-right:1px solid rgba(255,255,255,.08); padding: 20px 10px;}
  .cifra-item:last-child{ border-right:none;}
  @media (max-width:820px){
    .cifra-item{ border-right:none;}
    .cifra-item:nth-child(odd){ border-right:1px solid rgba(255,255,255,.08);}
  }
  .cifra-num{ font-size: clamp(34px, 4vw, 52px); font-weight:800; color:var(--verde-claro); line-height:1; letter-spacing:-.02em;}
  .cifra-label{ font-size:13px; margin-top:10px; color:rgba(255,255,255,.65); letter-spacing:.08em;}
  .uy-cta{ text-align:center; margin-top:60px;}

  /* Contacto */
  .contacto{ background:var(--verde-oscuro); color:#fff;}
  .contact-header{ text-align:center; margin-bottom:60px;}
  .contact-header .section-subtitle{ color:rgba(255,255,255,.65); margin-left:auto; margin-right:auto;}
  .contact-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap:50px;}
  @media (max-width:1000px){ .contact-grid{ grid-template-columns:1fr;} }
  .form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:14px;}
  @media (max-width:600px){ .form-grid{ grid-template-columns:1fr;} }
  .form-field{ display:flex; flex-direction:column; gap:6px;}
  .form-field.full{ grid-column: 1 / -1;}
  .form-field label{ font-size:11px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:rgba(255,255,255,.6);}
  .form-field input, .form-field select, .form-field textarea{
    background: rgba(255,255,255,.06); color:#fff;
    border:1px solid rgba(255,255,255,.1);
    padding: 14px 16px; border-radius:4px;
    font-size:15px; outline:none; transition: all .25s ease;
  }
  .form-field input::placeholder, .form-field textarea::placeholder{ color:var(--beige);}
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus{
    border-color: var(--verde-primario);
    box-shadow: 0 0 0 3px rgba(56,102,66,.25);
    background: rgba(255,255,255,.08);
  }
  .form-field select{
    appearance:none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23B3ABA0' stroke-width='1.5'/></svg>");
    background-repeat:no-repeat; background-position: right 16px center;
  }
  .form-field select option{ background:var(--verde-oscuro); color:#fff;}
  .form-field textarea{ min-height:120px; resize:vertical;}
  .form-submit{ width:100%; padding:18px; border-radius:6px; background:var(--verde-primario); color:#fff; font-weight:800; font-size:15px; letter-spacing:.05em; transition:all .3s ease; margin-top:8px;}
  .form-submit:hover{ background:var(--verde-primario-h); transform:translateY(-2px); box-shadow:0 16px 32px -10px rgba(56,102,66,.5);}

  /* Contact info */
  .contact-info{ display:flex; flex-direction:column; gap:22px;}
  .contact-logo{ display:flex; align-items:center; gap:14px; color:#fff;}
  .contact-logo .nav-logo-text{ font-size:15px;}
  .contact-channels{ display:flex; flex-direction:column; gap:10px;}
  .contact-channel{
    display:flex; align-items:center; gap:14px;
    padding:14px 16px; border-radius:6px;
    background: rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    transition: all .25s ease;
  }
  .contact-channel:hover{ background: rgba(56,102,66,.25); border-color: rgba(220,237,205,.3);}
  .cc-icon{
    width:40px; height:40px; border-radius:50%; background:var(--verde-primario); color:#fff;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .cc-text span{ display:block; font-size:11px; color:rgba(255,255,255,.55); letter-spacing:.12em; text-transform:uppercase; font-weight:600;}
  .cc-text strong{ font-size:15px; font-weight:700;}
  .contact-socials{ display:flex; gap:10px;}
  .social-btn{
    width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    display:flex; align-items:center; justify-content:center; color:#fff;
    transition: all .25s ease;
  }
  .social-btn:hover{ background:var(--verde-primario); border-color:var(--verde-primario); transform:translateY(-2px);}
  .contact-badges{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px;}
  .contact-badge{
    padding:6px 14px; border-radius:999px;
    border:1px solid rgba(255,255,255,.15); font-size:12px; font-weight:700;
    color:rgba(255,255,255,.8); letter-spacing:.1em;
  }

  /* Footer */
  .footer-bar{
    border-top:1px solid rgba(255,255,255,.08);
    padding: 30px 0; margin-top:90px;
    display:flex; justify-content:space-between; align-items:center; gap:20px;
    flex-wrap:wrap;
    font-size:13px; color:rgba(255,255,255,.55);
  }
  .footer-bar nav{ display:flex; gap:24px; flex-wrap:wrap;}
  .footer-bar nav a:hover{ color:#fff;}

  /* WhatsApp float */
  .wa-float{
    position:fixed; right:22px; bottom:22px; z-index:500;
    width:60px; height:60px; border-radius:50%;
    background:#25D366; color:#fff;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
    transition: transform .3s ease;
  }
  .wa-float:hover{ transform: scale(1.1);}
  .wa-float::before{
    content:''; position:absolute; inset:-6px; border-radius:50%;
    background: rgba(37,211,102,.3); animation: pulse 2s ease-out infinite; z-index:-1;
  }
  @keyframes pulse {
    0%{ transform: scale(1); opacity:.7;}
    100%{ transform: scale(1.5); opacity:0;}
  }

  /* Tweaks panel */
  .tweaks{
    position:fixed; right:22px; bottom:100px; z-index:600;
    width: 300px; background:#fff; border-radius:10px;
    box-shadow: 0 24px 50px -10px rgba(29,39,41,.3);
    padding: 18px 20px;
    font-size:13px;
    display:none;
  }
  .tweaks.open{ display:block;}
  .tweaks h4{ font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--verde-primario); margin-bottom:14px;}
  .tw-row{ margin-bottom:14px; display:flex; flex-direction:column; gap:6px;}
  .tw-row label{ font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(29,39,41,.6);}
  .tw-row input[type=color]{ height:32px; border:none; border-radius:4px; padding:0; cursor:pointer;}
  .tw-row input[type=range]{ width:100%;}
  .tw-row select{ padding:8px 10px; border:1px solid rgba(29,39,41,.15); border-radius:4px; font-size:13px;}


/* ========== DETAIL PAGE ========== */
.nav.scrolled.strong{ box-shadow: 0 8px 24px -12px rgba(0,0,0,.25);}

.detail-hero{
  position:relative;
  min-height: 70vh;
  padding: 140px 0 80px;
  display:flex; align-items:flex-end;
  overflow:hidden;
  color:#fff;
}
.detail-hero-img{
  position:absolute; inset:0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroImgIn 1.4s ease-out forwards;
}
@keyframes heroImgIn {
  from { transform: scale(1.15); opacity: .7;}
  to   { transform: scale(1.05); opacity: 1;}
}
.detail-hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(29,39,41,.4) 0%, rgba(29,39,41,.2) 40%, rgba(29,39,41,.85) 100%);
}
.detail-hero-content{ position:relative; z-index:2;}
.detail-hero-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
@media (max-width: 900px){ .detail-hero-grid{ grid-template-columns: 1fr;} }
.detail-hero-col{ min-width: 0;}
.detail-back{
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,.85);
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  transition: all .25s ease;
}
.detail-back:hover{ background: rgba(255,255,255,.1); border-color:#fff; transform: translateX(-3px);}
.detail-badges{ display:flex; gap:8px; flex-wrap:wrap; margin: 30px 0 18px;}
.detail-title{
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 900px;
  text-wrap: pretty;
  margin-bottom: 16px;
}
.detail-ref{
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.detail-ref strong{ color:#fff; letter-spacing:.05em;}

/* Ficha section */
.detail-ficha{ padding: 90px 0; background: var(--crema);}
.detail-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}
@media (max-width: 900px){ .detail-grid{ grid-template-columns: 1fr;} }
.detail-main{ display: flex; flex-direction: column; gap: 50px;}
.detail-block .wave-deco{ margin-top: 16px;}
.detail-desc{
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(29,39,41,.78);
  text-wrap: pretty;
  max-width: 640px;
}
.detail-caract{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  list-style: none; padding: 0;
}
@media (max-width: 640px){ .detail-caract{ grid-template-columns: 1fr;} }
.detail-caract li{
  display:flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: rgba(29,39,41,.85);
}
.detail-caract .check{
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--verde-primario);
  color: var(--verde-claro);
  display:flex; align-items:center; justify-content:center;
  margin-top: 1px;
}

/* Side ficha card */
.detail-side{ position: sticky; top: 100px; align-self: start;}
@media (max-width: 900px){ .detail-side{ position: static;} }
.detail-card{
  background: #fff;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 20px 40px -20px rgba(29,39,41,.2);
  border-top: 3px solid var(--verde-primario);
}
.ficha-list{ margin: 20px 0 0; display: flex; flex-direction: column;}
.ficha-row{
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(29,39,41,.08);
  gap: 16px;
}
.ficha-row:last-child{ border-bottom: none;}
.ficha-row dt{
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(29,39,41,.55);
  font-weight: 600;
}
.ficha-row dd{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-align: right;
}
.btn-share{
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(29,39,41,.12);
  background: transparent;
  color: var(--verde-oscuro);
  font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-share:hover{ background: var(--beige); border-color: var(--verde-primario);}

/* Gallery */
.detail-gallery{ padding: 90px 0; background: #fff;}
.gallery-header{ text-align: center; margin-bottom: 40px;}
.gallery-header .wave-deco{ margin: 14px auto 0;}
.gallery-main{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(29,39,41,.4);
  background: var(--beige);
}
.gallery-main img{
  width:100%; height:100%;
  object-fit: cover;
  transition: opacity .3s ease;
}
.gallery-thumbs{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 640px){ .gallery-thumbs{ grid-template-columns: repeat(4, 1fr); gap: 8px;} }
.gthumb{
  padding: 0; border: 2px solid transparent;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: .6;
  transition: all .25s ease;
}
.gthumb:hover{ opacity: .85;}
.gthumb.active{ opacity: 1; border-color: var(--verde-primario);}
.gthumb img{ width:100%; height:100%; object-fit: cover; display:block;}

/* Map */
.detail-map{ padding: 90px 0; background: var(--crema);}
.map-header{ text-align: center; margin-bottom: 40px;}
.map-header .wave-deco{ margin: 14px auto 0;}
.map-nota{
  margin-top: 18px;
  font-size: 14px;
  color: rgba(29,39,41,.55);
  font-style: italic;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.map-frame{
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(29,39,41,.35);
  background: var(--beige);
}
.map-pin{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none;
  z-index: 10;
}
.map-pin-dot{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--verde-primario);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  position: relative; z-index: 2;
}
.map-pin-pulse{
  position: absolute; top: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--verde-primario);
  animation: mapPulse 2s ease-out infinite;
}
@keyframes mapPulse{
  0%{ transform: scale(1); opacity: .6;}
  100%{ transform: scale(3); opacity: 0;}
}
.map-pin span{
  background: var(--verde-oscuro); color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* Similar — uses the same dark background as the main Propiedades section
   so all .prop-card / .prop-title / .prop-desc / .prop-btn styles apply */
.detail-similar{
  padding: 90px 0;
  background: var(--verde-oscuro);
  color: #fff;
  position: relative;
}
.sim-header{ text-align: center; margin-bottom: 50px;}
.sim-header .wave-deco{ margin: 14px auto 0;}
.sim-header .section-eyebrow{ justify-content: center;}
.sim-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px){ .sim-grid{ grid-template-columns: 1fr 1fr;} }
@media (max-width: 600px){ .sim-grid{ grid-template-columns: 1fr;} }

/* NotFound page */
.detail-notfound{ min-height: 80vh; display: flex; align-items: center; background: var(--crema);}


/* ========== VIEWPORT PREVIEW ========== */
/* Full (default): no framing */
body.vp-full .vp-stage,
body.vp-full .vp-frame,
body.vp-full .vp-scroll { all: unset; display: block; }
body.vp-full .vp-label { display: none; }

/* Constrained modes: show device-like frame on a dark backdrop */
body.vp-mobile,
body.vp-tablet,
body.vp-desktop {
  background: #1d2729;
  padding: 0;
}
body.vp-mobile .vp-stage,
body.vp-tablet .vp-stage,
body.vp-desktop .vp-stage {
  min-height: 100vh;
  padding: 40px 20px 80px;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(ellipse at top, #2a3638 0%, #1d2729 60%);
}

body.vp-mobile .vp-frame,
body.vp-tablet .vp-frame,
body.vp-desktop .vp-frame {
  position: relative;
  background: #000;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
}
body.vp-mobile .vp-frame { width: 399px; /* 375 + 24 pad */ }
body.vp-tablet .vp-frame { width: 858px; /* 834 + 24 */ }
body.vp-desktop .vp-frame { width: 1304px; /* 1280 + 24 */ max-width: calc(100vw - 80px); }

/* Inner scroll region */
body.vp-mobile .vp-scroll,
body.vp-tablet .vp-scroll,
body.vp-desktop .vp-scroll {
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: auto;
  height: calc(100vh - 160px);
}
body.vp-mobile .vp-scroll { width: 375px; }
body.vp-tablet .vp-scroll { width: 834px; }
body.vp-desktop .vp-scroll { width: 1280px; max-width: 100%; }

/* Device viewport emulation: media queries key off body.vp-mobile etc.
   We make narrow elements behave as if the window were that size by forcing
   the content width and letting @media styles cascade based on inner width
   query shims below. Because real @media queries still see the actual
   window, we add explicit rule overrides for constrained modes. */

/* Mobile-like reflow inside vp-mobile */
body.vp-mobile .nav-links { display: none; }
body.vp-mobile .nav-hamburger { display: inline-flex; }
body.vp-mobile .hero h1 { font-size: clamp(34px, 9vw, 52px); }
body.vp-mobile .hero-ctas { flex-direction: column; gap: 12px; }
body.vp-mobile .hero-ctas .btn { width: 100%; justify-content: center; }
body.vp-mobile .section-title { font-size: clamp(28px, 7vw, 40px); }
body.vp-mobile .nosotros-grid,
body.vp-mobile .servicios-grid,
body.vp-mobile .prop-grid,
body.vp-mobile .uy-grid,
body.vp-mobile .sim-grid,
body.vp-mobile .contact-grid,
body.vp-mobile .detail-grid,
body.vp-mobile .detail-caract,
body.vp-mobile .form-grid { grid-template-columns: 1fr !important; gap: 20px; }
body.vp-mobile .cifras { grid-template-columns: 1fr 1fr !important; }
body.vp-mobile .container { padding-left: 20px; padding-right: 20px; }
body.vp-mobile .detail-side { position: static !important; }
body.vp-mobile .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
body.vp-mobile .detail-title { font-size: clamp(28px, 8vw, 40px); }
body.vp-mobile .footer-bar { flex-direction: column; text-align: center; gap: 14px; }

/* Tablet reflow inside vp-tablet */
body.vp-tablet .nosotros-grid { grid-template-columns: 1fr !important; }
body.vp-tablet .servicios-grid { grid-template-columns: 1fr 1fr !important; }
body.vp-tablet .prop-grid,
body.vp-tablet .sim-grid { grid-template-columns: 1fr 1fr !important; }
body.vp-tablet .contact-grid { grid-template-columns: 1fr !important; }
body.vp-tablet .nav-links { gap: 20px; font-size: 13px; }

/* Viewport label below the frame */
.vp-label {
  margin-top: 14px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* Tweaks panel: stays in place even in vp modes (portal-like visual) */
body.vp-mobile .tweaks,
body.vp-tablet .tweaks,
body.vp-desktop .tweaks {
  background: #fff;
}

/* Viewport picker buttons */
.tw-viewport-btns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--beige);
  padding: 4px;
  border-radius: 6px;
}
.tw-vp-btn {
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(29,39,41,.65);
  cursor: pointer;
  transition: all .2s ease;
}
.tw-vp-btn:hover { color: var(--verde-oscuro); }
.tw-vp-btn.active {
  background: var(--verde-primario);
  color: #fff;
  box-shadow: 0 2px 8px -2px rgba(56,102,66,.4);
}

/* WA float stays inside the inner scroll region in constrained modes */
body.vp-mobile .wa-float,
body.vp-tablet .wa-float,
body.vp-desktop .wa-float {
  position: sticky;
  bottom: 22px;
  margin-left: auto;
  margin-right: 22px;
  margin-top: -60px;
  display: flex;
}

/* =========================================
   Cámaras — Institutional affiliations, own section
   ========================================= */
.camaras{
  background: var(--blanco);
  color: var(--verde-oscuro);
  padding: clamp(70px, 8vw, 110px) 0;
  border-top: 1px solid rgba(56,102,66,.08);
  border-bottom: 1px solid rgba(56,102,66,.08);
}
.camaras-head{
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.camaras-head .section-eyebrow{
  display: block;
  margin-bottom: 14px;
}
.camaras-title{
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}
.camaras-grid{
  /* Override .institucional top border/spacing since this is its own section now */
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  gap: clamp(24px, 3vw, 40px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
  justify-items: center;
}
.camaras-grid .inst-item{
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  width: 100%;
  max-width: 340px;
}
.camaras-grid .inst-logo{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-width: 0;
  width: 100%;
  max-width: 180px;
  height: 90px;
}
.camaras-grid .inst-logo img{
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.camaras-grid .inst-item > div:last-child{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 900px){
  .camaras-grid{ grid-template-columns: 1fr !important; }
}
body.vp-mobile .camaras-grid{ grid-template-columns: 1fr !important; }
body.vp-tablet .camaras-grid{ grid-template-columns: repeat(3, 1fr) !important; }

