@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Black.woff2") format("woff2");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #242933;
  --cream: #f6f1eb;
  --orange: #fc773f;
  --pink: #fb1c7e;
  --blue: #4a98e0;
  --purple: #a91cd1;
  --ink: #171a20;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Montserrat", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1160px, calc(100% - 72px)); margin: 0 auto; }

.hero {
  min-height: 655px;
  color: white;
  position: relative;
  background-image: linear-gradient(90deg, rgba(3,4,6,.88) 0%, rgba(3,4,6,.52) 40%, rgba(3,4,6,.08) 75%), url('assets/hero-isabela.jpg');
  background-size: cover;
  background-position: center;
}

.site-header { height: 105px; width: min(1220px, calc(100% - 56px)); margin: 0 auto; display: flex; align-items: center; gap: 52px; position: relative; z-index: 2; }
.brand { width: 142px; flex: 0 0 auto; }
.brand img { width: 126px; height: 98px; object-fit: cover; object-position: left top; display: block; mix-blend-mode: screen; }
.svg-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.arrow-icon { width: 17px; height: 17px; }
.feature-icon { width: 34px; height: 34px; margin-bottom: 12px; }
.footer-icon { width: 36px; height: 36px; flex: 0 0 auto; }
nav { margin-left: auto; display: flex; align-items: center; gap: 35px; }
nav a { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; position: relative; padding: 12px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; height: 2px; bottom: 3px; background: var(--pink); transition: right .2s ease; }
nav a:hover::after, nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language { display: flex; align-items: center; gap: 4px; color: white; border: 0; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.book-small, .book-large { background: var(--orange); color: white; font-size: 12px; font-weight: 700; padding: 16px 25px; border-radius: 2px; transition: transform .2s ease, background .2s ease; }
.book-small:hover, .book-large:hover { background: #e95c26; transform: translateY(-2px); }
.menu { display: none; border: 0; background: transparent; color: white; }

.hero-content { position: relative; z-index: 1; padding-top: 92px; }
.eyebrow { margin: 0 0 13px; color: var(--orange); font-size: 20px; line-height: 1; font-weight: 800; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(66px, 7.2vw, 94px); line-height: .88; letter-spacing: -.045em; font-weight: 900; }
.hero-copy { margin: 24px 0 27px; font-size: 18px; line-height: 1.48; font-weight: 600; letter-spacing: -.01em; }
.cta { width: fit-content; min-height: 48px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; background: var(--orange); color: white; border-radius: 3px; font-size: 12px; font-weight: 700; transition: transform .2s ease; }
.cta:hover { transform: translateY(-2px); }
.hero-flourish { margin-top: 32px; display: flex; align-items: center; gap: 8px; color: var(--pink); }
.hero-flourish span { width: 34px; height: 2px; background: var(--pink); }

.choose { background-color: #faf7f3; background-image: radial-gradient(rgba(36,41,51,.04) .7px, transparent .7px); background-size: 13px 13px; padding: 45px 0 57px; }
.section-heading { display: grid; grid-template-columns: 90px auto 90px; align-items: center; justify-content: center; column-gap: 25px; text-align: center; }
.section-heading h2, .community h2 { margin: 0; font-size: 38px; line-height: 1; letter-spacing: -.035em; font-weight: 900; }
.section-heading p { grid-column: 1 / -1; margin: 12px 0 0; font-size: 15px; }
.rule { display: block; height: 2px; position: relative; }
.rule::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.rule:first-child::after { right: 0; }.rule:last-of-type::after { left: 0; }
.rule.pink { background: var(--pink); color: var(--pink); }.rule.orange { background: var(--orange); color: var(--orange); }

.hostel-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hostel-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 7px; background-size: cover; background-position: center; box-shadow: 0 10px 23px rgba(27,24,20,.14); }
.shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,8,10,.94) 0%, rgba(7,8,10,.30) 72%, rgba(7,8,10,.08) 100%); }
.new-badge { position: absolute; top: 19px; left: 19px; background: var(--pink); color: white; border-radius: 3px; padding: 8px 13px; font-size: 11px; font-weight: 700; }
.card-copy { position: absolute; left: 27px; right: 27px; bottom: 24px; color: white; }
.card-copy h3 { margin: 0 0 8px; font-size: 29px; line-height: 1.08; letter-spacing: -.03em; font-weight: 900; }
.card-copy p { margin: 12px 0; font-size: 13px; line-height: 1.65; }
.card-copy .location { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.card-copy .location svg { color: var(--orange); fill: var(--orange); }
.cta-light { min-height: 43px; margin-top: 5px; color: var(--orange); background: white; padding: 0 19px; }
.hostel-card:nth-child(2) .cta-light svg { color: var(--pink); }

.benefits { margin-top: 49px; display: grid; grid-template-columns: repeat(6, 1fr); }
.benefit { min-height: 108px; padding: 0 11px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid #d8d3ce; }
.benefit:last-child { border-right: 0; }
.benefit svg { margin-bottom: 12px; }.benefit svg.orange { color: var(--orange); }.benefit svg.blue { color: var(--blue); }.benefit svg.pink { color: var(--pink); }
.benefit strong { font-size: 11px; font-weight: 800; }.benefit span { margin-top: 6px; font-size: 11px; }

.community { min-height: 360px; display: grid; grid-template-columns: 42% 58%; background: #f2ece5; }
.community-copy { display: flex; justify-content: flex-end; align-items: center; padding: 40px 65px 40px 36px; background-image: radial-gradient(circle at 84% 50%, transparent 0 84px, rgba(251,28,126,.06) 85px 87px, transparent 88px), radial-gradient(rgba(36,41,51,.035) .9px, transparent .9px); background-size: auto, 15px 15px; }
.community-copy > div { width: min(410px, 100%); }
.community h2 { font-size: 34px; line-height: 1.1; }
.short-rule { display: block; margin: 19px 0 16px; width: 26px; height: 3px; background: var(--pink); }
.community p { font-size: 13px; line-height: 1.75; margin: 0 0 20px; }
.community-image { background-image: linear-gradient(90deg, #f2ece5 0%, transparent 14%), linear-gradient(rgba(5,7,8,.12), rgba(5,7,8,.12)), url('assets/community.jpg'); background-size: cover; background-position: center; }

.editorial-grid { min-height: 340px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--charcoal); }
.editorial-grid article { position: relative; background-size: cover; background-position: center; border-right: 2px solid white; }
.editorial-grid article:last-child { border-right: 0; }
.editorial-grid article::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,9,.88), rgba(5,7,9,.05) 77%); }
.editorial-grid article > div { position: absolute; left: 38px; bottom: 31px; color: white; }
.editorial-grid h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.2; font-weight: 800; }
.editorial-grid p { margin: 0 0 24px; font-size: 13px; line-height: 1.55; }
.editorial-grid a { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 700; }
.editorial-grid a svg { color: var(--pink); }

