:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f6f7f9;
  --text:#111827;
  --muted:#4b5563;
  --border:rgba(17,24,39,.16);
  --brand:#b90c0c;
  --brand-2:#b90c0c;
  --shadow:0 12px 30px rgba(17,24,39,.10);
  --radius:16px;
  --max:1120px;
  --nav-h:56px;
}

*{box-sizing:border-box}
html,body{height:100%; overflow-x:hidden}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background-image:none;
  background-repeat:repeat;
  background-size:auto;
  background-position:0 0;
/*  background-color:#ededed; */
  background-color:#ffffff;  
  color:var(--text);
  line-height:1.5;
}
/*
body::before{
  content:"";
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;

  background-repeat:repeat;
  background-size:auto;
  background-position:0 0;
 
  opacity:0;
  pointer-events:none;
  z-index:-1;
}
*/
a{color:inherit}

.container{max-width:936px; margin:0 auto; padding:0 20px}

.site-banner{
  max-width:936px;
  margin:0 auto;
  background:#ffffff;
}
.site-banner img{
  width:100%;
  max-width:936px;
  height:auto;
  display:block;
}


.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffff;
  backdrop-filter:none;
  border-bottom:1px solid var(--border);
  max-width:936px;
  margin:0 auto;
}

.site-header .container{
  max-width:none;
  padding:0;
}

.navbar{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.navbar > .nav{
  flex:1;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  text-decoration:none;
}

.brand-title{
  font-weight:700;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#ffffff;
  color:var(--text);
}

.nav{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:var(--nav-h);
  background-color:#ffffff;
  background-image:linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url("../img/background-navmenu.png");
  background-repeat:repeat;
  background-size:220px auto;
  border-bottom:1px solid var(--border);
}

.nav.open{display:block}

.nav ul{
  list-style:none;
  padding:10px 14px;
  margin:0;
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}

.nav a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  text-decoration:none;
  border-radius:0;
  border:1px solid rgba(255,255,255,.35);
  background-color:var(--brand);
  background-image:linear-gradient(rgba(185,12,12,.82), rgba(185,12,12,.82)), url("../img/background-navmenu.png");
  background-repeat:repeat;
  background-size:220px auto;
  color:#ffffff;
  font-weight:700;
  font-size:14px;
}

.nav a:hover{
  filter:brightness(1.04);
}

.nav a[aria-current="page"]{
  filter:brightness(.92);
  outline:2px solid rgba(185,12,12,.25);
  outline-offset:-2px;
}

main{
  padding:0;
  position:relative;
}

main .container{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:0;
  box-shadow:0 12px 30px rgba(17,24,39,.10);
  padding:18px 20px 22px;
  position:relative;
  z-index:1;
  max-width:936px;
}

.hero{
  position:relative;
  background:linear-gradient(180deg, #ffffff, #fbfbfc);
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 6px);
  box-shadow:var(--shadow);
  overflow:hidden;
}

