/* Archivo — a grotesque with a light/black contrast that matches the @thebeach logo */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');
@import url('/media/system/css/joomla-fontawesome.css');

/* =========================================================================
   @thebeach — Modern coastal design system  (Cassiopeia user override)
   Strandpaviljoen aan het Zuiderstrand, Den Haag
   ========================================================================= */

:root {
  /* Brand palette — dark grey (as on the current site) + warm sand + coral accent */
  --atb-sea:        #434446;   /* primary dark grey */
  --atb-sea-deep:   #333537;   /* header / deeper grey */
  --atb-sea-dark:   #26282a;   /* footer */
  --atb-sand:       #efe3cf;   /* warm sand */
  --atb-sand-soft:  #f6efe2;
  --atb-shell:      #fbf8f2;   /* page background */
  --atb-coral:      #e2623b;   /* accent / call to action */
  --atb-coral-dark: #d3552f;
  --atb-ink:        #2b2d2f;   /* headings / text */
  --atb-muted:      #66696c;   /* secondary text */
  --atb-line:       #e7ddca;   /* hairlines on sand */

  --atb-radius:     18px;
  --atb-radius-sm:  12px;
  --atb-shadow:     0 18px 45px -22px rgba(20, 22, 24, .38);
  --atb-shadow-sm:  0 8px 24px -14px rgba(20, 22, 24, .32);
  --atb-maxw:       1200px;

  --atb-font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --atb-font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Remap Cassiopeia / Bootstrap tokens */
  --cassiopeia-font-family-body: var(--atb-font-body);
  --body-font-family: var(--atb-font-body);
  --body-color: var(--atb-ink);
  --body-bg: var(--atb-shell);
  --primary: var(--atb-sea);
  --primary-rgb: 18, 112, 124;
  --link-color: var(--atb-sea);
  --link-color-rgb: 18, 112, 124;
  --link-hover-color: var(--atb-coral);
  --link-hover-color-rgb: 226, 98, 59;
  --cassiopeia-color-primary: var(--atb-sea);
  --cassiopeia-color-link: var(--atb-sea);
  --cassiopeia-color-hover: var(--atb-coral);
}

/* ---------- Base ---------- */
body.site {
  background: var(--atb-shell);
  color: var(--atb-ink);
  font-family: var(--atb-font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* real sand as the page ground, washed back so all copy stays readable */
body.site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,253,248,.86), rgba(255,253,248,.86)),
    url(/media/templates/site/cassiopeia_atthebeach/images/sand-bg.jpg);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}
body.site::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url(/media/templates/site/cassiopeia_atthebeach/images/sand-texture.jpg) repeat;
  background-size: 150px 150px;
  opacity: .09;
  mix-blend-mode: multiply;
  pointer-events: none;
}

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--atb-font-display);
  color: var(--atb-ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

a { text-decoration: none; }
a:hover { text-decoration: none; }
/* Cassiopeia underlines body links — never inside a button */
.atb-btn, .atb-btn:hover, .atb-btn:focus,
.atb-btn span, .atb-btn i { text-decoration: none !important; }

/* ---- Strip Cassiopeia's default gutters so sections sit flush ---- */
.container-main, .site-grid { background: transparent; }
.site-grid {
  display: block;          /* drop the grid gaps entirely */
  margin: 0;
  padding: 0;
  max-width: none;
  gap: 0;
}
.site-grid > .grid-child,
.container-component {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}
.container-component > main { margin: 0; padding: 0; }
.com-content-article, .item-page { margin: 0; padding: 0; }
.item-page > .page-header { display: none; }
#system-message-container:empty { display: none; margin: 0; }
body.site { overflow-x: hidden; }

/* Kill default article chrome for a clean landing feel */
.com-content-article__title,
.page-header + .com-content-category-blog__items .page-header { }
.item-page > .page-header h1 { }

/* ==========================================================================
   HEADER  /  NAV
   ========================================================================== */
.header.container-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(38, 40, 42, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 10px 30px -24px rgba(0,0,0,.9);
  /* logo + menu side by side on one row */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: none;
  padding: .55rem clamp(1.1rem, 4vw, 2.5rem);
  transition: background .25s ease, padding .25s ease,
              transform .32s cubic-bezier(.22,.61,.36,1);
}
/* solid once scrolled (set by user.js) */
.header.container-header.atb-scrolled { background: rgba(38, 40, 42, .97); padding-block: .35rem; }
/* Cassiopeia sets `position: relative !important` below 992px — keep it sticky
   across that whole range, not just at phone widths */
@media (max-width: 991.98px) {
  .header.container-header { position: sticky !important; top: 0; z-index: 1000; }
}
/* slides away going down, comes straight back on scroll up */
.header.container-header.atb-hidden { transform: translateY(-100%); }
body.atb-nav-open .header.container-header.atb-hidden { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .header.container-header { transition: background .25s ease; }
  .header.container-header.atb-hidden { transform: none; }
}

.header > .grid-child {
  margin: 0;
  padding: 0;
  max-width: none;
  width: auto;
  flex: 0 0 auto;
  align-items: center;
}
.header > .container-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }

