/* =========================================================
   Pembrova — stylesheet
   Brand: fresh teal + warm gold, rounded & friendly, clean
   ========================================================= */

:root {
  --teal-900: #0A4F50;
  --teal-800: #0B6668;
  --teal-700: #0E7D7D;
  --teal-600: #129393;
  --teal-500: #1AA8A8;
  --teal-100: #E3F5F4;
  --teal-50:  #F2FAF9;

  --gold-600: #E89A2C;
  --gold-500: #FFB347;
  --gold-100: #FFF1DC;

  --ink-900: #172B2B;
  --ink-700: #3B4A4A;
  --ink-500: #5B6B6B;
  --ink-300: #9BAAAA;

  --white: #FFFFFF;
  --bg: #F7FBFB;
  --bg-alt: #EAF6F6;
  --border: #DCEAEA;

  --success: #2F9E58;
  --danger: #D1453B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 60, 60, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 60, 60, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 60, 60, 0.18);

  --font-head: 'Poppins', 'Trebuchet MS', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.22; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-700); }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal-900); color: var(--white);
  padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.97rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold-500); color: var(--teal-900); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-600); color: var(--teal-900); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--teal-800); }
.btn--ghost:hover { background: var(--teal-50); color: var(--teal-900); }
.btn--dark { background: var(--teal-900); color: var(--white); }
.btn--dark:hover { background: var(--teal-700); color: var(--white); }
.btn--small { padding: 9px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announcement-bar { background: var(--teal-900); color: var(--white); text-align: center; font-size: 0.85rem; padding: 8px 16px; }
.announcement-bar a { color: var(--gold-500); font-weight: 600; }
.announcement-bar a:hover { color: var(--gold-600); }

/* ---------- Header / Nav ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 500; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__icon { border-radius: 10px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--teal-900); white-space: nowrap; }
.brand__tag { font-size: 0.62rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav ul { display: flex; gap: 20px; }
.primary-nav a:not(.btn) { color: var(--ink-700); font-weight: 600; font-size: 0.95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.primary-nav a:not(.btn):hover, .primary-nav a.is-active { color: var(--teal-800); border-color: var(--gold-500); }
.nav-phone { color: var(--teal-800); font-size: 0.9rem; }

.nav-toggle { display: none; position: relative; z-index: 700; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,30,30,0.4); z-index: 640; }
.nav-backdrop.is-visible { display: block; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--teal-900); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,79,80,0.92) 0%, rgba(14,125,125,0.82) 55%, rgba(18,147,147,0.65) 100%); }
.hero__content { position: relative; padding: 96px 0 76px; max-width: 680px; }
.hero--page { padding: 0; }
.hero--page .hero__content { padding: 64px 0 52px; max-width: 760px; }
.hero__eyebrow { display: inline-block; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.breadcrumb { position: relative; font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--teal-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.85); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { display: inline-block; color: var(--teal-700); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 10px; }
.section--dark .section-head .eyebrow { color: var(--gold-500); }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; border: 1px solid var(--border); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--teal-100); color: var(--teal-700); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; }
.feature h4 { margin: 0 0 4px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: 0.93rem; }

.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--gold-500); }
.stat__label { font-size: 0.85rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Split (image + content) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

/* ---------- Service blocks ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: none; }
.service-block img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-block__tag { display: inline-block; background: var(--teal-100); color: var(--teal-800); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.service-block ul.checklist { margin-top: 18px; }
.checklist li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.95rem; color: var(--ink-700); }
.checklist li svg { flex: 0 0 auto; color: var(--teal-700); margin-top: 3px; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { background: var(--teal-900); color: var(--white); font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--teal-50); }
.price-table td.price { font-weight: 700; color: var(--teal-800); white-space: nowrap; }
.price-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.price-note { font-size: 0.85rem; color: var(--ink-500); }

.pricing-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.pricing-card--highlight { border-color: var(--gold-500); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.pricing-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold-500); color: var(--teal-900); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); }
.pricing-card__price { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--teal-800); margin: 10px 0; }
.pricing-card__price span { font-size: 0.95rem; font-weight: 600; color: var(--ink-500); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step__num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal-900); color: var(--white); font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }

/* ---------- FAQ accordion ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item__q { width: 100%; text-align: left; background: none; border: none; padding: 20px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion-item__q .plus { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform .2s ease; }
.accordion-item[open] .accordion-item__q .plus { transform: rotate(45deg); background: var(--gold-100); color: var(--gold-600); }
.accordion-item__a { padding: 0 4px 22px; color: var(--ink-700); }
.accordion-item__q { list-style: none; }
.accordion-item__q::-webkit-details-marker { display: none; }
.accordion-item__q::marker { content: ""; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid figure:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--ink-900); }
.form-field .req { color: var(--danger); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.97rem; background: var(--white); color: var(--ink-900);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal-600); outline: none; box-shadow: 0 0 0 3px rgba(18,147,147,0.18); }
.form-field small { color: var(--ink-500); font-size: 0.8rem; }
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; border: 1px solid var(--border); }
.checkbox-field { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-700); }
.checkbox-field input { margin-top: 3px; }

.alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.95rem; }
.alert--success { background: #E6F6EC; color: var(--success); border: 1px solid #BFE8CC; }
.alert--error { background: #FBEAE9; color: var(--danger); border: 1px solid #F3C8C5; }

/* ---------- Info / contact tiles ---------- */
.info-tile { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius-md); padding: 22px; border: 1px solid var(--border); }
.info-tile__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-100); color: var(--teal-700); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--teal-800); }
.hours-table tr:last-child td { border-bottom: none; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--teal-900), var(--teal-700)); color: var(--white); border-radius: var(--radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2, .cta-banner p { color: var(--white); margin: 0; }
.cta-banner p { margin-top: 6px; color: rgba(255,255,255,0.85); }

/* ---------- Policy pages ---------- */
.policy-content { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.policy-content h2 { margin-top: 1.6em; font-size: 1.35rem; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { font-size: 1.05rem; margin-top: 1.4em; }
.policy-content ul, .policy-content ol { margin: 0 0 1em; padding-left: 1.4em; color: var(--ink-700); }
.policy-content li { margin-bottom: 6px; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.policy-content table th, .policy-content table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; font-size: 0.92rem; }
.policy-content table th { background: var(--bg-alt); }
.policy-meta { color: var(--ink-500); font-size: 0.88rem; margin-bottom: 2em; }
.policy-toc { background: var(--bg-alt); border-radius: var(--radius-md); padding: 20px 24px; margin-bottom: 2em; }
.policy-toc h2 { font-size: 1rem; margin-bottom: 10px; }
.policy-toc ol { padding-left: 1.2em; margin: 0; columns: 2; }
.policy-toc a { font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.85); padding: 64px 0 0; margin-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { margin-bottom: 14px; height: 56px; width: auto; }
.footer__brand p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer__contact { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.8); }
.footer__contact a { color: rgba(255,255,255,0.85); }
.footer__contact a:hover { color: var(--gold-500); }
.footer__col h3 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer__col a:hover { color: var(--gold-500); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; padding-bottom: 28px; padding-right: 60px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer__bottom a { color: rgba(255,255,255,0.75); }

/* ---------- Back to top / cookie banner ---------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-900); color: var(--white); border: none; cursor: pointer; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  z-index: 600;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(10,60,60,0.15); z-index: 700; }
.cookie-banner__inner { max-width: var(--container-w); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--ink-700); max-width: 640px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 100px 24px; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: 6rem; color: var(--teal-100); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split, .service-block { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse { direction: ltr; }
  .service-block img { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .primary-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--white); flex-direction: column; align-items: stretch; padding: 90px 28px 28px; box-shadow: -10px 0 40px rgba(0,0,0,0.18); transform: translateX(100%); transition: transform .25s ease; gap: 24px; z-index: 650; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .primary-nav a:not(.btn) { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-phone { order: 2; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figure:nth-child(5n+1) { grid-column: span 1; grid-row: span 1; }
  .policy-content { padding: 28px 20px; }
  .policy-toc ol { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 64px 0 56px; }
  section { padding: 52px 0; }
}
