/* ==========================================================
   Cool Breeze Solutions — brand styles
   Colours & type taken from the original coolbreezealgarve.com
   ========================================================== */
:root {
  --blue: #00B3FF;          /* primary brand blue (buttons, footer) */
  --blue-stroke: #01B3FF;   /* heading outline */
  --blue-deep: #0092D1;     /* hover / bottom bar */
  --blue-ink: #06506F;      /* dark accent for small text on light blue */
  --band: #D6EEF7;          /* light blue section band */
  --band-soft: #EEF8FC;
  --text: #54595F;          /* body text */
  --text-soft: #7A7A7A;
  --black: #000;
  --white: #FDFDFD;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 120, 175, .12);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Headings: the signature outlined Bebas Neue ---------- */
h1, h2, h3, h4 { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .5px; }
h1, h2 { color: var(--blue-deep); }
/* Original outlined brand style, kept only for headings over photos */
.outline, .hero h1, .photo-band h2, .heat h2 {
  color: var(--white);
  -webkit-text-stroke: 2px var(--blue-stroke);
  text-shadow: 0 0 10px rgba(4, 167, 255, .3);
  paint-order: stroke fill;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.55rem); }
h3 { font-size: 1.75rem; color: var(--blue); }
h4 { font-size: 1.35rem; color: var(--black); }
.eyebrow {
  display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-deep); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--text); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 2.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.6em; border-radius: var(--radius); border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .6px;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all .2s ease;
  font-family: 'Poppins', sans-serif;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-deep); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-deep); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-white { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-white:hover { background: #fff; color: var(--blue-deep); }
.btn-wa { background: #25D366; border-color: #25D366; }
.btn-wa:hover { background: #1ebe5a; border-color: #1ebe5a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.topbar { background: var(--blue-deep); color: #fff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 22px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar i { margin-right: 6px; opacity: .9; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: 'Montserrat', sans-serif; font-variant: small-caps; font-weight: 500; font-size: 1.28rem; letter-spacing: 1px; line-height: 1; }
.brand-text small { display: block; font-variant: normal; font-weight: 300; font-size: .72rem; letter-spacing: .5px; margin-top: 4px; opacity: .95; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a.nav-link, .nav button.nav-link {
  display: block; padding: 10px 12px; color: #fff; text-decoration: none; font-weight: 500; font-size: .93rem;
  background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 4px;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav .active > .nav-link { background: rgba(255, 255, 255, .16); }
.has-drop { position: relative; }
.has-drop .fa-chevron-down { font-size: .65em; margin-left: 4px; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 60, 90, .18); padding: 10px; list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.dropdown a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; color: var(--text); text-decoration: none; border-radius: 4px; font-size: .94rem; }
.dropdown a i { color: var(--blue); width: 18px; text-align: center; }
.dropdown a:hover { background: var(--band-soft); color: var(--blue-deep); }
.dropdown .drop-label { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); padding: 10px 12px 4px; font-weight: 700; }
.nav .btn-white { margin-left: 10px; padding: .7em 1.2em; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 8px; }

.nav a.nav-link, .nav button.nav-link, .nav .btn-white { white-space: nowrap; }
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 78px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link, .nav button.nav-link { color: var(--black); padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid #eef2f4; width: 100%; text-align: left; border-radius: 0; }
  .nav a.nav-link:hover, .nav button.nav-link:hover, .nav .active > .nav-link { background: var(--band-soft); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 0; padding: 0 0 8px 8px; display: none; min-width: 0; }
  .has-drop.open .dropdown { display: block; }
  .nav .btn-white { margin: 20px 0 0; background: var(--blue); color: #fff; border-color: var(--blue); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 720px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }
@media (max-width: 420px) { .brand-text { font-size: 1.05rem; } .brand img { width: 44px; height: 44px; } }

/* ---------- Home hero (keeps the original AC-units photo) ---------- */
.hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 60, 95, .62), rgba(0, 110, 160, .55)), url('../images/gallery/installation/01-whitewashed-villa-with-three-outdoor-units.jpg') center 35%/cover no-repeat;
  padding: 80px 0 170px;
}
.hero .logo-hero { width: min(360px, 70vw); margin: 0 auto 26px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.hero h1 { color: #fff; -webkit-text-stroke: 2px var(--blue-stroke); max-width: 900px; margin: 0 auto .35em; }
.hero .sub { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: 1.5px; margin-bottom: .6em; }
.hero p { max-width: 700px; margin: 0 auto 1em; font-size: 1.1rem; }
.hero .btn-row { justify-content: center; }
.chill { position: relative; z-index: 2; margin: -150px auto 0; width: min(560px, 88vw); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(120deg, #0092D1 0%, #00B3FF 60%, #3FC6FF 100%);
  padding: 70px 0 64px;
}
.page-hero::after {
  content: '\f2dc'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%) rotate(12deg); font-size: 340px; color: rgba(255, 255, 255, .09); line-height: 1; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 18px rgba(0, 60, 100, .25); max-width: 860px; }
.page-hero p { max-width: 700px; font-size: 1.12rem; }
.page-hero .eyebrow { color: #fff; opacity: .9; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; opacity: .92; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.band { background: var(--band); }
.band-soft { background: var(--band-soft); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } section { padding: 64px 0; } }

/* Visual panel (brand illustration used where no photo yet) */
.visual {
  position: relative; border-radius: 14px; min-height: 340px; overflow: hidden;
  background: linear-gradient(145deg, #00B3FF 0%, #0092D1 100%); box-shadow: var(--shadow);
  display: grid; place-items: center; color: #fff;
}
.visual::before { content: ''; position: absolute; inset: 0; background: url('../images/logo-icon-white.png') -40px -40px / 200px no-repeat, url('../images/logo-icon-white.png') calc(100% + 60px) calc(100% + 60px) / 260px no-repeat; opacity: .12; }
.visual .v-icon { position: relative; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-size: 64px; box-shadow: 0 0 0 18px rgba(255, 255, 255, .07); }
.visual .v-caption { position: absolute; left: 22px; bottom: 18px; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; letter-spacing: 1px; }
.visual.photo { background-size: cover; background-position: center; }
.visual.photo::before { display: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-5 > * { flex: 0 1 calc((100% - 48px) / 3); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-5 > * { flex-basis: calc((100% - 24px) / 2); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-5 > * { flex-basis: 100%; } }
.card {
  background: #fff; border-radius: 10px; padding: 30px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--blue);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 120, 175, .2); }
.card .icon { width: 58px; height: 58px; border-radius: 50%; background: var(--band); color: var(--blue-deep); display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 18px; }
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: .6em; }
.card .more { margin-top: auto; font-weight: 700; color: var(--blue-deep); font-size: .9rem; text-transform: uppercase; letter-spacing: .6px; }
.card .more i { transition: transform .2s; }
a.card:hover .more i { transform: translateX(4px); }
.card.plain { border-top: 0; box-shadow: none; background: transparent; padding: 0; }

/* Feature list (title — text) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.feature h4 { margin: .1em 0 .2em; }
.feature p { margin: 0; }

/* Tick chips list */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid #cfe9f5; border-radius: 40px; padding: 8px 16px 8px 12px; font-weight: 500; color: #2c3136; font-size: .95rem; }
.chips li i { color: var(--blue); margin-right: 8px; }
.band .chips li { border-color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .ticks.cols-2 { grid-template-columns: 1fr; } }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li i { color: var(--blue); margin-top: 5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps, .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.four { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border-radius: 10px; padding: 28px 22px 24px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1;
  color: var(--blue); display: block; margin-bottom: 10px;
}
.step h4 { margin-bottom: .3em; }
.step p { margin: 0; font-size: .96rem; }

/* Two-up compare boxes */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare > div { background: #fff; border-radius: 10px; padding: 30px; box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(180deg, rgba(10, 18, 26, .3), rgba(10, 18, 26, .55)), url('../images/algarve/sunset-fiery.jpg') center 60%/cover no-repeat; color: #fff; text-align: center; position: relative; overflow: hidden; padding: 110px 0; }
.cta::before { content: ''; position: absolute; width: 420px; height: 420px; left: -120px; bottom: -200px; background: url('../images/logo-icon-white.png') center/contain no-repeat; opacity: .08; }
.cta h2 { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 14px rgba(0, 50, 80, .25); }
.cta p { max-width: 680px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta .contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 26px; font-weight: 500; }
.cta .contact-line a { color: #fff; text-decoration: none; }
.cta .contact-line a:hover { text-decoration: underline; }
.cta .contact-line i { margin-right: 8px; }

/* ---------- Gallery ---------- */
.gallery-group { margin-bottom: 64px; }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.gallery-head h3 { margin: 0; font-size: 2.1rem; }
.gallery-head p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--band); cursor: zoom-in; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.gallery .placeholder { cursor: default; display: grid; place-items: center; text-align: center; color: var(--blue-deep); border: 2px dashed #9fd8f0; background: var(--band-soft); }
.gallery .placeholder i { font-size: 2rem; display: block; margin-bottom: 8px; color: var(--blue); }
.gallery .placeholder span { font-size: .9rem; font-weight: 500; }
.ba { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
@media (max-width: 420px) { .ba { grid-template-columns: 1fr; } }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; padding: 6px; border-radius: 12px; box-shadow: var(--shadow); }
.ba-pair figure { aspect-ratio: 1; }
.ba-tag { position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; z-index: 1; }
.ba-tag.after { background: var(--blue); }
.lightbox { position: fixed; inset: 0; background: rgba(0, 18, 30, .92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 6px; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

/* ---------- Areas ---------- */
.area-card { text-align: center; }
.area-card .icon { margin: 0 auto 16px; }
.area-card h3 { font-size: 1.9rem; }

/* ---------- FAQ ---------- */
.faq-section { background: linear-gradient(180deg, var(--band-soft), #fff 420px); }
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.faq-side { position: sticky; top: 104px; display: grid; gap: 22px; }
.faq-nav { background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.faq-nav-label { font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); padding: 0 10px 8px; }
.faq-nav a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: #2c3136; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.faq-nav a i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--band); color: var(--blue-deep); display: grid; place-items: center; font-size: .8rem; }
.faq-nav a span { margin-left: auto; font-size: .75rem; color: var(--text-soft); background: #f1f5f7; border-radius: 20px; padding: 1px 9px; }
.faq-nav a:hover { background: var(--band-soft); color: var(--blue-deep); }
.faq-help { background: #0A1F33; color: #c9d6e1; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.faq-help-img { height: 150px; background-size: cover; background-position: center 25%; }
.faq-help-body { padding: 20px 22px 22px; }
.faq-help h3 { color: #fff; font-size: 1.8rem; margin-bottom: .2em; }
.faq-help p { font-size: .92rem; }
.faq-help .btn { width: 100%; }
.faq-call { display: block; text-align: center; margin-top: 12px; color: #fff; text-decoration: none; font-weight: 500; }
.faq-call:hover { color: var(--blue); }
.faq-call i { color: var(--blue); margin-right: 6px; }

.faq-group { margin-bottom: 44px; scroll-margin-top: 110px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title { display: flex; align-items: center; gap: 14px; font-size: 2rem; margin-bottom: 18px; }
.faq-group-title i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.faq details { background: #fff; border-radius: 12px; margin-bottom: 12px; border: 1px solid #e3edf2; box-shadow: 0 2px 10px rgba(0, 120, 175, .05); transition: border-color .2s, box-shadow .2s; }
.faq details:hover { border-color: #b9e3f5; }
.faq details[open] { border-color: var(--blue); box-shadow: 0 10px 30px rgba(0, 120, 175, .12); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; color: #1f2327; font-size: 1.06rem; display: flex; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq details[open] summary { color: var(--blue-deep); }
.faq-toggle { position: relative; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--band); transition: background .2s, transform .3s; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--blue-deep); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s, background .2s; }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-toggle { background: var(--blue); transform: rotate(180deg); }
.faq details[open] .faq-toggle::before, .faq details[open] .faq-toggle::after { background: #fff; }
.faq details[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 22px 22px; animation: faq-in .3s ease; }
.faq .answer p { margin: 0; padding-top: 14px; border-top: 1px dashed #d8e6ed; }
.faq-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; color: var(--blue-deep); text-decoration: none; }
.faq-more i { transition: transform .2s; }
.faq-more:hover i { transform: translateX(4px); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-side { display: contents; }
  .faq-nav { order: 0; }
  .faq-nav { display: flex; overflow-x: auto; gap: 8px; padding: 12px; scrollbar-width: none; }
  .faq-nav-label, .faq-nav a span { display: none; }
  .faq-nav a { white-space: nowrap; background: var(--band-soft); flex: 0 0 auto; }
  .faq-help { order: 2; display: grid; grid-template-columns: 160px 1fr; }
  .faq-help-img { height: auto; }
  .faq { order: 1; }
}
@media (max-width: 560px) {
  .faq-help { grid-template-columns: 1fr; }
  .faq-help-img { height: 140px; }
  .faq summary { padding: 17px 16px; font-size: 1rem; }
  .faq .answer { padding: 0 16px 18px; }
  .faq-group-title { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .faq .answer { animation: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 44px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: 12px; padding: 38px 34px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }
@media (max-width: 520px) { .form-card { padding: 28px 20px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 500; font-size: .92rem; color: #2c3136; margin-bottom: 6px; }
.field .req { color: var(--blue-deep); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #c9d3d9; border-radius: var(--radius); font: inherit; font-size: 1rem; color: #1f2327; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 179, 255, .2); }
.field textarea { min-height: 130px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label { display: flex; align-items: center; gap: 8px; border: 1px solid #d7e3e9; border-radius: var(--radius); padding: 9px 11px; font-weight: 400; font-size: .92rem; cursor: pointer; margin: 0; transition: all .15s; }
.checks label:hover { border-color: var(--blue); }
.checks input { accent-color: var(--blue); }
.checks label:has(input:checked) { border-color: var(--blue); background: var(--band-soft); color: var(--blue-ink); }
.upload { border: 2px dashed #9fd8f0; border-radius: var(--radius); padding: 16px; background: var(--band-soft); }
.upload input { font-size: .9rem; margin-bottom: 8px; width: 100%; }
.upload small { display: block; color: var(--text-soft); }
.form-note { font-size: .85rem; color: var(--text-soft); margin-top: 12px; }
.hp { display: none; }
.info-card { background: var(--blue); color: #fff; border-radius: 12px; padding: 34px 30px; box-shadow: var(--shadow); }
.info-card h3 { color: #fff; font-size: 2rem; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.info-list small { display: block; opacity: .85; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.2px; }
.info-list a { color: #fff; text-decoration: none; font-weight: 500; }
.info-list a:hover { text-decoration: underline; }
.wa-card { margin-top: 24px; background: #fff; border-radius: 12px; padding: 30px; box-shadow: var(--shadow); border-top: 5px solid #25D366; }
.wa-card h3 { color: #1a9c4b; }
.wa-card ol { padding-left: 1.2em; margin: 0 0 1.2em; }

/* Placeholder marker for copy the client still needs to supply */
.todo { background: #fff4c2; color: #6b5200; padding: 1px 6px; border-radius: 3px; font-size: .92em; }

/* ---------- Footer (dark navy) ---------- */
.site-footer { background: #0A1F33; color: #B9CBDA; padding: 70px 0 0; font-size: .95rem; border-top: 4px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 190px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1.5rem; letter-spacing: 1.2px; margin-bottom: .8em; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--blue); border-radius: 2px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #B9CBDA; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--blue); }
.site-footer .services-line { font-size: .85rem; color: #8299AD; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { width: 18px; margin-top: 5px; color: var(--blue); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; display: grid; place-items: center; font-size: 1.05rem; transition: background .2s, color .2s; }
.socials a:hover { background: var(--blue); color: #fff; }
.footer-bottom { background: #061525; margin-top: 56px; padding: 18px 0; font-size: .83rem; color: #8299AD; }
.footer-bottom a { color: #8299AD; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- WhatsApp chat pop-up ---------- */
.wa-chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float {
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 2rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; position: relative;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.4s infinite; }
.wa-chat.open .wa-float::after { animation: none; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-panel {
  width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 30, 50, .3);
  transform-origin: bottom right; animation: wa-in .22s ease;
}
.wa-panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.wa-head { background: #075E54; color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; }
.wa-head strong { display: block; font-size: 1rem; }
.wa-head small { display: block; font-size: .78rem; opacity: .85; }
.wa-avatar { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.wa-avatar img { width: 34px; height: 34px; }
.wa-dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #9aa5ab; border: 2px solid #075E54; }
.wa-chat.is-open-hours .wa-dot { background: #25D366; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; padding: 6px; opacity: .85; }
.wa-close:hover { opacity: 1; }
.wa-body { background: #ECE5DD; padding: 16px; max-height: min(60vh, 440px); overflow-y: auto; }
.wa-bubble { position: relative; background: #fff; border-radius: 0 10px 10px 10px; padding: 10px 12px 18px; font-size: .94rem; color: #1f2327; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); max-width: 92%; }
.wa-bubble::before { content: ''; position: absolute; left: -8px; top: 0; border: 8px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 8px 0; }
.wa-time { position: absolute; right: 10px; bottom: 4px; font-size: .68rem; color: #8a959b; }
.wa-pick { font-size: .8rem; color: #5b6870; margin: 14px 2px 8px; }
.wa-opt { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; color: #1f2327; text-decoration: none; font-size: .93rem; font-weight: 500; transition: transform .15s, box-shadow .15s; }
.wa-opt:hover { transform: translateX(3px); box-shadow: 0 3px 10px rgba(0, 0, 0, .08); }
.wa-opt > i:first-child { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--band); color: var(--blue-deep); display: grid; place-items: center; font-size: .9rem; }
.wa-opt span { flex: 1; }
.wa-opt > i:last-child { color: #25D366; font-size: .8rem; }
.wa-form { display: flex; gap: 8px; margin-top: 12px; }
.wa-form input { flex: 1; min-width: 0; border: 0; border-radius: 22px; padding: 11px 16px; font: inherit; font-size: .93rem; }
.wa-form input:focus { outline: 2px solid #25D366; }
.wa-form button { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 0; background: #25D366; color: #fff; cursor: pointer; }
.wa-foot { font-size: .75rem; color: #5b6870; text-align: center; padding: 9px; border-top: 1px solid #eee; }
.wa-foot i { color: #25D366; }
.wa-nudge { position: relative; background: #fff; color: #1f2327; font-size: .9rem; padding: 10px 30px 10px 14px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); cursor: pointer; animation: wa-in .3s ease; }
.wa-nudge[hidden] { display: none; }
.wa-nudge strong { color: #128C7E; }
.wa-nudge-x { position: absolute; right: 6px; top: 4px; background: none; border: 0; font-size: 1.1rem; color: #8a959b; cursor: pointer; line-height: 1; }
@media (max-width: 480px) { .wa-chat { right: 16px; bottom: 16px; } .wa-panel { width: calc(100vw - 32px); } }
@media (prefers-reduced-motion: reduce) { .wa-float::after, .wa-panel, .wa-nudge { animation: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Algarve photography ---------- */
.visual.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 40, 70, .6)); }
.visual.photo .v-caption { z-index: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.card .card-img { margin: -30px -26px 20px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px 6px 0 0; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card-img img { transform: scale(1.05); }
.card.has-img { padding-top: 30px; }

.heat {
  position: relative; color: #fff; text-align: center; padding: 130px 0;
  background: linear-gradient(180deg, rgba(0, 60, 95, .55), rgba(0, 120, 175, .5)), url('../images/algarve/beach-carvoeiro.jpg') center/cover no-repeat;
}
.heat h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.heat p { max-width: 640px; margin: 0 auto 1em; font-size: 1.15rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.heat .btn-row { justify-content: center; }

.page-hero.has-photo { background-size: cover; background-position: center; padding: 110px 0 100px; }
.page-hero.has-photo p, .page-hero.has-photo h1 { text-shadow: 0 2px 14px rgba(0, 40, 70, .45); }

.area-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.area {
  flex: 0 1 calc((100% - 64px) / 5); background: #fff; border-radius: 10px; box-shadow: var(--shadow); border-top: 4px solid var(--blue);
  padding: 22px 16px 18px; text-align: center; transition: transform .2s ease;
}
.area:hover { transform: translateY(-4px); }
.area i { color: var(--blue); font-size: 1.3rem; margin-bottom: 8px; display: block; }
.area h3 { font-size: 1.75rem; margin: 0 0 .15em; }
.area p { margin: 0; font-size: .8rem; color: var(--text-soft); line-height: 1.4; }
@media (max-width: 1000px) { .area { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 560px) { .area { flex-basis: calc((100% - 16px) / 2); } }
.area-note { text-align: center; font-size: 1.15rem; max-width: 720px; margin: 0 auto 36px; }
.area-note strong { color: var(--blue-deep); }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img:nth-child(n+2) { display: none; } }

/* ---------- Photo bands (Algarve heat behind text) ---------- */
.page-hero.has-photo::after { display: none; }
.photo-band { position: relative; color: #fff; background-size: cover; background-position: center; padding: 110px 0; }
.photo-band p { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); font-size: 1.08rem; }
.photo-band a:not(.btn) { color: #fff; }
.photo-band h2, .heat h2 { text-shadow: 0 0 10px rgba(4, 167, 255, .3), 0 4px 22px rgba(0, 0, 0, .35); }

/* ---------- Client job photos ---------- */
.gallery figure img, .card .card-img img { object-position: center 30%; }
.visual.photo { background-position: center 30%; }
.gallery.recent { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .gallery.recent { grid-template-columns: repeat(2, 1fr); } }
.gallery figure.video { grid-column: 1 / -1; aspect-ratio: 9 / 16; max-width: 300px; margin: 0 auto; width: 100%; cursor: default; background: #000; }
.gallery figure.video video { width: 100%; height: 100%; display: block; object-fit: contain; }
.gallery figure.video figcaption { pointer-events: none; }

/* Homepage "Our Services" cards: taller photos */
.grid-5 .card .card-img { aspect-ratio: 1 / 1; margin-bottom: 22px; }
@media (max-width: 640px) { .grid-5 .card .card-img { aspect-ratio: 4 / 3; } }

/* Homepage "Who we help" cards: taller photos to match services */
.sectors .card .card-img { aspect-ratio: 1 / 1; margin-bottom: 22px; }
@media (max-width: 640px) { .sectors .card .card-img { aspect-ratio: 4 / 3; } }

/* ---------- Careers ---------- */
.vac-empty { display: flex; gap: 22px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 30px; box-shadow: var(--shadow); border-left: 5px solid var(--blue); max-width: 860px; margin: 0 auto; }
.vac-empty .icon { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: var(--band); color: var(--blue-deep); display: grid; place-items: center; font-size: 1.4rem; }
.vac-empty h3 { margin-bottom: .3em; }
.vac-empty p { margin: 0; }
@media (max-width: 560px) { .vac-empty { flex-direction: column; padding: 24px; } }
.field select { width: 100%; padding: 12px 14px; border: 1px solid #c9d3d9; border-radius: var(--radius); font: inherit; font-size: 1rem; color: #1f2327; background: #fff; }
.checks-3 { grid-template-columns: repeat(3, 1fr); }
.checks label:has(input[type=radio]:checked) { border-color: var(--blue); background: var(--band-soft); color: var(--blue-ink); }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; color: var(--text) !important; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.ticks li span b { color: #1f2327; }
/* nav now has 9 links: collapse to the mobile menu a little earlier */
@media (min-width: 1181px) {
  .nav > ul { gap: 0; }
}
@media (min-width: 1181px) {
  .nav a.nav-link, .nav button.nav-link { padding: 10px 9px; font-size: .9rem; }
  .nav .btn-white { margin-left: 6px; padding: .7em 1em; }
}

/* Poppins tuning */
.btn { font-weight: 600; letter-spacing: .4px; }
.faq summary, .wa-opt { font-weight: 600; }
.nav a.nav-link, .nav button.nav-link { font-weight: 500; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 104px; background: var(--band-soft); border-radius: 12px; padding: 20px 22px; font-size: .9rem; }
.legal-toc span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; }
.legal-toc a { color: #2c3136; text-decoration: none; }
.legal-toc a:hover { color: var(--blue-deep); }
.legal { max-width: 780px; }
.legal .lead { font-size: 1.08rem; color: #2c3136; }
.legal-sec { padding: 26px 0 0; margin-top: 26px; border-top: 1px solid #e3edf2; scroll-margin-top: 100px; }
.legal-sec h2 { font-size: 2rem; margin-bottom: .4em; }
.legal-sec h3 { font-size: 1.35rem; margin-top: 1.2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .45em; }
.legal-details { list-style: none; padding: 16px 20px !important; background: var(--band-soft); border-radius: 10px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .92rem; }
.legal-table th { text-align: left; background: #0A1F33; color: #fff; font-weight: 500; padding: 10px 14px; }
.legal-table td { padding: 10px 14px; border-bottom: 1px solid #e3edf2; vertical-align: top; }
.legal-table tr:nth-child(odd) td { background: #fafcfd; }
.legal code { background: #eef3f6; padding: 1px 6px; border-radius: 4px; font-size: .88em; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .legal-table { display: block; overflow-x: auto; }
}
