:root {
  --green: #43b86d;
  --green-bright: #58d783;
  --green-dark: #126138;
  --forest: #0b1812;
  --forest-soft: #10241a;
  --ink: #111713;
  --muted: #59645d;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --line: rgba(17, 23, 19, 0.14);
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --shell: min(1220px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
::selection { background: var(--green-bright); color: var(--forest); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; background: var(--green-bright); color: var(--forest); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }
.section { padding: 120px 0; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; color: var(--green-bright); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 1px; background: currentColor; content: ""; }
.eyebrow.dark { color: var(--green-dark); }
.eyebrow.light { color: var(--green-bright); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1; }
h1 em, h2 em { color: var(--green); font-weight: 500; }
p { margin-top: 0; }
.button { min-height: 52px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: transform .2s, background-color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 4px; }
.button-primary { background: var(--green-bright); color: var(--forest); }
.button-primary:hover { background: #78e69b; }
.button-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-dark { background: var(--forest); color: #fff; }
.button-whatsapp { background: var(--green-bright); color: var(--forest); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 80px; padding: 0 36px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(251,250,246,.96); color: var(--ink); box-shadow: 0 10px 36px rgba(7,27,17,.09); backdrop-filter: blur(14px); }
.brand { justify-self: start; width: 58px; height: 58px; padding: 7px; display: grid; place-items: center; overflow: hidden; background: var(--paper); border: 1px solid rgba(67,184,109,.42); border-radius: 50%; box-shadow: 0 6px 24px rgba(7,27,17,.12); transition: width .3s, height .3s, background-color .3s, box-shadow .3s; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-header.scrolled .brand { background: var(--paper); box-shadow: none; }
.desktop-nav { display: flex; gap: 32px; font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { position: absolute; inset: auto 0 -8px; height: 1px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .2s; content: ""; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 780px; height: 100svh; max-height: 980px; display: flex; align-items: center; overflow: hidden; background: var(--forest); color: #fff; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: url("assets/cozy-campus-room.jpg") center/cover no-repeat; transform: scale(1.02); animation: heroZoom 10s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(5,13,9,.94) 0%, rgba(5,13,9,.81) 34%, rgba(5,13,9,.23) 68%, rgba(5,13,9,.08) 100%), linear-gradient(0deg, rgba(5,13,9,.55), transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(760px, calc(100vw - 96px)); margin-left: max(48px, calc((100vw - 1220px) / 2)); padding-top: 38px; }
.hero h1 { max-width: 720px; font-size: clamp(4.5rem, 8.2vw, 8.6rem); line-height: .86; }
.hero-copy { max-width: 590px; margin: 32px 0 36px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { position: absolute; z-index: 2; right: max(48px, calc((100vw - 1220px) / 2)); bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(11,24,18,.9); backdrop-filter: blur(16px); }
.hero-facts div { min-width: 150px; padding: 24px 26px; border-left: 1px solid rgba(255,255,255,.15); }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { color: var(--green-bright); font-family: var(--display); font-size: 28px; font-weight: 500; }
.hero-facts span { color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(18px); animation: reveal .8s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }.reveal:nth-child(3) { animation-delay: .24s; }.reveal:nth-child(4) { animation-delay: .36s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.02); } }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.intro-copy { max-width: 510px; padding-bottom: 4px; color: var(--muted); font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy strong { color: var(--ink); }
.room-layout { margin-top: 92px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .5fr); }
.room-photo { margin: 0; position: relative; min-height: 630px; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.room-photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 11px; background: rgba(11,24,18,.82); color: rgba(255,255,255,.78); font-size: 11px; backdrop-filter: blur(8px); }
.room-list-wrap { padding: 50px 42px; background: var(--cream); }
.list-label { margin-bottom: 26px; color: var(--green-dark); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.room-list { margin: 0; padding: 0; list-style: none; }
.room-list li { padding: 16px 0; display: flex; gap: 20px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 21px; line-height: 1.2; }
.room-list li span { width: 24px; color: var(--green-dark); font-family: var(--sans); font-size: 10px; letter-spacing: .1em; }

.facilities { background: var(--forest); color: #fff; }
.facilities-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 90px; align-items: end; }
.facilities-head > p { max-width: 390px; margin-bottom: 0; color: rgba(255,255,255,.62); }
.facility-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.facility-card { min-height: 250px; padding: 28px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .25s, transform .25s; }
.facility-card:hover { background: var(--green); color: var(--forest); transform: translateY(-4px); }
.facility-card.wide { grid-column: span 2; }
.facility-card .icon { width: 42px; height: 42px; margin-bottom: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--green-bright); font-size: 20px; }
.facility-card:hover .icon { border-color: var(--forest); color: var(--forest); }
.facility-card h3 { margin: 0 0 12px; font-family: var(--display); font-size: 25px; font-weight: 500; }
.facility-card p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; }
.facility-card:hover p { color: rgba(11,24,18,.76); }

.price-section { background: var(--cream); }
.price-card { display: grid; grid-template-columns: 1fr .7fr .8fr; gap: 50px; align-items: center; padding: 72px; background: var(--paper); box-shadow: 0 25px 80px rgba(16,44,29,.08); }
.price-copy > p:last-child { max-width: 410px; margin: 30px 0 0; color: var(--muted); }
.price-number { padding: 25px 45px; border-inline: 1px solid var(--line); text-align: center; }
.price-number span, .price-number strong { display: block; }
.price-number span { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.price-number strong { color: var(--green-dark); font-family: var(--display); font-size: clamp(4.2rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.included > p { margin-bottom: 14px; font-weight: 700; }
.included ul { margin: 0 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.included li { padding: 6px 0 6px 23px; position: relative; }
.included li::before { position: absolute; left: 0; color: var(--green-dark); content: "✓"; }

.location { background: var(--forest-soft); color: #fff; }
.location-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.location-copy > p:not(.eyebrow):not(.address) { max-width: 500px; color: rgba(255,255,255,.62); }
.location-copy .address { margin: 42px 0 20px; color: var(--green-bright); font-family: var(--display); font-size: 25px; line-height: 1.4; }
.location-copy .button { margin-top: 16px; }
.map-wrap { min-height: 520px; position: relative; overflow: hidden; background: #d9ded8; }
.map-wrap::before { position: absolute; z-index: 1; inset: 0; border: 1px solid rgba(255,255,255,.18); pointer-events: none; content: ""; }
.map-wrap iframe { width: 100%; height: 100%; position: absolute; inset: 0; filter: grayscale(.75) contrast(.95) sepia(.12); }

.contact { background: var(--green); }
.contact-inner { text-align: center; }
.contact .eyebrow { justify-content: center; color: var(--forest); }
.contact h2 { font-size: clamp(3.4rem, 7vw, 6.8rem); }
.contact h2 em { color: var(--paper); }
.contact-inner > p:not(.eyebrow) { max-width: 600px; margin: 30px auto 38px; color: rgba(11,24,18,.73); font-size: 18px; }
.contact-actions { display: flex; justify-content: center; gap: 18px; align-items: stretch; }
.phone-link { min-width: 250px; padding: 11px 22px; background: var(--paper); text-align: left; }
.phone-link small, .phone-link span { display: block; }
.phone-link small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.phone-link span { font-family: var(--display); font-size: 27px; line-height: 1.2; }
.button-whatsapp { border-color: var(--forest); }
.button-whatsapp:hover { background: var(--forest); color: #fff; }

.site-footer { padding: 34px 0; background: var(--forest); color: rgba(255,255,255,.54); font-size: 12px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner img { width: 142px; height: auto; padding: 7px 10px; background: #fff; border-radius: 8px; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { text-align: right; }
.footer-credit a { color: rgba(255,255,255,.86); font-weight: 600; transition: color .2s; }
.footer-credit a:hover { color: var(--green-bright); }
.mobile-contact-bar { display: none; }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 48px, 920px); }
  .section { padding: 96px 0; }
  .intro-grid, .facilities-head { gap: 55px; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr 1fr; padding: 52px; }
  .price-copy { grid-column: 1 / -1; }
  .price-number { border-left: 0; }
  .location-grid { gap: 45px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 36px); }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: 62px; }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .site-header { height: 70px; padding: 0 18px; grid-template-columns: 1fr auto; }
  .brand { width: 50px; height: 50px; padding: 6px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { width: 44px; height: 44px; padding: 11px; display: grid; gap: 5px; align-content: center; justify-self: end; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; display: block; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav { position: fixed; z-index: 1; inset: 70px 0 auto; height: calc(100vh - 70px); padding: 42px 24px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 30px; }
  .hero { min-height: 740px; height: 100svh; max-height: 860px; align-items: flex-end; padding-bottom: 155px; }
  .hero-media { background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,13,9,.97) 5%, rgba(5,13,9,.76) 52%, rgba(5,13,9,.12) 100%); }
  .hero-content { width: var(--shell); margin: 0 auto; padding: 0; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6.3rem); }
  .hero-copy { margin: 24px 0 28px; font-size: 16px; line-height: 1.5; }
  .hero-actions .button { width: 100%; }
  .hero-facts { right: 0; bottom: 0; width: 100%; }
  .hero-facts div { min-width: 0; padding: 17px 10px; text-align: center; }
  .hero-facts strong { font-size: 21px; }
  .hero-facts span { font-size: 11px; letter-spacing: .04em; }
  .intro-grid, .facilities-head, .room-layout, .price-card, .location-grid { grid-template-columns: 1fr; }
  .intro-grid, .facilities-head { gap: 36px; }
  .intro-copy { font-size: 16px; }
  .room-layout { margin-top: 56px; }
  .room-photo { min-height: 440px; }
  .room-photo img { object-position: 63% center; }
  .room-list-wrap { padding: 34px 26px; }
  .facility-grid { margin-top: 52px; grid-template-columns: 1fr; }
  .facility-card.wide { grid-column: auto; }
  .facility-card { min-height: 210px; }
  .facility-card .icon { margin-bottom: 32px; }
  .price-card { gap: 38px; padding: 36px 24px; }
  .price-number { padding: 28px 0; border: 0; border-block: 1px solid var(--line); }
  .included .button { width: 100%; text-align: center; }
  .location-grid { gap: 50px; }
  .map-wrap { min-height: 400px; }
  .contact-actions { flex-direction: column; }
  .phone-link, .contact-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-inner p:last-child { text-align: center; }
  .mobile-contact-bar { position: fixed; z-index: 120; inset: auto 0 0; height: 62px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 28px rgba(7,27,17,.1); }
  .mobile-contact-bar a { display: grid; place-items: center; font-size: 14px; font-weight: 700; }
  .mobile-contact-bar a:last-child { background: var(--green-bright); color: var(--forest); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
