/* ============================================================
   NEXO SURFHOUSE — CORE CSS  v1.0.0
   ============================================================ */

/* ── Layout helpers ─────────────────────────────────────────── */
.nexo-container { width: 100%; max-width: var(--nexo-container); margin: 0 auto; padding: 0 1.5rem; }
.nexo-section   { padding: 5rem 0; }
.nexo-section--sm { padding: 3rem 0; }
.nexo-section--lg { padding: 7rem 0; }
.nexo-grid      { display: grid; gap: 2rem; }
.nexo-grid--2   { grid-template-columns: repeat(2, 1fr); }
.nexo-grid--3   { grid-template-columns: repeat(3, 1fr); }
.nexo-grid--4   { grid-template-columns: repeat(4, 1fr); }
.nexo-flex      { display: flex; gap: 1rem; align-items: center; }
.nexo-text-center { text-align: center; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--nexo-font-sans); font-weight: 700; line-height: 1.2; color: var(--nexo-dark); margin-bottom: 1rem; }
h1 { font-size: clamp(2.25rem,5vw,3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem,4vw,2.5rem); }
h3 { font-size: clamp(1.25rem,3vw,1.75rem); }
p  { margin-bottom: 1rem; }
.nexo-lead { font-size: 1.2rem; font-weight: 400; color: var(--nexo-muted); max-width: 680px; }
.nexo-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nexo-accent); margin-bottom: 0.5rem; display: block; }

/* ── Buttons ─────────────────────────────────────────────────── */
.nexo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-family: var(--nexo-font-sans); font-size: 0.9375rem; font-weight: 700; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: var(--nexo-transition); }
.nexo-btn--round { border-radius: 9999px; }
.nexo-btn--primary   { background: var(--nexo-primary); color: #fff; border-color: var(--nexo-primary); }
.nexo-btn--primary:hover { background: var(--nexo-primary-dark); border-color: var(--nexo-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--nexo-shadow-lg); }
.nexo-btn--accent    { background: var(--nexo-accent); color: var(--nexo-dark); border-color: var(--nexo-accent); }
.nexo-btn--accent:hover  { background: var(--nexo-accent-dark); border-color: var(--nexo-accent-dark); color: var(--nexo-dark); transform: translateY(-2px); }
.nexo-btn--outline   { background: transparent; color: var(--nexo-primary); border-color: var(--nexo-primary); }
.nexo-btn--outline:hover { background: var(--nexo-primary); color: #fff; }
.nexo-btn--ghost     { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.nexo-btn--ghost:hover   { background: #fff; color: var(--nexo-dark); }
.nexo-btn--block     { width: 100%; }
.nexo-btn--sm        { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.nexo-btn--lg        { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }

/* ── Cards ───────────────────────────────────────────────────── */
.nexo-card { background: #fff; border-radius: var(--nexo-radius-lg); overflow: hidden; box-shadow: var(--nexo-shadow); transition: var(--nexo-transition); }
.nexo-card:hover { box-shadow: var(--nexo-shadow-lg); transform: translateY(-4px); }
.nexo-card__img  { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.nexo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nexo-card:hover .nexo-card__img img { transform: scale(1.05); }
.nexo-card__body { padding: 1.5rem; }
.nexo-card__badge { position: absolute; top: 1rem; left: 1rem; background: var(--nexo-accent); color: var(--nexo-dark); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; z-index: 1; }
.nexo-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.nexo-card__title a { color: var(--nexo-dark); } .nexo-card__title a:hover { color: var(--nexo-primary); }
.nexo-card__desc  { color: var(--nexo-muted); font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; }
.nexo-card__footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--nexo-border); padding-top: 1rem; margin-top: 1rem; }
.nexo-card__price { font-size: 1.5rem; font-weight: 800; color: var(--nexo-primary); }

/* ── Hero ────────────────────────────────────────────────────── */
.nexo-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nexo-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.nexo-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,38,54,0.45) 0%, rgba(26,38,54,0.65) 100%); }
.nexo-hero__content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 2rem; max-width: 900px; margin: 0 auto; }
.nexo-hero__title  { font-size: clamp(2.5rem,6vw,5rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.5rem; }
.nexo-hero__subtitle { font-size: clamp(1rem,2.5vw,1.375rem); font-weight: 400; opacity: 0.9; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.nexo-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Header ──────────────────────────────────────────────────── */
.nexo-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nexo-header-h); background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: var(--nexo-transition); }
.nexo-header--transparent { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); }
.nexo-header.is-scrolled  { background: #fff; box-shadow: 0 4px 30px rgba(30,115,190,0.12); }
.nexo-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nexo-header__logo img,.nexo-header__logo svg { height: 44px; width: auto; }
.nexo-header__logo-text { font-size: 1.5rem; font-weight: 800; color: var(--nexo-primary); }
.nexo-nav__list { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nexo-nav__list a { font-size: 0.9375rem; font-weight: 600; color: var(--nexo-dark); position: relative; padding-bottom: 2px; }
.nexo-nav__list a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--nexo-primary); transition:width 0.3s; }
.nexo-nav__list a:hover,.nexo-nav__list .current-menu-item > a { color:var(--nexo-primary); }
.nexo-nav__list a:hover::after,.nexo-nav__list .current-menu-item > a::after { width:100%; }
.nexo-hamburger { display:none; flex-direction:column; gap:5px; padding:0.5rem; background:none; border:none; cursor:pointer; }
.nexo-hamburger span { display:block; width:24px; height:2px; background:var(--nexo-dark); transition:var(--nexo-transition); border-radius:2px; }