.navbar-brand { margin: 0; }
.navbar-brand .brand-logo { display: inline-flex; align-items: center; }
/* shown at its native 219x50 so it stays perfectly crisp */
.navbar-brand .brand-logo img { height: 50px; width: auto; display: block; image-rendering: auto; }
.navbar-brand .site-title,
.navbar-brand .site-description { display: none; }

/* Main menu */
.header ul.mod-menu {
  display: flex;
  gap: .25rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}
.header ul.mod-menu > li > a,
.header ul.mod-menu > li > span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .1px;
  transition: background .18s ease, color .18s ease;
}
.header ul.mod-menu > li > a i { font-size: .88em; opacity: .8; }
.header ul.mod-menu > li > a:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.header ul.mod-menu > li.current > a,
.header ul.mod-menu > li.active > a {
  background: var(--atb-sea);
  color: #fff;
}
/* Cassiopeia draws an underline bar under active/hover items — the pill replaces it */
.container-header .mod-menu > li.active::after,
.container-header .mod-menu > li:hover::after,
.header ul.mod-menu > li::after {
  display: none !important;
  content: none !important;
}
/* highlight the last menu item (Reserveren/Contact) as a coral pill */
.header ul.mod-menu > li:last-child > a {
  background: var(--atb-coral);
  color: #fff;
}
.header ul.mod-menu > li:last-child > a:hover { background: var(--atb-coral-dark); color:#fff; }

/* ==========================================================================
   MOBILE NAV  (hamburger → full-screen sheet)
   ========================================================================== */
.atb-burger {
  display: none;                     /* shown under 900px */
  width: 2.2rem; height: 2.2rem;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
  background: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.atb-burger span {
  display: block;
  width: 24px; height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .18s ease, width .3s ease;
}
.atb-burger span:nth-child(3) { width: 16px; align-self: flex-end; }
.atb-burger:hover span:nth-child(3) { width: 24px; }
body.atb-nav-open .atb-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.atb-nav-open .atb-burger span:nth-child(2) { opacity: 0; }
body.atb-nav-open .atb-burger span:nth-child(3) { width: 24px; transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .atb-burger { display: flex; }

  /* Cassiopeia forces `position: relative !important` below 992px,
     which kills the sticky header on phones — override it. */
  .header.container-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    padding: .5rem 1.1rem;
  }
  .navbar-brand .brand-logo img { height: 40px; }

  /* the menu becomes a sheet sliding down from under the header */
  .header > .container-nav {
    position: fixed;
    left: 0; right: 0; top: 0;
    height: 100dvh;
    background: #212325;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .3s ease, visibility .38s;
    overflow-y: auto;
    z-index: 999;
  }
  body.atb-nav-open .header > .container-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header ul.mod-menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .5rem;
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
  }
  .header ul.mod-menu > li { width: 100%; }
  .header ul.mod-menu > li > a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--atb-font-display);
    letter-spacing: -.01em;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
  }
  .header ul.mod-menu > li > a i { font-size: 1em; opacity: .65; width: 1.4rem; }
  .header ul.mod-menu > li.current > a,
  .header ul.mod-menu > li.active > a { background: var(--atb-sea); }
  .header ul.mod-menu > li:last-child > a { background: var(--atb-coral); }
  body.atb-nav-open { overflow: hidden; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn, .atb-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--atb-font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  border: 0;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  line-height: 1;
}
/* button label always wins over Cassiopeia's link colour */
a.atb-btn, .atb-prose a.atb-btn, .atb-btn { color: #fff; }
a.atb-btn i, .atb-btn i { color: inherit; }

.atb-btn-primary,
a.atb-btn-primary,
.atb-prose a.atb-btn-primary { background: var(--atb-coral); color: #fff; box-shadow: none; }
.atb-btn-primary:hover,
a.atb-btn-primary:hover,
.atb-prose a.atb-btn-primary:hover { background: var(--atb-coral-dark); color: #fff; }

.atb-btn-sea,
a.atb-btn-sea,
.atb-prose a.atb-btn-sea { background: var(--atb-sea); color: #fff; box-shadow: none; }
.atb-btn-sea:hover,
a.atb-btn-sea:hover,
.atb-prose a.atb-btn-sea:hover { background: var(--atb-ink); color: #fff; }

.atb-btn-ghost,
a.atb-btn-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.atb-btn-ghost:hover,
a.atb-btn-ghost:hover { background: #fff; color: var(--atb-ink); border-color: #fff; }

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
/* the component container is already full width, so no 100vw maths needed
   (100vw includes the scrollbar and caused a few px of horizontal overflow) */
.atb-fullbleed { width: 100%; position: relative; margin-inline: 0; }
.atb-wrap { max-width: var(--atb-maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.atb-section { padding-block: clamp(2.2rem, 4.5vw, 3.8rem); }
/* no dead space where the content meets the footer */
.item-page > *:last-child,
.atb-section:last-child { padding-bottom: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 0; }
.item-page > *:first-child { margin-top: 0; }
.atb-eyebrow {
  font-family: var(--atb-font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--atb-ink);        /* on light/sand panels */
  margin: 0 0 .8rem;
}
.atb-eyebrow i { color: var(--atb-ink); }
/* white wherever it sits on a dark surface */
.atb-hero .atb-eyebrow,
.atb-cta .atb-eyebrow,
.atb-strip .atb-eyebrow { color: #fff; }
.atb-hero .atb-eyebrow i,
.atb-cta .atb-eyebrow i,
.atb-strip .atb-eyebrow i { color: #fff; }
.atb-section h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 1rem; }
.atb-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--atb-muted); max-width: 60ch; }

/* ==========================================================================
   HERO
   ========================================================================== */
.atb-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center 60%;
  background-color: var(--atb-sea-dark);
  isolation: isolate;
}
.atb-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;   /* above the slides, below the copy */
  /* light, airy wash — just enough scrim behind the copy to stay readable */
  background:
    linear-gradient(180deg, rgba(28,32,36,.20) 0%, rgba(28,32,36,.06) 38%, rgba(28,32,36,.60) 100%),
    linear-gradient(96deg, rgba(28,32,36,.52) 0%, rgba(28,32,36,.14) 52%, rgba(28,32,36,0) 78%);
}
/* keep the photo itself bright and fresh */
.atb-hero__slide { filter: saturate(1.06) brightness(1.06); }
.atb-hero__inner { position: relative; z-index: 2; max-width: var(--atb-maxw); margin-inline: auto; width: 100%; padding: 0 clamp(1.1rem,4vw,2.5rem) clamp(2.5rem,6vw,5rem); }

/* --- Moving background: video, or Ken-Burns slideshow fallback --- */
.atb-hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* base frame beneath the fades, so the hero is never blank between slides */
.atb-hero__slides {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: url(/media/templates/site/cassiopeia_atthebeach/images/hero-sand.jpg) center/cover no-repeat;
}
.atb-hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: atbKenBurns 27s infinite;
  will-change: opacity, transform;
}
.atb-hero__slide:nth-child(1) { animation-delay: 0s; }
.atb-hero__slide:nth-child(2) { animation-delay: 9s; }
.atb-hero__slide:nth-child(3) { animation-delay: 18s; }
@keyframes atbKenBurns {
  0%   { opacity: 0; transform: scale(1.04); }
  3%   { opacity: 1; }
  33%  { opacity: 1; }
  36%  { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .atb-hero__slide { animation: none; }
  .atb-hero__slide:nth-child(1) { opacity: 1; }
}
/* scroll cue */
.atb-hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.8); font-size: 1.4rem;
  animation: atbBob 2.2s ease-in-out infinite;
}
@keyframes atbBob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }
.atb-hero__badge {
  display: inline-flex; align-items:center; gap:.5rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.3rem;
}
/* mirrors the logo: light weight next to a heavy weight */
.atb-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  font-weight: 300;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  max-width: 17ch;
}
.atb-hero h1 em { font-style: normal; font-weight: 900; color: #fff; }
.atb-hero__sub { font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 46ch; color: rgba(255,255,255,.92); margin: 0 0 2rem; }
.atb-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ==========================================================================
   INFO STRIP  (opening hours / location quick facts)
   ========================================================================== */
.atb-strip {
  background: var(--atb-sea-deep);
  color: #fff;
}
.atb-strip__grid {
  max-width: var(--atb-maxw); margin-inline:auto;
  padding: clamp(1.4rem,3vw,2.2rem) clamp(1.1rem,4vw,2.5rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.atb-strip__item { display:flex; flex-direction:column; gap:.25rem; }
.atb-strip__item .k { font-size:.78rem; text-transform:uppercase; letter-spacing:.16em; color: var(--atb-sand); font-weight:700; }
.atb-strip__item .v { font-size: 1.08rem; font-weight:500; }
.atb-strip__item .v small { display:block; color: rgba(255,255,255,.7); font-weight:400; font-size:.9rem; }
/* Joomla's email cloaking turns addresses into links — keep them legible on dark */
.atb-strip a, .atb-strip a:hover,
.atb-hero a:not(.atb-btn), .atb-cta a:not(.atb-btn) { color: #fff; }
.atb-strip a:hover { color: var(--atb-sand); }

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.atb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.atb-card {
  background: #fff;
  border: 1px solid var(--atb-line);
  border-radius: var(--atb-radius);
  overflow: hidden;
  box-shadow: var(--atb-shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease;
}
.atb-card:hover { transform: translateY(-6px); box-shadow: var(--atb-shadow); }
.atb-card__img { aspect-ratio: 4/3; overflow: hidden; }
.atb-card__img img { width:100%; height:100%; object-fit: cover; transition: transform .5s ease; }
.atb-card:hover .atb-card__img img { transform: scale(1.06); }
.atb-card__body { padding: 1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.atb-card__body h3 { font-size: 1.45rem; margin:0; }
.atb-card__body p { color: var(--atb-muted); margin:0; flex:1; }
.atb-card__link { color: var(--atb-sea); font-weight:600; margin-top:.5rem; display:inline-flex; gap:.35rem; align-items:center; }
.atb-card__link::after { content:"→"; transition: transform .2s ease; }
.atb-card:hover .atb-card__link::after { transform: translateX(4px); }

/* ==========================================================================
   SPLIT / ABOUT
   ========================================================================== */
.atb-split { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.atb-split__media img { width:100%; border-radius: var(--atb-radius); box-shadow: var(--atb-shadow); display:block; }
.atb-split--sand { background: var(--atb-sand-soft); border-radius: var(--atb-radius); }

/* ---- Real sand surfaces ------------------------------------------------ */
.atb-sand-bg, .atb-split--sand {
  position: relative;
  isolation: isolate;
  background-color: var(--atb-sand-soft);
}
/* the actual beach photo, washed back so copy stays readable */
.atb-sand-bg::before, .atb-split--sand::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* a touch more sand than the page ground so the band still reads as a section */
  background-image:
    linear-gradient(rgba(255,250,240,.62), rgba(255,250,240,.62)),
    url(/media/templates/site/cassiopeia_atthebeach/images/sand-bg.jpg);
  background-size: cover, cover;
  background-position: center, center;
  border-radius: inherit;
  pointer-events: none;
}
/* extra fine grain on top so it reads as sand, not a blurred photo */
.atb-sand-bg::after, .atb-split--sand::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url(/media/templates/site/cassiopeia_atthebeach/images/sand-texture.jpg) repeat;
  background-size: 140px 140px;
  opacity: .10;
  mix-blend-mode: multiply;
  border-radius: inherit;
  pointer-events: none;
}
.atb-checklist { list-style:none; margin: 1.2rem 0 0; padding:0; display:grid; gap:.6rem; }
.atb-checklist li { position:relative; padding-left: 1.9rem; color: var(--atb-ink); }
.atb-checklist li::before {
  content:"✔"; position:absolute; left:0; top:.05rem;
  color:#fff; background: var(--atb-sea); width:1.3rem; height:1.3rem;
  border-radius:50%; font-size:.7rem; display:grid; place-items:center;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
/* even tiles, no holes — every image fills its cell */
.atb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: .9rem;
}
.atb-gallery a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--atb-radius-sm);
  box-shadow: var(--atb-shadow-sm);
  background: var(--atb-sand-soft);
}
.atb-gallery img { width:100%; height:100%; object-fit:cover; transition: transform .55s ease; display:block; }
.atb-gallery a:hover img { transform: scale(1.07); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.atb-cta {
  position:relative; color:#fff; text-align:center;
  background-size:cover; background-position:center; isolation:isolate;
  border-radius: var(--atb-radius);
  overflow:hidden;
}
.atb-cta::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(120deg, rgba(30,32,34,.88), rgba(67,68,70,.80)); }
.atb-cta__inner { padding: clamp(3rem,7vw,5.5rem) 1.5rem; max-width: 60ch; margin-inline:auto; }
.atb-cta h2 { color:#fff; font-size: clamp(1.9rem,4vw,3rem); margin:0 0 1rem; }
.atb-cta p { color: rgba(255,255,255,.9); font-size:1.15rem; margin:0 0 2rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.atb-contact { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); }
.atb-contact__facts { display:grid; gap:1.1rem; }
.atb-fact { display:flex; gap:1rem; align-items:flex-start; background:#fff; border:1px solid var(--atb-line); border-radius: var(--atb-radius-sm); padding:1.1rem 1.3rem; box-shadow: var(--atb-shadow-sm); }
.atb-fact .ico { flex:0 0 auto; width:2.6rem; height:2.6rem; border-radius:50%; background: var(--atb-sand); color: var(--atb-sea-deep); display:grid; place-items:center; font-size:1.2rem; }
.atb-fact .k { font-weight:700; color:var(--atb-ink); margin:0; }
.atb-fact .v { color: var(--atb-muted); margin:0; }
.atb-fact a { color: var(--atb-sea); font-weight:600; }
.atb-map iframe { width:100%; height:100%; min-height:340px; border:0; border-radius: var(--atb-radius); box-shadow: var(--atb-shadow); }

/* generic content prose */
.atb-prose { max-width: 70ch; }
.atb-prose h2 { font-size: clamp(1.7rem,3.4vw,2.4rem); margin: 2rem 0 .8rem; }
.atb-prose h3 { font-size: 1.35rem; margin: 1.6rem 0 .5rem; color: var(--atb-sea-deep); }
.atb-prose p { margin: 0 0 1rem; }
.atb-prose a { color: var(--atb-sea); font-weight:600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.container-footer.footer {
  background: var(--atb-sea-dark);
  color: rgba(255,255,255,.82);
  margin: 0;
  width: 100%;
  max-width: none;
  padding: clamp(2.5rem,5vw,4rem) 0 1.5rem;
}
/* the grid-child is a flex row — make it a plain full-width block so the
   footer module actually spans the viewport */
.container-footer.footer > .grid-child {
  display: block;
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}
.container-footer.footer > .grid-child > * { width: 100%; max-width: none; }
.container-footer.footer a { color:#fff; }
.container-footer.footer h1,.container-footer.footer h2,.container-footer.footer h3 { color:#fff; }

.atb-footer { width: 100%; max-width: none; margin: 0; padding-inline: clamp(1.5rem, 5vw, 4rem); }
.atb-footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.atb-footer__brand img { height: 50px; width:auto; margin-bottom: 1rem; }
.atb-footer__brand p { color: rgba(255,255,255,.72); max-width: 34ch; margin:0; }
.atb-footer h4 { font-family: var(--atb-font-display); color:#fff; font-size:1.15rem; margin:0 0 .9rem; }
.atb-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
.atb-footer ul a, .atb-footer ul li { color: rgba(255,255,255,.8); }
.atb-footer ul a:hover { color: var(--atb-sand); }
.atb-footer__bottom { width: 100%; max-width: none; margin: 2.5rem 0 0; padding: 1.3rem clamp(1.5rem,5vw,4rem) 0; border-top: 1px solid rgba(255,255,255,.14); display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; color: rgba(255,255,255,.6); font-size:.9rem; }
@media (max-width: 767px){ .atb-footer__grid { grid-template-columns: 1fr; gap:1.8rem; } }

/* ==========================================================================
   ICONS (Font Awesome)
   ========================================================================== */
.atb-ico {
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--atb-sand); color: var(--atb-sea);
  font-size: 1.25rem; margin-bottom: 1rem;
}
.atb-card__body .atb-ico { margin-bottom: .3rem; }
.atb-card__body h3 i, .atb-prose h3 i { color: var(--atb-sea); margin-right: .5rem; }
.atb-checklist li i { position: absolute; left: 0; top: .3rem; color: var(--atb-sea); }
.atb-checklist li.has-ico::before { display: none; }
.atb-btn i { font-size: .9em; }
.atb-social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.atb-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none !important;      /* no link underline on icon buttons */
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.atb-social a:hover {
  background: var(--atb-coral);
  border-color: var(--atb-coral);
  color: #fff;
  transform: translateY(-2px);
}
/* footer links: refined underline on hover only */
.atb-footer ul a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .28s ease, color .2s ease;
}
.atb-footer ul a:hover { background-size: 100% 1px; }

/* ==========================================================================
   LIGHTBOX  (popup gallery with slider)
   ========================================================================== */
.atb-gallery a { position: relative; cursor: zoom-in; }
.atb-gallery a::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(25,27,29,.50); color: #fff; font-size: 1.5rem;
  opacity: 0; transition: opacity .25s ease;
}
.atb-gallery a:hover::after { opacity: 1; }

.atb-lb {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(22,24,26,.95);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none;
  opacity: 0; transition: opacity .28s ease;
}
.atb-lb.is-open { display: block; opacity: 1; }

/* full-height column: image flexes, controls always stay on screen */
.atb-lb__stage {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(3.6rem, 7vh, 5rem) clamp(3.6rem, 8vw, 6rem) clamp(1.2rem, 3vh, 2rem);
  box-sizing: border-box;
}
.atb-lb__img {
  flex: 1 1 auto;
  min-height: 0;                /* lets it shrink inside the flex column */
  max-width: 100%;
  border-radius: var(--atb-radius-sm);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
  object-fit: contain;
  animation: atbFadeIn .32s ease;
}
@keyframes atbFadeIn { from { opacity:0; transform: scale(.98);} to {opacity:1; transform:scale(1);} }
.atb-lb__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.15rem;
  display: grid; place-items: center;
  transition: background .2s ease;
  z-index: 2;
}
.atb-lb__btn:hover { background: var(--atb-coral); }
.atb-lb__prev { left: clamp(.5rem, 2vw, 1.5rem); }
.atb-lb__next { right: clamp(.5rem, 2vw, 1.5rem); }
.atb-lb__close {
  position: absolute; top: clamp(.7rem, 2vh, 1.3rem); right: clamp(.7rem, 2vw, 1.3rem);
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem;
  display: grid; place-items: center; transition: background .2s ease;
  z-index: 3;
}
.atb-lb__close:hover { background: var(--atb-coral); }
.atb-lb__bar {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .5rem 1.1rem;
  color: rgba(255,255,255,.85); font-size: .95rem;
}
.atb-lb__caption { color: rgba(255,255,255,.8); }
.atb-lb__count { font-variant-numeric: tabular-nums; font-weight: 600; }
.atb-lb__dots { display: flex; gap: .4rem; }
.atb-lb__dot {
  width: .5rem; height: .5rem; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.32); cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.atb-lb__dot.is-active { background: var(--atb-coral); transform: scale(1.35); }
@media (max-width: 767px) {
  .atb-lb__stage { width: 92vw; height: 72vh; }
  .atb-lb__prev { left: .2rem; } .atb-lb__next { right: .2rem; }
  .atb-lb__btn { width: 2.7rem; height: 2.7rem; }
  .atb-lb__close { top: -3rem; right: 0; }
  .atb-lb__caption { display: none; }
}

/* ==========================================================================
   POLISH
   ========================================================================== */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* visible, on-brand focus ring */
a:focus-visible, button:focus-visible, .atb-btn:focus-visible {
  outline: 2px solid var(--atb-coral);
  outline-offset: 3px;
  border-radius: 999px;
}

/* gentle reveal as sections come into view.
   Scoped to .atb-js so content is never hidden if the script fails to run. */
.atb-js .atb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.atb-js .atb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .atb-js .atb-reveal { opacity: 1; transform: none; transition: none; }
}

/* cards: quieter border, softer lift */
.atb-card {
  border-color: rgba(43,45,47,.08);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
}
.atb-card:hover { transform: translateY(-5px); }
.atb-fact { border-color: rgba(43,45,47,.08); }

/* a hairline rule under section eyebrows for a more editorial feel */
.atb-eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.atb-eyebrow::after {
  content: "";
  width: 2.2rem; height: 1px;
  background: currentColor;
  opacity: .35;
}

/* headings: tighter optical sizing */
.atb-section h2 { text-wrap: balance; }
.atb-lead, .atb-hero__sub { text-wrap: pretty; }

/* images: subtle warmth so photos sit in the sand palette */
.atb-card__img img, .atb-split__media img { filter: saturate(1.04); }

/* selection colour */
::selection { background: var(--atb-coral); color: #fff; }

/* back-to-top button styled to match */
.back-to-top-link {
  background: var(--atb-sea) !important;
  color: #fff !important;
  border-radius: 50% !important;
  border: 0 !important;
  box-shadow: var(--atb-shadow-sm);
}
.back-to-top-link:hover { background: var(--atb-coral) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .atb-cards, .atb-strip__grid { grid-template-columns: 1fr 1fr; }
  .atb-split, .atb-contact { grid-template-columns: 1fr; }
  .atb-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 640px) {
  .atb-cards, .atb-strip__grid { grid-template-columns: 1fr; }
  .atb-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 132px; gap: .6rem; }
  .atb-gallery .wide, .atb-gallery .tall { grid-column: span 2; grid-row: span 1; }

  /* hero: shorter, tighter, thumb-friendly buttons */
  .atb-hero { min-height: min(78vh, 620px); }
  .atb-hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); max-width: 100%; }
  .atb-hero__sub { font-size: 1.02rem; }
  .atb-hero__cta { gap: .6rem; }
  .atb-hero__cta .atb-btn { flex: 1 1 100%; justify-content: center; padding-block: .95rem; }
  .atb-hero__scroll { display: none; }

  .atb-section { padding-block: 2.2rem; }
  .atb-section h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .atb-strip__grid { gap: 1.1rem; }
  .atb-split { gap: 1.6rem; }
  .atb-fact { padding: .95rem 1rem; }
  .atb-map iframe { min-height: 260px; }
  .atb-cta__inner { padding-inline: 1.2rem; }
  .atb-footer__grid { gap: 1.6rem; }
  .atb-footer__bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
  /* tap targets */
  .atb-btn { padding: .85rem 1.4rem; }
}