body[data-page="home"] .hero{
  background-image:url("../img/background-homepage.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}



body[data-page="home"] .hero::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(255, 255, 255, 0.7);
  z-index:1;
}

body[data-page="home"] .hero-inner{
  position:relative;
  z-index:2;
}

body[data-page="home"] .kicker,
body[data-page="home"] .subtitle{
  color:#000000;
}

.hero-inner{
  padding:24px;
  position:relative;
  z-index:2;
}

.kicker{color:var(--muted); font-weight:600; letter-spacing:.2px}

.h1{font-size:clamp(26px, 3vw, 40px); margin:8px 0 6px; line-height:1.15}

.subtitle{color:var(--muted); margin:0}

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:16px;
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card-header{padding:16px 16px 10px}
.card-title{margin:0; font-size:18px}
.card-body{padding:0 16px 16px; color:var(--muted)}

.section{margin-top:18px}
.section h2{margin:0 0 10px; font-size:18px}
.section p{margin:0; color:var(--muted)}

.table-wrap{
  margin-top:10px;
  overflow:auto;
  border:1px solid var(--border);
  border-radius:14px;
  background:#ffffff;
}


table{width:100%; border-collapse:collapse}
th,td{padding:12px 12px; border-bottom:1px solid rgba(17,24,39,.10); text-align:left; vertical-align:top; word-wrap:break-word; overflow-wrap:break-word}
th{color:var(--text); font-weight:700; background:#f3f4f6}
td{color:var(--muted)}

.terms_table,
.terms_table table{
  border:none;
  border-collapse:collapse;
}

.terms_table th,
.terms_table td{
  border:none;
  border-bottom:none;
  padding:2px 4px;
  height:auto;
  line-height:1.45;
}


.form{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:10px;
}

.field label{display:block; font-weight:650; margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(17,24,39,.18);
  background:#ffffff;
  color:var(--text);
}

.field textarea{min-height:120px; resize:vertical}

.actions{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:12px;
  border:1px solid rgba(17,24,39,.14);
  background:#ffffff;
  color:var(--text);
  text-decoration:none;
}

.btn.primary{
  border-color:rgba(185,12,12,.38);
  background:linear-gradient(180deg, rgba(185,12,12,.10), rgba(185,12,12,.06));
}

.btn:hover{filter:brightness(1.06)}

.site-footer{
  background-color:var(--brand);
  background-image:linear-gradient(rgba(185,12,12,.82), rgba(185,12,12,.82)), url("../img/background-navmenu.png");
  background-repeat:repeat;
  background-size:220px auto;
  padding:0;
  color:#ffffff;
  max-width:936px;
  margin:0 auto;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-row{display:flex; flex-direction:column; gap:8px; text-align:center; width:100%}

.small{font-size:13px}

/* ── Mobile-first responsive ── */

/* Fluid images everywhere */
img{
  max-width:100%;
  height:auto;
}


@media (max-width: 899px){
  /* Container padding */
  .container{padding:0 12px}
  main .container{padding:12px; max-width:100vw}

  .terms_table th,
  .terms_table td{
    height:auto;
    line-height:1.45;
  }

  /* Remove fixed min-width on tables so they can shrink or scroll */
  table{min-width:0}

  /* Hero section */
  .hero-inner{padding:16px}
  .h1{font-size:22px}

  /* Cards */
  .card-header{padding:12px 12px 8px}
  .card-body{padding:0 12px 12px}

  /* Force all tables to fit within viewport */
  table{
    width:100% !important;
    max-width:100% !important;
    table-layout:fixed !important;
  }
  /* Terms layout tables use auto layout */
  .terms_table,
  .terms_table table{
    table-layout:auto !important;
  }
  .cashinlieu_table,
  .cancellation_table{
    table-layout:fixed !important;
  }
  td, th{
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  /* Table cells: tighter padding on mobile */
  th,td{padding:8px 6px; font-size:14px}

  /* Stack hotel cards vertically on mobile */
  div[style*="display:flex"][style*="gap:16px"]{
    flex-direction:column !important;
  }
  div[style*="flex-shrink:0"][style*="width:240px"]{
    width:100% !important;
    flex-shrink:1 !important;
  }
  div[style*="flex-shrink:0"][style*="width:240px"] img{
    width:100% !important;
    max-width:100% !important;
  }

  /* Footer */
  .site-footer{
    max-width:100%;
  }

  /* Site header full width on mobile */
  .site-header{
    max-width:100%;
  }

  /* Site banner full width */
  .site-banner{
    max-width:100%;
  }

  /* Nav menu: full width dropdown */
  .nav{
    z-index:100;
  }

  .nav ul{
    grid-template-columns:1fr 1fr;
    gap:4px;
  }

  .nav a{
    font-size:12px;
    padding:8px 6px;
  }
}

@media (max-width: 480px){
  .nav ul{
    grid-template-columns:1fr;
  }

  .card-title{font-size:16px}

  th,td{padding:6px 4px; font-size:13px}
}

@media (min-width: 900px){
  .nav-toggle{display:none}
  .site-header{position:sticky}
  .nav{display:block; position:static; background-color:#ffffff; background-image:linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url("../img/background-navmenu.png"); background-repeat:repeat; background-size:220px auto; border:0}
  .navbar{justify-content:flex-start}
  .nav ul{
    padding:0;
    display:flex;
    flex-wrap:nowrap;
    gap:2px;
    align-items:stretch;
    width:100%;
  }

  .nav li{
    flex:1;
    min-width:0;
  }

  .nav a{
    padding:10px 8px;
    justify-content:center;
    text-align:center;
    height:64px;
    line-height:1.15;
    white-space:normal;
    word-break:break-word;
  }
  .grid{grid-template-columns:1.35fr .65fr}
  .footer-row{flex-direction:row; justify-content:space-between; align-items:center}
}