/* ── Section headers ─────────────────────────────────────────── */
.nexo-section-header { margin-bottom: 3.5rem; }
.nexo-section-header.text-center { text-align: center; display:flex; flex-direction:column; align-items:center; }
.nexo-section-header p { color: var(--nexo-muted); max-width: 600px; }

/* ── Pagination ──────────────────────────────────────────────── */
.nexo-pagination { display:flex; justify-content:center; gap:0.5rem; margin-top:3rem; }
.nexo-pagination .page-numbers { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:2px solid var(--nexo-border); border-radius:50%; font-weight:700; color:var(--nexo-dark); transition:var(--nexo-transition); }
.nexo-pagination .page-numbers.current,.nexo-pagination .page-numbers:hover { background:var(--nexo-primary); border-color:var(--nexo-primary); color:#fff; }

/* ── Footer ──────────────────────────────────────────────────── */
.nexo-footer { background: var(--nexo-dark); color: #fff; padding: 4rem 0 0; }
.nexo-footer__grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:3rem; padding-bottom:3rem; }
.nexo-footer__heading { font-size:1.125rem; font-weight:700; color:var(--nexo-accent); margin-bottom:1.25rem; }
.nexo-footer__tagline { color:rgba(255,255,255,0.7); line-height:1.7; margin:1rem 0 1.5rem; font-size:0.9375rem; }
.nexo-footer__social { display:flex; gap:0.75rem; margin-bottom:1.5rem; }
.nexo-footer__social-link { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.1); color:#fff; display:flex; align-items:center; justify-content:center; transition:var(--nexo-transition); }
.nexo-footer__social-link:hover { background:var(--nexo-accent); color:var(--nexo-dark); }
.nexo-footer__reviews { color:var(--nexo-accent); font-size:0.9375rem; font-weight:700; }
.nexo-footer__menu { list-style:none; padding:0; margin:0; }
.nexo-footer__menu li { margin-bottom:0.75rem; }
.nexo-footer__menu a { color:rgba(255,255,255,0.7); font-size:0.9375rem; transition:var(--nexo-transition); }
.nexo-footer__menu a:hover { color:#fff; padding-left:6px; }
.nexo-footer__contact { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.875rem; }
.nexo-footer__contact li { display:flex; align-items:flex-start; gap:0.75rem; color:rgba(255,255,255,0.7); font-size:0.9375rem; }
.nexo-footer__contact a { color:rgba(255,255,255,0.7); transition:var(--nexo-transition); }
.nexo-footer__contact a:hover { color:#fff; }
.nexo-footer__reg { margin-top:1rem; font-size:0.8125rem; color:rgba(255,255,255,0.45); }
.nexo-footer__bottom { border-top:1px solid rgba(255,255,255,0.1); padding:1.5rem 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.nexo-footer__bottom p { color:rgba(255,255,255,0.45); font-size:0.875rem; margin:0; }
.nexo-footer__legal { list-style:none; padding:0; margin:0; display:flex; gap:1.5rem; }
.nexo-footer__legal a { color:rgba(255,255,255,0.45); font-size:0.875rem; }
.nexo-footer__legal a:hover { color:#fff; }

/* ── Star rating ─────────────────────────────────────────────── */
.nexo-stars { color:var(--nexo-accent); }

/* ── Misc ────────────────────────────────────────────────────── */
.nexo-404 { min-height:60vh; display:flex; align-items:center; justify-content:center; text-align:center; }
.nexo-404__code { font-size:8rem; font-weight:800; color:var(--nexo-primary); line-height:1; opacity:0.2; }
.nexo-404__title { font-size:2rem; margin-bottom:1rem; }
.nexo-404__desc  { color:var(--nexo-muted); margin-bottom:2rem; }
.nexo-main { padding-top: var(--nexo-header-h); min-height: 60vh; }

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:1024px){
  .nexo-grid--4{grid-template-columns:repeat(2,1fr);}
  .nexo-footer__grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:767px){
  .nexo-header__nav,.nexo-header__actions .nexo-btn:not(.nexo-hamburger){display:none;}
  .nexo-hamburger{display:flex;}
  .nexo-grid--2,.nexo-grid--3,.nexo-grid--4{grid-template-columns:1fr;}
  .nexo-footer__grid{grid-template-columns:1fr;}
  .nexo-hero__title{font-size:2.5rem;}
  .nexo-footer__bottom{flex-direction:column;text-align:center;}
}
/* Mobile menu open state */
.mobile-menu-open .nexo-mobile-menu{display:flex;}
.nexo-mobile-menu{display:none;position:fixed;inset:0;background:#fff;z-index:999;flex-direction:column;padding:calc(var(--nexo-header-h) + 1rem) 1.5rem 2rem;overflow-y:auto;}
.nexo-mobile-menu__list{list-style:none;padding:0;margin:0 0 2rem;display:flex;flex-direction:column;gap:0;}
.nexo-mobile-menu__list a{display:block;padding:1rem 0;font-size:1.25rem;font-weight:600;color:var(--nexo-dark);border-bottom:1px solid var(--nexo-border);}
.nexo-mobile-menu__list a:hover,.nexo-mobile-menu__list .current-menu-item>a{color:var(--nexo-primary);}
