
:root{
  --terracotta:#a95f47;
  --terracotta-dark:#7f4334;
  --terracotta-soft:#c67d65;
  --cream:#f7f1e8;
  --sand:#e9ddce;
  --white:#fffdf9;
  --olive:#73785d;
  --ink:#302a26;
  --muted:#776d65;
  --line:rgba(48,42,38,.13);
  --shadow:0 24px 64px rgba(79,46,35,.13);
  --radius:24px;
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,system-ui,sans-serif;line-height:1.55}
a{color:inherit}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
h1,h2,h3{font-family:"Cormorant Garamond",serif;font-weight:500;margin:0}
.site-header{
  position:fixed;z-index:30;left:0;right:0;top:0;height:92px;padding:0 4vw;
  display:grid;grid-template-columns:170px 1fr 150px;align-items:center;color:white;
  transition:.35s ease;
}
.site-header.scrolled{height:74px;background:rgba(247,241,232,.94);color:var(--ink);backdrop-filter:blur(16px);box-shadow:0 10px 30px rgba(48,42,38,.08)}
.brand img{width:116px;filter:brightness(0) invert(1)}
.site-header.scrolled .brand img{filter:none;width:100px}
.main-nav{display:flex;justify-content:center;gap:2rem}
.main-nav a,.header-button{text-decoration:none;font-size:.82rem}
.header-button{justify-self:end;border:1px solid currentColor;border-radius:999px;padding:.75rem 1rem}
.hero{
  min-height:100svh;position:relative;display:grid;place-items:center;color:white;overflow:hidden;
  background-image:linear-gradient(rgba(66,34,26,.22),rgba(66,34,26,.26)),url("../img/hero-rvive.jpg");
  background-size:cover;background-position:center 22%;
}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(71,36,27,.28),transparent 45%,rgba(71,36,27,.14))}
.hero-content{position:relative;z-index:2;text-align:center;padding:8rem 1rem 3rem}
.hero-logo{width:min(340px,65vw);margin:0 auto 1.8rem;filter:brightness(0) invert(1)}
.hero h1{font-size:clamp(3.4rem,7vw,7rem);line-height:.95}
.hero p{font-family:"Cormorant Garamond",serif;font-size:clamp(1.4rem,2.5vw,2.2rem);margin:.7rem 0 2rem}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.8rem 1.25rem;border:0;border-radius:999px;text-decoration:none;cursor:pointer}
.btn-light{background:var(--cream);color:var(--terracotta-dark);box-shadow:0 12px 30px rgba(56,32,24,.16)}
.btn-primary{background:var(--terracotta);color:white}
.btn-outline{border:1px solid var(--terracotta);color:var(--terracotta);background:transparent}
.section{max-width:var(--max);margin:auto;padding:7rem 2rem}
.section-head{display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:2.2rem}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:var(--terracotta-dark);font-weight:700;margin:0 0 .8rem}
.section h2{font-size:clamp(2.7rem,5vw,5.1rem);line-height:1.02}
.intro{display:grid;grid-template-columns:1.2fr .8fr;gap:6rem;align-items:end}
.intro p{color:var(--muted);font-size:1.05rem}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.3s ease}
.card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.card-image{height:250px;background-size:cover;background-position:center;position:relative}
.card-image::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(32,20,15,.3),transparent 50%)}
.badge{position:absolute;z-index:2;left:1rem;top:1rem;background:rgba(255,253,249,.92);border-radius:999px;padding:.42rem .65rem;font-size:.7rem}
.card-body{padding:1.25rem}
.card h3{font-size:1.7rem}
.card p{color:var(--muted);font-size:.9rem}
.meta{display:flex;flex-wrap:wrap;gap:.4rem;margin:1rem 0}
.meta span{border:1px solid var(--line);border-radius:999px;padding:.35rem .55rem;font-size:.72rem}
.card-foot{border-top:1px solid var(--line);padding-top:1rem;display:flex;justify-content:space-between;align-items:center}
.card-foot strong{font-family:"Cormorant Garamond",serif;font-size:1.3rem}
.site-footer{background:#282421;color:#f2e7dc;padding:4rem;display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:3rem}
.site-footer img{width:165px;filter:brightness(0) invert(1)}
.site-footer a{text-decoration:none;opacity:.8}
.site-footer a:hover{opacity:1}
.footer-col{display:flex;flex-direction:column;gap:.55rem}

/* Admin */
.admin-body{background:#efe7dc}
.admin-shell{min-height:100vh;display:grid;grid-template-columns:240px 1fr}
.sidebar{background:#2f2925;color:#f6eee6;padding:2rem 1.25rem;position:sticky;top:0;height:100vh}
.sidebar img{width:130px;filter:brightness(0) invert(1);margin-bottom:2.4rem}
.sidebar nav{display:flex;flex-direction:column;gap:.45rem}
.sidebar a{padding:.8rem 1rem;border-radius:12px;text-decoration:none;color:inherit;opacity:.78}
.sidebar a.active,.sidebar a:hover{background:rgba(255,255,255,.09);opacity:1}
.admin-main{padding:2rem 2.5rem}
.admin-top{display:flex;justify-content:space-between;gap:2rem;align-items:center;margin-bottom:2rem}
.admin-top h1{font-size:3rem}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem}
.stat{background:var(--white);padding:1.3rem;border-radius:18px;border:1px solid var(--line)}
.stat strong{font-family:"Cormorant Garamond",serif;font-size:2rem}
.panel{background:var(--white);border-radius:22px;border:1px solid var(--line);overflow:hidden}
.panel-head{padding:1.2rem 1.4rem;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:1rem 1.2rem;border-bottom:1px solid var(--line);white-space:nowrap}
th{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.status{display:inline-flex;padding:.35rem .55rem;border-radius:999px;font-size:.72rem;background:#eee6dc}
.status.available{background:#e6eddc;color:#54613f}
.status.reserved{background:#f1dfd8;color:#884d3d}
.actions{display:flex;gap:.4rem}
.icon-btn{border:1px solid var(--line);background:white;border-radius:10px;padding:.5rem .65rem;cursor:pointer}
.drawer{position:fixed;z-index:50;right:0;top:0;bottom:0;width:min(520px,100%);background:var(--white);box-shadow:-20px 0 60px rgba(50,35,28,.18);padding:2rem;transform:translateX(105%);transition:.35s ease;overflow:auto}
.drawer.open{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}
.drawer h2{font-size:2.4rem}
.close{border:0;background:transparent;font-size:1.6rem}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-grid label{font-size:.78rem;color:var(--muted)}
.form-grid input,.form-grid select,.form-grid textarea{width:100%;margin-top:.35rem;padding:.8rem .9rem;border:1px solid var(--line);border-radius:14px;background:#fcfaf7}
.form-grid textarea{min-height:110px;resize:vertical}
.form-grid .full{grid-column:1/-1}
.form-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1.5rem}
.toast{position:fixed;left:50%;bottom:2rem;transform:translate(-50%,30px);background:#2f2925;color:white;padding:.8rem 1rem;border-radius:999px;opacity:0;pointer-events:none;transition:.3s}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:900px){
  .site-header{grid-template-columns:120px 1fr}.main-nav{display:none}.header-button{display:none}
  .intro{grid-template-columns:1fr;gap:1.5rem}.property-grid{grid-template-columns:1fr}
  .site-footer{grid-template-columns:1fr}
  .admin-shell{grid-template-columns:1fr}.sidebar{height:auto;position:relative}.sidebar nav{flex-direction:row;overflow:auto}.admin-main{padding:1.2rem}.stats{grid-template-columns:1fr 1fr}
}


/* Catalog pages */
.page-hero{
  padding:11rem 2rem 4rem;
  background:linear-gradient(135deg,var(--sand),var(--cream));
}
.page-hero-inner{max-width:var(--max);margin:auto}
.page-hero h1{font-size:clamp(3.4rem,7vw,6.8rem);line-height:.95}
.page-hero p{max-width:620px;color:var(--muted);font-size:1.05rem}
.filters{
  max-width:var(--max);margin:-1.2rem auto 0;padding:0 2rem;position:relative;z-index:2
}
.filter-bar{
  background:var(--white);border:1px solid var(--line);border-radius:22px;padding:1rem;
  box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:.8rem
}
.filter-bar input,.filter-bar select{
  width:100%;border:1px solid var(--line);border-radius:999px;padding:.8rem 1rem;background:#fff
}
.catalog-wrap{max-width:var(--max);margin:auto;padding:4rem 2rem 7rem}
.catalog-tools{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1.5rem}
.catalog-tools p{color:var(--muted)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.empty-state{grid-column:1/-1;padding:4rem;text-align:center;border:1px dashed var(--line);border-radius:24px;color:var(--muted)}

/* Property detail */
.detail-hero{
  min-height:88svh;position:relative;color:white;display:flex;align-items:flex-end;
  background-size:cover;background-position:center;
}
.detail-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,18,13,.08),rgba(30,18,13,.74))}
.detail-hero-content{
  position:relative;z-index:2;width:min(var(--max),100%);margin:auto;padding:9rem 2rem 4rem;
  display:flex;justify-content:space-between;gap:2rem;align-items:end
}
.detail-hero h1{font-size:clamp(3.5rem,7vw,7rem);line-height:.92}
.detail-hero p{font-family:"Cormorant Garamond",serif;font-size:1.5rem;margin:.7rem 0}
.detail-price{font-family:"Cormorant Garamond",serif;font-size:2.2rem}
.detail-actions{display:flex;gap:.7rem;flex-wrap:wrap}
.detail-section{max-width:var(--max);margin:auto;padding:6rem 2rem}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.detail-copy p{font-size:1.08rem;color:var(--muted)}
.fact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}
.fact{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:1.1rem}
.fact span{display:block;color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.08em}
.fact strong{display:block;margin-top:.25rem;font-family:"Cormorant Garamond",serif;font-size:1.35rem}
.gallery-grid{display:grid;grid-template-columns:1.3fr .7fr;grid-template-rows:repeat(2,260px);gap:1rem}
.gallery-grid img{width:100%;height:100%;object-fit:cover;border-radius:20px}
.gallery-grid img:first-child{grid-row:1/3}
.chips{display:flex;flex-wrap:wrap;gap:.6rem}
.chips span{border:1px solid var(--line);border-radius:999px;padding:.55rem .8rem;background:var(--white)}
.location-card{min-height:420px;border-radius:28px;overflow:hidden;position:relative;background:
  radial-gradient(circle at 65% 35%,rgba(169,95,71,.65) 0 8px,transparent 9px),
  linear-gradient(140deg,#d8cbb9,#b8b19e 55%,#8f967d)}
.location-card::before{content:"";position:absolute;inset:0;background:
  linear-gradient(25deg,transparent 48%,rgba(255,255,255,.36) 49%,transparent 50%),
  linear-gradient(-35deg,transparent 48%,rgba(255,255,255,.28) 49%,transparent 50%)}
.related{background:var(--sand)}
.back-link{position:absolute;z-index:4;left:2rem;top:7rem;color:white;text-decoration:none;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:.55rem .8rem}

@media(max-width:900px){
  .filter-bar{grid-template-columns:1fr 1fr}
  .catalog-grid{grid-template-columns:1fr 1fr}
  .detail-grid{grid-template-columns:1fr;gap:2rem}
  .fact-grid{grid-template-columns:1fr 1fr}
  .detail-hero-content{flex-direction:column;align-items:flex-start}
}
@media(max-width:640px){
  .filter-bar{grid-template-columns:1fr}
  .catalog-grid{grid-template-columns:1fr}
  .fact-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,220px)}
  .gallery-grid img:first-child{grid-row:auto}
}


/* About & contact pages */
.content-hero{
  padding:11rem 2rem 5rem;
  background:
    linear-gradient(rgba(78,42,31,.18),rgba(78,42,31,.25)),
    url("../img/hero-rvive.jpg") center/cover;
  color:white;
}
.content-hero .inner{max-width:var(--max);margin:auto}
.content-hero h1{font-size:clamp(3.8rem,7vw,7rem);line-height:.95}
.content-hero p{max-width:650px;font-size:1.1rem}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.story-grid p{font-size:1.08rem;color:var(--muted)}
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.pillar{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:1.4rem}
.pillar h3{font-size:1.7rem;margin-bottom:.4rem}
.pillar p{color:var(--muted);margin:0}
.contact-page{display:grid;grid-template-columns:.8fr 1.2fr;gap:5rem;align-items:start}
.contact-card{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:1.4rem}
.contact-card + .contact-card{margin-top:1rem}
.contact-card h3{font-size:1.5rem}
.contact-card p,.contact-card a{color:var(--muted);text-decoration:none}
.contact-form-page{background:var(--white);border:1px solid var(--line);border-radius:28px;padding:2rem}
.contact-form-page .form-grid{margin-top:1rem}
.legal{max-width:900px;margin:auto;padding:10rem 2rem 6rem}
.legal h1{font-size:3.8rem}
.legal h2{font-size:2rem;margin-top:2rem}
.legal p{color:var(--muted)}
.menu-toggle{display:none}
@media(max-width:900px){
  .story-grid,.contact-page{grid-template-columns:1fr}
  .pillars{grid-template-columns:1fr}
  .menu-toggle{display:flex;flex-direction:column;gap:5px;border:0;background:transparent;color:inherit;justify-self:end}
  .menu-toggle span{width:24px;height:1px;background:currentColor}
  .site-header{grid-template-columns:120px 1fr auto}
  .site-header .main-nav{
    display:flex;position:fixed;top:78px;left:1rem;right:1rem;background:var(--cream);color:var(--ink);
    flex-direction:column;padding:1rem;border-radius:18px;box-shadow:var(--shadow);
    opacity:0;pointer-events:none;transform:translateY(-10px);transition:.25s
  }
  .site-header .main-nav.open{opacity:1;pointer-events:auto;transform:none}
}


/* Netlify public corrections v0.5 */
.site-header{
  grid-template-columns:145px 1fr 150px;
}
.brand{
  display:flex;
  align-items:center;
  width:max-content;
}
.brand img{
  width:92px !important;
  max-height:70px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.site-header.scrolled .brand img{
  width:82px !important;
  filter:none;
}
.hero{
  background-image:
    linear-gradient(90deg,rgba(113,57,42,.34),rgba(113,57,42,.08) 52%,rgba(64,37,29,.18)),
    url("../img/hero-rvive.jpg") !important;
  background-position:center center;
  background-size:cover;
}
.hero-content{
  text-align:left;
  width:min(1240px,100%);
  margin:auto;
  padding:9rem 2rem 4rem;
}
.hero-content h1{
  max-width:700px;
}
.hero-content p{
  max-width:620px;
}
.hero-logo{display:none !important}
.property-grid .card-image{
  min-height:250px;
  background-size:cover;
  background-position:center;
}
@media(max-width:900px){
  .site-header{grid-template-columns:110px 1fr auto}
  .brand img{width:76px !important}
  .hero-content{padding-top:8rem}
}

.home-header{height:86px;grid-template-columns:120px 1fr 150px;padding:0 4vw}
.home-header .home-brand{visibility:hidden}
.home-header .main-nav a{font-size:.78rem;text-transform:uppercase}
.home-header .main-nav a.active::after{content:"";display:block;height:1px;background:currentColor;margin-top:.35rem}
.home-hero{min-height:570px;height:68vh;max-height:690px;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(rgba(83,39,27,.06),rgba(83,39,27,.08)),url("../img/hero-v06.jpg")!important;background-position:center;background-size:cover}
.home-hero::after{background:linear-gradient(90deg,rgba(58,26,18,.08),transparent 50%,rgba(36,20,15,.12))}
.home-logo-lockup{position:relative;z-index:2;width:min(360px,38vw);margin-top:-2rem}.home-logo-lockup img{width:100%;filter:brightness(0) invert(1)}
.home-search{position:absolute;z-index:4;left:50%;bottom:-30px;transform:translateX(-50%);width:min(1020px,86vw);min-height:64px;padding:.5rem .65rem;display:grid;grid-template-columns:1.45fr 1fr 1.15fr .85fr .8fr;align-items:center;background:rgba(255,253,249,.98);border-radius:18px;box-shadow:0 14px 36px rgba(63,38,29,.18);color:var(--ink)}
.home-search label{height:42px;display:flex;align-items:center;border-right:1px solid var(--line);padding:0 .8rem}.home-search input,.home-search select{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:.78rem}.home-search select{text-transform:uppercase;font-weight:500}.search-query{gap:.45rem}.search-icon{font-size:1.45rem}.home-search button{border:0;background:transparent;color:var(--terracotta-dark);font-weight:700;text-transform:uppercase;cursor:pointer;height:42px}
.home-discover{background:#fbf8f3;padding:4.7rem 4vw 5.5rem}.home-message{text-align:center;margin:0 auto 2.5rem}.home-message h1{font-size:clamp(2.7rem,4.4vw,4.6rem);line-height:.95}.home-message p{margin:.25rem 0 0;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(2.4rem,4vw,4.1rem);line-height:1;color:var(--terracotta)}.ornament{display:block;margin:.35rem 0 .7rem;color:var(--terracotta);letter-spacing:.2em}.home-message .btn{min-height:40px;padding:.55rem 1.35rem;text-transform:uppercase;font-size:.72rem}
.department-grid{width:min(1400px,100%);margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.department-card{overflow:hidden;background:var(--white);border:1px solid rgba(48,42,38,.08);border-radius:12px;box-shadow:0 10px 24px rgba(72,47,36,.07)}.department-card img{width:100%;height:180px;object-fit:cover}.department-copy{padding:1rem 1.15rem 1.15rem}.department-copy h2{font-size:1.55rem}.department-copy p{font-size:.82rem;color:var(--terracotta-dark);min-height:2.8em;margin:.3rem 0 .8rem}.department-copy a{display:inline-flex;align-items:center;justify-content:center;min-width:145px;padding:.55rem .9rem;border:1px solid var(--terracotta);border-radius:999px;color:var(--terracotta-dark);text-decoration:none;text-transform:uppercase;font-size:.68rem;font-weight:600}
@media(max-width:900px){.home-header .home-brand{visibility:visible}.home-header .home-brand img{filter:brightness(0) invert(1)}.home-logo-lockup{width:min(300px,64vw);margin-top:-3rem}.home-search{width:calc(100% - 2rem);bottom:-125px;grid-template-columns:1fr 1fr;padding:.7rem}.home-search label{border-right:0;border-bottom:1px solid var(--line)}.home-search button{grid-column:1/-1;background:var(--terracotta);color:white;border-radius:999px}.home-discover{padding-top:10rem}.department-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.home-hero{min-height:520px;height:65vh}.home-search{bottom:-180px;grid-template-columns:1fr}.home-search button{grid-column:auto}.home-discover{padding-top:13rem}.department-grid{grid-template-columns:1fr}.department-card img{height:220px}}

/* R•vive v0.7 final homepage */
.home-header{height:86px;grid-template-columns:120px 1fr 160px;padding:0 4vw}
.home-header .home-brand{visibility:hidden}
.home-header .main-nav a{font-size:.78rem}
.home-header .main-nav a.active::after{content:"";display:block;height:1px;background:currentColor;margin-top:.35rem}
.home-hero.v07{min-height:570px;height:66vh;max-height:690px;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(rgba(95,44,30,.04),rgba(95,44,30,.06)),url("../img/hero-v07.jpg")!important;background-position:center;background-size:cover}
.home-logo-lockup{position:relative;z-index:2;width:min(380px,38vw);margin-top:-2.4rem}
.home-logo-lockup img{width:100%;filter:brightness(0) invert(1)}
.hero-cta{position:absolute;z-index:3;left:50%;top:69%;transform:translateX(-50%);padding:.8rem 1.4rem;border-radius:999px;background:#fffaf4;color:#a75a43;text-decoration:none;font-size:.9rem}.hero-cta span{margin-left:.9rem}
.home-search{position:absolute;z-index:4;left:50%;bottom:-31px;transform:translateX(-50%);width:min(1040px,86vw);min-height:64px;padding:.5rem .65rem;display:grid;grid-template-columns:1.45fr 1fr 1.15fr .85fr .8fr;align-items:center;background:#fffdf9;border-radius:18px;box-shadow:0 14px 36px rgba(63,38,29,.18);color:var(--ink)}
.home-search label{height:42px;display:flex;align-items:center;border-right:1px solid var(--line);padding:0 .8rem}.home-search input,.home-search select{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:.78rem}.home-search select{text-transform:uppercase;font-weight:500}.search-query{gap:.45rem}.search-icon{font-size:1.45rem}.home-search button{border:0;background:transparent;color:var(--terracotta-dark);font-weight:700;text-transform:uppercase;cursor:pointer;height:42px}
.home-discover{background:#fbf8f3;padding:4.8rem 4vw 5.6rem}.home-message{text-align:center;margin:0 auto 2.4rem}.home-message h1{font-size:clamp(2.7rem,4.4vw,4.5rem);line-height:.95}.home-message p{margin:.25rem 0 0;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(2.4rem,4vw,4rem);line-height:1;color:var(--terracotta)}.ornament{display:block;margin:.35rem 0 .7rem;color:var(--terracotta);letter-spacing:.2em}.home-message .btn{min-height:40px;padding:.55rem 1.35rem;text-transform:uppercase;font-size:.72rem}
.department-grid{width:min(1400px,100%);margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.department-card{overflow:hidden;background:var(--white);border:1px solid rgba(48,42,38,.08);border-radius:12px;box-shadow:0 10px 24px rgba(72,47,36,.07)}.department-card img{width:100%;height:170px;object-fit:cover}.department-copy{padding:1rem 1.15rem 1.15rem}.department-copy h2{font-size:1.5rem}.department-copy p{font-size:.82rem;color:var(--terracotta-dark);min-height:2.8em;margin:.3rem 0 .8rem}.department-copy a{display:inline-flex;align-items:center;justify-content:center;min-width:145px;padding:.55rem .9rem;border:1px solid var(--terracotta);border-radius:999px;color:var(--terracotta-dark);text-decoration:none;text-transform:uppercase;font-size:.68rem;font-weight:600}
.floating-contact{position:fixed;right:1.4rem;bottom:1.4rem;width:54px;height:54px;border-radius:50%;background:var(--terracotta);color:#fff;display:grid;place-items:center;text-decoration:none;font-size:1.2rem;box-shadow:0 10px 24px rgba(77,45,32,.25);z-index:20}
@media(max-width:900px){.home-header .home-brand{visibility:visible}.home-header .home-brand img{filter:brightness(0) invert(1)}.home-logo-lockup{width:min(300px,64vw);margin-top:-4rem}.hero-cta{top:66%}.home-search{width:calc(100% - 2rem);bottom:-126px;grid-template-columns:1fr 1fr;padding:.7rem}.home-search label{border-right:0;border-bottom:1px solid var(--line)}.home-search button{grid-column:1/-1;background:var(--terracotta);color:white;border-radius:999px}.home-discover{padding-top:10rem}.department-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.home-hero.v07{min-height:520px;height:65vh}.home-search{bottom:-180px;grid-template-columns:1fr}.home-search button{grid-column:auto}.home-discover{padding-top:13rem}.department-grid{grid-template-columns:1fr}.department-card img{height:220px}}

/* ======================================================
   R•VIVE v0.8 — clean Netlify build
   ====================================================== */
.home-header{
  height:88px;
  grid-template-columns:130px 1fr 170px;
  padding:0 4vw;
  color:#fff;
  background:transparent;
}
.home-header .main-nav{display:flex;justify-content:center;gap:2rem}
.home-header .main-nav a{font-size:.82rem;color:#fff;text-decoration:none}
.home-header .main-nav a.active::after{content:"";display:block;width:100%;height:1px;background:#fff;margin-top:.35rem}
.home-hero-v08{
  min-height:600px;
  height:69vh;
  max-height:720px;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:visible;
  background:
    linear-gradient(rgba(75,32,22,.04),rgba(75,32,22,.05)),
    url("../img/hero-clean-v08.jpg") center/cover no-repeat !important;
}
.home-hero-v08::after{display:none}
.home-logo-lockup-v08{
  width:min(410px,38vw);
  position:relative;
  z-index:3;
  margin-top:-3.5rem;
}
.home-logo-lockup-v08 img{width:100%;height:auto;display:block}
.hero-cta-v08{
  position:absolute;z-index:4;left:50%;top:70%;
  transform:translateX(-50%);
  background:#fffaf4;color:#ad6048;text-decoration:none;
  border-radius:999px;padding:.82rem 1.5rem;font-size:.92rem;
  box-shadow:0 8px 18px rgba(45,24,17,.08)
}
.hero-cta-v08 span{margin-left:1rem}
.home-search-v08{
  position:absolute;z-index:6;left:50%;bottom:-32px;transform:translateX(-50%);
  width:min(1040px,86vw);min-height:64px;
  padding:.5rem .65rem;background:#fffdf9;border-radius:18px;
  box-shadow:0 14px 34px rgba(63,38,29,.18);
  display:grid;grid-template-columns:1.45fr 1fr 1.15fr .85fr .8fr;align-items:center;color:#302a26
}
.home-search-v08 label{height:42px;display:flex;align-items:center;border-right:1px solid rgba(48,42,38,.13);padding:0 .8rem}
.home-search-v08 input,.home-search-v08 select{width:100%;border:0;outline:0;background:transparent;color:#302a26;font:inherit;font-size:.78rem}
.home-search-v08 select{text-transform:uppercase;font-weight:500}
.home-search-v08 button{border:0;background:transparent;color:#8b4937;font-weight:700;text-transform:uppercase;cursor:pointer;height:42px}
.home-discover-v08{background:#fbf8f3;padding:5rem 4vw 5.6rem}
.home-message-v08{text-align:center;margin:0 auto 2.45rem}
.home-message-v08 h1{font-family:"Cormorant Garamond",serif;font-size:clamp(2.8rem,4.4vw,4.7rem);line-height:.95;font-weight:500;margin:0;color:#302a26}
.home-message-v08 p{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(2.45rem,4vw,4.15rem);line-height:1;margin:.28rem 0 0;color:#a95f47}
.home-message-v08 .ornament{display:block;color:#a95f47;margin:.3rem 0 .7rem}
.home-message-v08 .btn{text-transform:uppercase;font-size:.72rem;min-height:40px;padding:.55rem 1.35rem}
.department-grid-v08{width:min(1400px,100%);margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.department-card-v08{overflow:hidden;background:#fffdf9;border:1px solid rgba(48,42,38,.08);border-radius:12px;box-shadow:0 10px 24px rgba(72,47,36,.07)}
.department-card-v08 img{width:100%;height:175px;object-fit:cover}
.department-card-v08>div{padding:1rem 1.15rem 1.15rem}
.department-card-v08 h2{font-family:"Cormorant Garamond",serif;font-size:1.55rem;margin:0}
.department-card-v08 p{font-size:.82rem;color:#7d4435;min-height:2.8em;margin:.3rem 0 .8rem}
.department-card-v08 a{display:inline-flex;align-items:center;justify-content:center;min-width:145px;padding:.55rem .9rem;border:1px solid #a95f47;border-radius:999px;color:#7d4435;text-decoration:none;text-transform:uppercase;font-size:.68rem;font-weight:600}
.floating-contact{position:fixed;right:1.4rem;bottom:1.4rem;width:54px;height:54px;border-radius:50%;background:#a95f47;color:white;display:grid;place-items:center;text-decoration:none;z-index:30;box-shadow:0 10px 24px rgba(77,45,32,.25)}
@media(max-width:900px){
  .home-header{grid-template-columns:1fr auto auto}
  .home-header .main-nav{position:fixed;top:78px;left:1rem;right:1rem;background:#f7f1e8;color:#302a26;flex-direction:column;padding:1rem;border-radius:18px;opacity:0;pointer-events:none;transform:translateY(-8px);transition:.25s}
  .home-header .main-nav.open{opacity:1;pointer-events:auto;transform:none}
  .home-header .main-nav a{color:#302a26}
  .home-logo-lockup-v08{width:min(320px,66vw);margin-top:-4rem}
  .hero-cta-v08{top:65%}
  .home-search-v08{bottom:-126px;width:calc(100% - 2rem);grid-template-columns:1fr 1fr}
  .home-search-v08 label{border-right:0;border-bottom:1px solid rgba(48,42,38,.13)}
  .home-search-v08 button{grid-column:1/-1;background:#a95f47;color:white;border-radius:999px}
  .home-discover-v08{padding-top:10rem}
  .department-grid-v08{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .home-hero-v08{min-height:520px;height:65vh}
  .home-search-v08{bottom:-180px;grid-template-columns:1fr}
  .home-search-v08 button{grid-column:auto}
  .home-discover-v08{padding-top:13rem}
  .department-grid-v08{grid-template-columns:1fr}
  .department-card-v08 img{height:220px}
}

/* v0.9 PC: technical correction only */
.home-hero-v08{min-height:0!important;height:58vh!important;max-height:570px!important;background:linear-gradient(rgba(75,32,22,.02),rgba(75,32,22,.02)),url("../img/hero-original-v09.jpg") center/cover no-repeat!important}
.home-logo-lockup-v08{width:min(330px,30vw)!important;margin-top:-2.3rem!important}
.hero-cta-v08{top:69%!important;padding:.68rem 1.35rem!important}
.home-search-v08{bottom:-28px!important;min-height:58px!important}
.home-discover-v08{padding:3.6rem 3.2vw 3rem!important}
.home-message-v08{margin:0 auto 1.15rem!important}
.home-message-v08 h1{font-size:clamp(2.15rem,3vw,3.35rem)!important}
.home-message-v08 p{font-size:clamp(1.95rem,2.8vw,3rem)!important}
.home-message-v08 .ornament{margin:.12rem 0 .35rem!important}
.home-message-v08 .btn{display:none!important}
.department-grid-v08{gap:.85rem!important}
.department-card-v08 img{height:125px!important}
.department-card-v08>div{padding:.7rem .85rem .8rem!important}
.department-card-v08 h2{font-size:1.25rem!important}
.department-card-v08 p{font-size:.72rem!important;min-height:2.3em!important;margin:.2rem 0 .45rem!important}
.department-card-v08 a{padding:.38rem .72rem!important;min-width:120px!important;font-size:.61rem!important}
@media(max-width:900px){.home-hero-v08{height:65vh!important;max-height:none!important;min-height:520px!important}.home-logo-lockup-v08{width:min(320px,66vw)!important;margin-top:-4rem!important}.home-discover-v08{padding-top:10rem!important}.home-message-v08 .btn{display:inline-flex!important}.department-card-v08 img{height:180px!important}}

/* R-vive v1.0 PC final: exact approved hero, no duplicate logo, no search */
.home-hero-v10{position:relative;width:100%;height:min(55.7vw,570px);min-height:430px;max-height:570px;background:url("../img/hero-approved-v10.jpg") center top/cover no-repeat!important;overflow:hidden}
.hero-hotspots{position:absolute;inset:0;z-index:5}.hero-hotspots .hs{position:absolute;display:block;background:transparent}
.hero-hotspots .inicio{left:25.8%;top:3.1%;width:5.2%;height:7%}.hero-hotspots .viviendas{left:31.1%;top:3.1%;width:7.2%;height:7%}.hero-hotspots .terrenos{left:39.1%;top:3.1%;width:6.3%;height:7%}.hero-hotspots .otras{left:46%;top:3.1%;width:11.7%;height:7%}.hero-hotspots .nosotros{left:58.6%;top:3.1%;width:7.5%;height:7%}.hero-hotspots .contacto{left:66.2%;top:3.1%;width:7.4%;height:7%}.hero-hotspots .visita{right:2%;top:2.2%;width:11%;height:8.5%}
.home-search-v08,.home-search-v09,.home-search-v10{display:none!important}
.home-discover-v08{padding-top:1.1rem!important}.home-message-v08{margin:0 auto .85rem!important}.home-message-v08 h1{font-size:clamp(2rem,2.7vw,2.85rem)!important}.home-message-v08 p{font-size:clamp(1.8rem,2.45vw,2.55rem)!important}.home-message-v08 .btn{display:none!important}.department-card-v08 img{height:140px!important}
@media(max-width:900px){.home-hero-v10{height:62vw;min-height:390px}.home-discover-v08{padding-top:1.4rem!important}}

/* R-vive v1.1 desktop */
.home-hero-v10{display:none!important}.home-hero-v11{position:relative;width:100%;height:min(37.7vw,579px);min-height:430px;background:url("../img/hero-v11.jpg") center top/cover no-repeat!important;overflow:hidden}.home-search-v08,.home-search-v09,.home-search-v10,.home-search-v11{display:none!important}.hero-cta-v08,.hero-cta-v09,.hero-cta-v10,.hero-cta-v11{display:none!important}.home-discover-v08{padding-top:.8rem!important}@media(max-width:900px){.home-hero-v11{height:62vw;min-height:390px}}

/* R-vive v1.1 ajuste: eslogan de portada con mayor presencia */
.home-message-v08 h1{font-size:clamp(2.45rem,3.35vw,3.55rem)!important}
.home-message-v08 p{font-size:clamp(2.2rem,3vw,3.15rem)!important}

/* Ajustes aprobados: eslogan y Conoce nuestra zona */
.zone-card-media-v12{position:relative;height:140px;overflow:hidden}
.zone-card-media-v12>img{width:100%;height:100%!important;object-fit:cover;display:block}
.zone-route-v12{position:absolute;right:7%;top:12%;width:43%;height:70%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}
.zone-route-v12 path,.zone-route-v12 circle{stroke:#fff;stroke-width:2;fill:rgba(255,255,255,.12)}
.zone-play-v12{position:absolute;left:10%;bottom:12%;width:38px;height:38px;border:1.5px solid #fff;border-radius:50%;display:grid;place-items:center;padding-left:2px;color:#fff;background:rgba(48,42,38,.22);font-size:.8rem;box-shadow:0 2px 8px rgba(0,0,0,.18)}
@media(max-width:900px){.zone-card-media-v12{height:180px}}
@media(max-width:600px){.zone-card-media-v12{height:220px}}

/* Página Conoce nuestra zona */
.zone-hero-v12{position:relative;min-height:460px;display:flex;align-items:flex-end;padding:8rem 5vw 4rem;color:#fff;background:linear-gradient(180deg,rgba(43,27,20,.12),rgba(43,27,20,.62)),url("../img/cat-mes-v07.jpg") center/cover no-repeat}
.zone-hero-v12 .inner{position:relative;z-index:1;max-width:900px}
.zone-hero-v12 h1{font-family:"Cormorant Garamond",serif;font-size:clamp(3.6rem,7vw,6.7rem);line-height:.9;margin:.15rem 0 1rem}
.zone-hero-v12 p{max-width:720px;font-size:1.05rem;line-height:1.7}
.zone-intro-v12{max-width:980px;margin:0 auto;padding:5rem 5vw 2.5rem;text-align:center}
.zone-intro-v12 h2{font-family:"Cormorant Garamond",serif;font-size:clamp(2.6rem,5vw,4.7rem);line-height:1;margin:.2rem 0 1rem}
.zone-intro-v12 p{max-width:760px;margin:auto;color:var(--muted);line-height:1.8}
.zone-content-v12{max-width:1200px;margin:0 auto;padding:1rem 5vw 5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.zone-block-v12{background:#fffdf9;border:1px solid rgba(48,42,38,.08);border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(72,47,36,.07)}
.zone-block-v12 img{display:block;width:100%;height:290px;object-fit:cover}
.zone-block-v12 .copy{padding:1.4rem 1.5rem 1.6rem}
.zone-block-v12 h3{font-family:"Cormorant Garamond",serif;font-size:2rem;margin:0 0 .5rem}
.zone-block-v12 p{margin:0;color:var(--muted);line-height:1.7}
.zone-map-placeholder-v12,.zone-video-placeholder-v12{min-height:290px;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#ead8c9,#c58a70);color:#fff;overflow:hidden}
.zone-map-placeholder-v12 svg{width:72%;height:72%;opacity:.95}.zone-map-placeholder-v12 path,.zone-map-placeholder-v12 circle{stroke:#fff;stroke-width:2.5;fill:none}
.zone-video-placeholder-v12::before{content:"▶";width:72px;height:72px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;padding-left:5px;font-size:1.5rem;background:rgba(48,42,38,.18)}
.zone-coming-v12{font-size:.72rem;text-transform:uppercase;letter-spacing:.16em;color:#a95f47;font-weight:600;margin-bottom:.5rem!important}
@media(max-width:760px){.zone-content-v12{grid-template-columns:1fr}.zone-hero-v12{min-height:400px;padding-top:7rem}.zone-block-v12 img,.zone-map-placeholder-v12,.zone-video-placeholder-v12{min-height:230px;height:230px}}