footer { background: #181c23; color: white; }
.footer-inner { min-height: 157px; display: flex; align-items: center; gap: 40px; }
.footer-benefits { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-benefit { display: flex; align-items: center; gap: 17px; }
.footer-benefit strong, .footer-benefit span { display: block; }.footer-benefit strong { margin-bottom: 7px; font-size: 12px; }.footer-benefit span { max-width: 150px; font-size: 11px; line-height: 1.45; }
.book-large { flex: 0 0 auto; padding: 18px 29px; }
.footer-pattern { height: 42px; opacity: .55; background-color: #181c23; background-image: radial-gradient(circle at 0 100%, transparent 0 12px, var(--pink) 12.5px 15px, transparent 15.5px), radial-gradient(circle at 30px 100%, transparent 0 12px, #4c515c 12.5px 15px, transparent 15.5px); background-size: 60px 42px; }

@media (max-width: 980px) {
  nav { display: none; }.menu { display: block; }.site-header { gap: 20px; }.header-actions { margin-left: auto; }
  .benefits { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }.benefit:nth-child(3) { border-right: 0; }
  .community { grid-template-columns: 1fr 1fr; }.footer-benefits { grid-template-columns: 1fr; gap: 15px; }.footer-inner { padding: 30px 0; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 34px, 1160px); }.site-header { width: calc(100% - 30px); height: 85px; }.brand { width: 100px; }.brand img { width: 96px; height: 75px; }.language, .book-small { display: none; }
  .hero { min-height: 620px; background-position: 60% center; }.hero-content { padding-top: 108px; } h1 { font-size: 59px; }.hero-copy { font-size: 14px; }
  .section-heading { grid-template-columns: 43px auto 43px; gap: 12px; }.section-heading h2 { font-size: 28px; }
  .hostel-grid { grid-template-columns: 1fr; }.hostel-card { min-height: 420px; }.card-copy h3 { font-size: 25px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }.benefit:nth-child(3) { border-right: 1px solid #d8d3ce; }.benefit:nth-child(even) { border-right: 0; }
  .community { grid-template-columns: 1fr; }.community-copy { justify-content: flex-start; padding: 52px 28px; }.community-image { min-height: 300px; background-image: linear-gradient(rgba(5,7,8,.08), rgba(5,7,8,.08)), url('assets/community.jpg'); }
  .editorial-grid { grid-template-columns: 1fr; }.editorial-grid article { min-height: 320px; border-right: 0; border-bottom: 2px solid white; }
  .footer-inner { display: block; }.book-large { display: inline-block; margin-top: 28px; }.footer-benefits { display: grid; }
}
