:root{
  --radius-xl:48px;
  --radius-lg:30px;
  --radius-md:20px;
  --radius-sm:13px;
  --soft-shadow:0 20px 55px rgba(31,43,36,.10);
}

body{
  background:
    radial-gradient(circle at 8% 10%,rgba(169,104,70,.07),transparent 24rem),
    radial-gradient(circle at 92% 32%,rgba(115,130,113,.08),transparent 28rem),
    var(--cream);
}

.mark{border-radius:13px;transform:rotate(-2deg)}
.btn,.button,.nav-cta{border-radius:999px;padding-left:22px;padding-right:22px}
.nav-drop-menu{border-radius:18px;overflow:hidden}
.nav-drop-menu a{border-radius:10px}

/* Home: large, soft shapes and a looser visual rhythm. */
.hero{margin:18px;max-width:none;border-radius:0 0 54px 54px;box-shadow:var(--soft-shadow)}
.hero-image,.hero-image img{border-radius:0 0 54px 54px}
.image-note{border-radius:20px}
.quick{border-radius:24px;overflow:hidden}
.quick .btn{border-radius:16px}
.journey,.homes,.villages,.partners,.services,.cta{
  margin:18px;
  border-radius:var(--radius-xl);
  overflow:hidden;
}
.property,.partner,.service-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 12px 34px rgba(31,43,36,.07);
}
.property img{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.tag,.pill{border-radius:999px}
.member-strip,.included{border-radius:26px}
.village{border-radius:38px;box-shadow:var(--soft-shadow)}
.village img{border-radius:38px}
.story{margin:18px;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--soft-shadow)}
.story-image{border-radius:var(--radius-xl) 0 0 var(--radius-xl)}
.story-overlay{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr)!important;
  min-height:760px;
  background:#1f2b24;
}
.story-overlay>.story-image,.story-overlay>.story-copy{grid-area:1/1/-1/-1}
.story-overlay>.story-image{
  width:100%;
  min-height:760px;
  border-radius:var(--radius-xl);
  background-image:url('dorpen/hondon-nieves.webp');
  background-position:center 52%;
  background-size:cover;
  background-repeat:no-repeat;
}
.story-overlay>.story-copy{
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding:max(7vw,72px);
  color:#fff;
  background:linear-gradient(90deg,rgba(18,30,24,.92) 0%,rgba(18,30,24,.7) 68%,transparent 100%);
}
.story-overlay .story-copy>h2,
.story-overlay .story-copy>p,
.story-overlay .story-copy>blockquote{max-width:620px}
.story-overlay .eyebrow{color:#f0c39f}
.story-overlay p{color:#eef2ed}
.story-overlay .link{align-self:flex-start;color:#fff}

/* Listing, village and service pages. */
.page-hero{margin:0 18px;border-radius:0 0 var(--radius-xl) var(--radius-xl);overflow:hidden}
.about-hero{
  position:relative;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(18,30,24,.91) 0%,rgba(18,30,24,.7) 50%,rgba(18,30,24,.24) 100%),
    url('dorpen/hondon-nieves.webp') center 52%/cover;
}
.about-hero .crumbs,.about-hero .crumbs a,.about-hero p{color:#eef2ed}
.about-hero .fact{border-color:rgba(255,255,255,.28)}
.about-hero .fact span{color:#dfe7e1}
.filterbar,.notice,.empty{border-radius:24px;box-shadow:0 10px 30px rgba(31,43,36,.06)}
.field select,.field input{border-radius:10px}
.card,.village-card,.service-choice,.provider,.sidecard,.related a{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:0 12px 34px rgba(31,43,36,.07);
}
.card-media,.card-media img,.village-card .cover,.village-card .cover img{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.badge,.modal-meta span{border-radius:999px}
.pagination button{border-radius:50%}
.compare,.package-band,.legal-note{border-radius:26px}
.compare-item{border-radius:18px}
.modal-panel{border-radius:30px}
.modal-panel>img{border-radius:30px 30px 0 0}
.modal-close{border-radius:50%}
.process{gap:12px;border-top:0}
.process-step{margin:0;padding:24px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.54)}
.cta{box-shadow:var(--soft-shadow)}

/* Account and dashboard pages. */
.auth-shell{margin:18px;border-radius:40px;overflow:hidden;background:#fff;box-shadow:var(--soft-shadow)}
.auth-story{border-radius:40px 0 0 40px}
.field input,.field select{border-radius:14px}
.auth-note,.stat,.panel,.favorite-card,.empty-state,.request{border-radius:22px}
.dashboard-hero{margin:0 18px;border-radius:0 0 46px 46px}
.demo-banner{border-radius:0 0 16px 16px;margin:0 18px}

@media(max-width:980px){
  .story-image{border-radius:var(--radius-xl) var(--radius-xl) 0 0}
  .story-overlay>.story-image{border-radius:var(--radius-xl)}
  .story-overlay>.story-copy{width:100%;background:linear-gradient(90deg,rgba(18,30,24,.9),rgba(18,30,24,.55) 75%,transparent)}
  .auth-story{border-radius:40px 40px 0 0}
}

@media(max-width:680px){
  :root{--radius-xl:32px;--radius-lg:23px}
  .hero,.journey,.homes,.villages,.partners,.services,.story,.cta,.page-hero,.auth-shell,.dashboard-hero{margin:8px}
  .hero,.hero-image,.hero-image img{border-radius:0 0 34px 34px}
  .quick{margin-left:16px;margin-right:16px;border-radius:20px}
  .process{gap:10px}
  .process-step{border:1px solid var(--line);border-radius:20px}
  .demo-banner{margin:0 8px}
}

/* Language choice */
.language-switcher{
  display:flex;
  align-items:center;
  gap:3px;
  padding:4px;
  margin-left:2px;
  border:1px solid rgba(45,65,53,.24);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 8px 24px rgba(31,43,36,.08);
}
.language-switcher button{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  font-size:1.08rem;
  line-height:1;
  transition:.2s ease;
}
.language-switcher img,.language-welcome-options img{display:block;width:25px;height:17px;object-fit:cover;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.language-switcher button:hover{background:var(--sand);transform:scale(1.06)}
.language-switcher button[aria-pressed="true"]{background:var(--olive);box-shadow:0 3px 10px rgba(31,43,36,.2)}

.language-welcome{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(20,31,25,.72);
  backdrop-filter:blur(10px);
}
.language-welcome-card{
  width:min(560px,100%);
  padding:42px;
  border-radius:34px;
  background:var(--cream);
  color:var(--ink);
  text-align:center;
  box-shadow:0 28px 90px rgba(10,18,13,.35);
}
.language-welcome-mark{
  width:52px;
  height:52px;
  margin:0 auto 22px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:var(--olive);
  color:#fff;
  font:500 1.2rem "Playfair Display",serif;
}
.language-welcome h2{margin:0 0 12px;font:500 clamp(2rem,5vw,3rem)/1.05 "Playfair Display",serif}
.language-welcome p{margin:0;color:var(--muted);line-height:1.65}
.language-welcome-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px}
.language-welcome-options button{
  width:82px;
  height:68px;
  min-height:68px;
  padding:0;
  justify-self:center;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  color:var(--ink);
  cursor:pointer;
  font:600 .86rem "DM Sans",sans-serif;
  transition:.2s ease;
}
.language-welcome-options button:hover{transform:translateY(-2px);border-color:var(--terracotta);box-shadow:0 10px 25px rgba(31,43,36,.09)}
.language-welcome-options button{display:grid;place-items:center}
.language-welcome-options img{width:40px;height:27px}
.language-welcome-options span{display:block;margin:0;font-size:2rem;line-height:1}
#goog_translate_element,.goog-te-banner-frame,.goog-te-balloon-frame,.VIpgJd-ZVi9od-ORHb-OEVmcd{display:none!important}
.goog-text-highlight{background:transparent!important;box-shadow:none!important}
body{top:0!important}
.mobile-read-more{display:none}

@media(max-width:980px){
  nav{gap:14px}
  .language-switcher{margin-left:auto}
}
@media(max-width:620px){
  .language-switcher button{width:30px;height:30px;font-size:.98rem}
  .language-welcome-card{padding:32px 20px}
  .language-welcome-options{grid-template-columns:repeat(3,1fr)}
  .language-welcome-options button{width:64px;height:58px;min-height:58px}
  .language-welcome-options span{display:block;margin:0;font-size:1.75rem}
}

/* Calm, compact presentation for conventional phone-sized viewports only.
   Tablet, iPad, desktop and unfolded foldables remain on the existing layout. */
@media(max-width:600px){
  :root{--radius-xl:24px;--radius-lg:19px;--radius-md:16px}

  .topline{display:none}
  nav{min-height:64px;height:64px;padding:0 14px;gap:8px}
  .mark{width:36px;height:36px}
  .brand{gap:8px;min-width:0}
  .brand-text strong{font-size:1rem;white-space:nowrap}
  .language-switcher{padding:2px;gap:1px}
  .language-switcher button{width:27px;height:27px;font-size:.9rem}
  .menu{padding:7px;margin-left:2px}
  .navlinks.open{top:58px;left:8px;right:8px;padding:15px;gap:9px;border-radius:16px}

  main{overflow:hidden}
  .hero,.journey,.homes,.villages,.partners,.services,.story,.cta,.page-hero,.auth-shell,.dashboard-hero{margin:6px}
  .hero{min-height:560px}
  .hero-copy{padding:42px 18px 38px}
  .hero h1,.page-hero h1,.auth-story h1,.dashboard-hero h1{
    font-size:clamp(2.25rem,11vw,3rem);
    line-height:1.01;
    margin-top:12px;
    margin-bottom:16px;
  }
  .hero p,.page-hero p{font-size:1rem;line-height:1.55}
  .hero-ctas{display:grid;grid-template-columns:1fr;gap:9px;margin-top:20px}
  .hero-ctas .btn,.hero-ctas .button,.cta .btn,.cta .button{width:100%;min-height:50px}
  .trustline{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin-top:22px;padding-top:16px}

  section,.section{padding:46px 16px}
  .page-hero{padding:42px 16px}
  .page-hero .inner,.detail-layout{gap:24px}
  .section-head,.section-title,.service-intro{margin-bottom:25px;gap:8px}
  .section-head h2,.section-title h2,.service-intro h2,.story h2,.cta h2{
    font-size:clamp(2rem,9vw,2.65rem);
    line-height:1.06;
    margin-top:8px;
    margin-bottom:14px;
  }
  .quick{margin:8px 12px;padding:12px;gap:0}
  .quick label{padding:9px 6px}
  .quick .btn{min-height:50px;margin-top:8px}

  .steps,.grid,.property-grid,.village-grid,.partner-grid,.service-grid,.provider-grid,.service-menu,.process,.related,.compare-grid,.stats,.dashboard-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px;
  }
  .step,.process-step{margin:0;padding:20px;border-right:0;border-bottom:0}
  .property,.card,.village-card,.partner,.service-card,.provider,.sidecard,.panel{width:100%;min-width:0}
  .property img,.property:first-child img,.card-media,.card-media img,.village-card .cover,.village-card .cover img{height:240px}
  .property-body,.card-body,.provider,.partner,.service-card,.sidecard,.panel{padding:20px}
  .partner,.service-card{min-height:0}
  .village{min-height:300px}
  .village-info{padding:21px}
  .village-info h3{font-size:1.7rem}
  .member-strip,.included,.package-band{padding:20px;gap:14px}
  .member-strip .btn,.sidecard .button,.package-band .button{width:100%;min-height:49px}
  .story-image{min-height:330px}
  .story-copy,.auth-story,.auth-panel{padding:42px 19px}
  .story-overlay{min-height:610px}
  .story-overlay>.story-image{min-height:610px;background-position:60% center}
  .story-overlay>.story-copy{width:100%;padding:46px 20px;background:linear-gradient(0deg,rgba(18,30,24,.94),rgba(18,30,24,.62) 72%,rgba(18,30,24,.2))}
  .story blockquote{font-size:1.15rem;margin:15px 0;padding-left:15px}
  .cta{padding:54px 17px}

  .facts{gap:0}
  .fact{padding:11px 0}
  .filterbar{padding:14px;gap:0}
  .filterbar .button{width:100%;min-height:49px}
  .section+.section{margin-top:0}
  .detail-copy h2{font-size:2rem;line-height:1.1}
  .checklist{padding-left:0}
  .legal-note,.notice,.compare,.included{padding:18px}

  .auth-shell{min-height:0}
  .auth-box h2{font-size:2rem}
  .dashboard-main{padding:28px 14px 52px}
  .stats{margin-top:-20px}
  .stat{padding:18px}
  .panel-head{display:block}
  .favorite-card{grid-template-columns:88px minmax(0,1fr)}
  .favorite-card img{width:88px;height:80px}

  footer{padding:42px 18px 22px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-inner{gap:14px}
  .copyright{margin-top:30px;padding-top:16px;gap:8px}

  .mobile-clamp{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  .mobile-clamp.is-expanded{display:block;overflow:visible}
  .mobile-read-more{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    margin:5px 0 14px;
    padding:0;
    border:0;
    border-bottom:1px solid currentColor;
    background:transparent;
    color:inherit;
    font:600 .8rem "DM Sans",sans-serif;
    cursor:pointer;
  }
  .hero .mobile-read-more,.journey .mobile-read-more,.cta .mobile-read-more{color:#fff}
}
