:root {
  --forest: #23372f;
  --sage: #9eaa8c;
  --earth: #b88360;
  --sand: #d9c7ac;
  --ivory: #f5f0e5;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #0d130d; }
body { margin: 0; min-height: 100%; font-family: 'Space Grotesk', Inter, Arial, sans-serif; color: var(--ivory); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 5px; }
.page { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 100vh; min-height: 670px; height: 100svh; min-height: min(670px, 100svh); background: #0d180f; }
.backdrop { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.backdrop-base { position: absolute; inset: -2%; background: url('../assets/portada/chalet-bosque-conceptual.webp') center top / cover no-repeat; filter: blur(10px) brightness(.82); transform: scale(1.045); }
.backdrop picture { display: block; position: absolute; inset: 0; }
.backdrop-photo { display: block; position: absolute; left: 0; top: 15px; width: 118%; max-width: none; height: calc(100% - 30px); object-fit: fill; filter: brightness(.98) saturate(1.08); }
.backdrop-tint { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,14,8,.89) 0%, rgba(10,17,9,.77) 23%, rgba(10,16,8,.42) 40%, rgba(11,16,10,.12) 61%, rgba(5,10,6,.015) 87%),
  linear-gradient(0deg, rgba(6,10,6,.27) 0%, transparent 23%, transparent 70%, rgba(5,9,5,.13) 100%);
}
.header { position: absolute; z-index: 30; left: 0; top: 0; right: 0; height: 139px; display: flex; align-items: flex-start; justify-content: space-between; padding: 43px 5% 0 4.75%; }
.identity { display: inline-flex; align-items: center; text-decoration: none; gap: 24px; min-height: 59px; }
.identity img { width: 65px; height: 65px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.14)); }
.identity-name { font-weight: 700; font-size: 22px; letter-spacing: .27em; white-space: nowrap; line-height: 1.05; }
.menu-trigger { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 45px; height: 45px; border: 0; background: none; color: var(--ivory); margin-top: 9px; padding: 6px; position: relative; z-index: 35; }
.hamburger-line { display: block; width: 31px; height: 2px; background: currentColor; border-radius: 1px; transform-origin: center; transition: transform .45s var(--ease), opacity .22s ease; }
.menu-trigger:hover .hamburger-line:nth-child(2) { transform: translateX(-5px); }
.menu-trigger[aria-expanded="true"] .hamburger-line:first-child { transform: translateY(9px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-trigger[aria-expanded="true"] .hamburger-line:last-child { transform: translateY(-9px) rotate(-45deg); }
.hero { position: absolute; inset: 0; }
.hero-copy { position: absolute; left: 4.75%; top: 22.2%; max-width: 725px; width: 52%; }
.eyebrow-block { margin-bottom: 28px; }
.eyebrow { font-size: 13.5px; font-weight: 500; letter-spacing: .255em; line-height: 1.55; margin: 0 0 17px; white-space: nowrap; }
.eyebrow-mark { display: block; height: 4px; width: 62px; background: #9b9c49; }
h1 { font-size: clamp(49px, 5.08vw, 77px); font-weight: 700; letter-spacing: -.061em; line-height: .91; margin: 0 0 18px; text-wrap: nowrap; text-shadow: 0 1px 12px #0001; }
.hero-description { margin: 0; font-size: clamp(16px, 1.53vw, 22px); line-height: 1.31; letter-spacing: -.017em; max-width: 545px; font-weight: 400; color: #f7f2eb; }
@media(min-width:1101px){ .hero-description .textline { display: block; } }
.location { margin-top: 29px; display: flex; align-items: center; gap: 15px; font-size: clamp(14px, 1.31vw, 19px); line-height: 1.3; letter-spacing: -.012em; }
.location svg { width: 22px; height: 29px; flex: none; color: #919642; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; border-radius: 11px; min-height: 57px; padding: 0 23px 0 29px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: transform .35s var(--ease), background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.action svg { width: 24px; height: 24px; flex: none; transition: transform .35s var(--ease); }
.action:hover { transform: translateY(-3px); }
.action:hover svg { transform: translateX(4px); }
.action-primary { background: linear-gradient(145deg,#344c2d,#24391f); border: 1px solid #39552d; box-shadow: 0 8px 20px #0003; min-width: 270px; }
.action-primary:hover { background: #40593a; box-shadow: 0 13px 26px #0004; }
.action-secondary { background: #0a110993; border: 2px solid #c1a36e; min-width: 254px; padding-left: 29px; }
.action-secondary:hover { background: #263422c4; border-color: var(--sand); }
/* Fullscreen navigation, matching the previously approved interactive behavior. */
.fullscreen-menu { position: fixed; z-index: 25; inset: 0; display: flex; align-items: center; justify-content: flex-end; background: rgba(23,39,28,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .48s ease, transform .55s var(--ease), visibility .55s; }
.fullscreen-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-atmosphere { position: absolute; inset: 0; opacity: .3; background: radial-gradient(ellipse at 82% 16%, #5d7058 0%, transparent 50%), radial-gradient(ellipse at 20% 95%, #111b15 5%, transparent 58%); pointer-events:none; }
.menu-content { position: relative; width: min(700px,54vw); margin-right: 7%; margin-top: 50px; }
.menu-heading { font-size: 13px; letter-spacing: .24em; color: var(--sand); margin: 0 0 43px; font-weight: 500; }
.menu-links { display: block; }
.menu-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 17px; text-decoration: none; border-bottom: 1px solid rgba(245,240,229,.24); font-size: clamp(54px,6vw,90px); line-height: 1.14; letter-spacing: -.063em; font-weight: 500; transition: padding-left .3s var(--ease), color .2s ease; }
.menu-link:hover, .menu-link:focus-visible { color: var(--sand); padding-left: 16px; }
.menu-link small { font-size: 12px; color: var(--sage); letter-spacing: .13em; font-weight: 500; }
.menu-footer { display: flex; align-items: center; gap: 13px; color: rgba(245,240,229,.67); font-size: 10px; letter-spacing: .13em; margin-top: 46px; }
.menu-footer-line { height: 1px; width: 27px; background: var(--sage); }
.notice { position: fixed; z-index: 60; bottom: 34px; left: 50%; transform: translate(-50%,15px); width: max-content; max-width: calc(100vw - 40px); background: rgba(22,36,26,.94); border: 1px solid rgba(217,199,172,.48); padding: 13px 20px; border-radius: 8px; font-size: 13px; opacity: 0; transition: transform .3s ease, opacity .3s ease; text-align:center; }
.notice.visible { transform: translate(-50%,0); opacity: 1; }
.concept-note { position: absolute; z-index: 2; bottom: 12px; right: 24px; font-size: 8px; letter-spacing: .07em; color: rgba(245,240,229,.62); margin: 0; text-shadow: 0 1px 3px #000a; }
@media(max-width:1100px) {
  .hero-copy { width: 61%; }
  h1 { font-size: clamp(47px, 5.3vw, 66px); }
  .hero-description { font-size: clamp(16px, 1.62vw, 20px); }
  .hero-actions { gap: 13px; }
  .action { min-width: unset; padding-left: 19px; padding-right: 17px; font-size: 15px; }
  .backdrop-photo { width: 130%; }
}
@media(max-width:760px) {
  .header { height: 100px; padding: 20px 23px 0; align-items: flex-start; }
  .identity img { width: 43px; height: 58px; }
  .identity { gap: 13px; }
  .identity-name { font-size: 18px; letter-spacing: .2em; }
  .menu-trigger { margin-top: 6px; }
  .hero-copy { top: auto; bottom: 103px; left: 6%; width: 85%; max-width: 580px; }
  .backdrop-photo { top: 0; height: 100%; min-width: 100%; width: auto; left: 50%; transform: translateX(-52%); object-fit: cover; }
  .backdrop-tint { background: linear-gradient(0deg,rgba(7,14,7,.94) 0%,rgba(7,14,7,.84) 36%,rgba(7,14,7,.38) 67%,rgba(7,14,7,.11) 100%); }
  .eyebrow { font-size: 10px; letter-spacing: .24em; white-space: normal; }
  .eyebrow-block { margin-bottom: 22px; }
  .eyebrow-mark { height: 3px; width: 52px; }
  h1 { font-size: clamp(43px, 8.1vw, 65px); margin-bottom: 19px; }
  .hero-description { font-size: clamp(14px, 2.3vw, 18px); line-height: 1.48; max-width: 520px; }
  @media(min-width:1101px){ .hero-description .textline { display: block; } }
.location { margin-top: 22px; font-size: 14px; gap: 10px; }
  .location svg { width: 17px; height: 23px; }
  .hero-actions { margin-top: 24px; flex-wrap: wrap; }
  .action { min-height: 53px; font-size: 15px; }
  .menu-content { width: 85%; margin: 90px auto 0; }
  .menu-link { font-size: clamp(50px,9vw,74px); }
  .concept-note { font-size: 7px; right: auto; left: 6%; max-width: 85%; bottom: 14px; }
}
@media(max-width:510px) {
  .page { min-height: 700px; min-height: 100svh; }
  .header { padding: 15px 20px 0; }
  .identity-name { font-size: 16px; letter-spacing: .14em; }
  .identity img { width: 39px; height: 54px; }
  .hero-copy { left: 20px; width: calc(100% - 40px); bottom: 96px; }
  h1 { font-size: clamp(39px,10.7vw,56px); letter-spacing: -.065em; line-height: .98; }
  .eyebrow-block { margin-bottom: 19px; }
  .eyebrow { font-size: 9px; letter-spacing: .18em; margin-bottom: 12px; }
  .hero-description { font-size: 14px; line-height: 1.47; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .action { display:flex; width: 100%; font-size: 15px; justify-content: space-between; border-radius: 8px; padding: 0 17px; min-height: 50px; }
  .menu-content { width: calc(100% - 48px); margin-top: 30px; }
  .menu-heading { font-size: 11px; margin-bottom: 29px; }
  .menu-link { font-size: 47px; }
  .menu-footer { font-size: 8px; line-height: 1.5; }
}
@media(max-height:720px) and (min-width:761px) { .hero-copy { top: 19%; } h1 { font-size: clamp(43px,4.7vw,65px); } .eyebrow-block { margin-bottom: 19px; } .hero-description { line-height: 1.28; } .hero-actions { margin-top: 25px; } @media(min-width:1101px){ .hero-description .textline { display: block; } }
.location { margin-top: 20px; } }
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
