/* === CRISTAL PISCINE PRO: Reset & Brand Variables === */
/* CSS RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: "Roboto", Arial, sans-serif;
  background: #E2E8F0;
  color: #143642;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* === BRAND COLORS === */
:root {
  --color-primary: #0369A1; /* blue azur */
  --color-primary-dark: #004e70;
  --color-secondary: #FFFFFF;
  --color-secondary-light: #E2E8F0;
  --color-accent: #166534;
  --color-accent-light: #228B22;
  --color-grey: #d1d5db;
  --color-text: #143642;      /* Near-black, great contrast */
  --color-dark: #14213d;
}

/* === TYPOGRAPHY === */
body {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-secondary-light);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary-dark);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, ul, ol, dl {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #153040;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* === GENERIC LAYOUT STRUCTURE === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === MODERN GRADIENT BACKGROUNDS === */
.hero-section {
  background: linear-gradient(120deg, #E2E8F0 0%, #b6e5f5 85%, #d1e2ff 100%);
  padding: 64px 0 48px 0;
}
.cta-section {
  background: linear-gradient(90deg, #0369A1 60%, #228B22 100%);
  color: var(--color-secondary);
  padding: 60px 0 60px 0;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 24px;
}

/* === HEADER STYLES === */
header {
  width: 100%;
  background: var(--color-secondary);
  box-shadow: 0 3px 12px 0 rgba(3,105,161,0.06);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  position: relative;
  gap: 20px;
}
.brand-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 26px;
}
.main-nav a {
  color: var(--color-primary-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background .13s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary-light);
  color: var(--color-primary);
}
.cta-primary {
  background: linear-gradient(90deg, var(--color-primary) 85%, var(--color-accent-light) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 12px 28px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 6px 0 rgba(3,105,161,0.07);
  cursor: pointer;
  text-align: center;
  outline: none;
  transition: background .18s, box-shadow .18s, transform .15s;
  margin-left: 12px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--color-accent-light) 85%, var(--color-primary) 100%);
  box-shadow: 0 4px 16px 0 rgba(3,105,161,0.20);
  transform: translateY(-2px) scale(1.035);
  color: #fff;
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: pointer;
  transition: background .16s, transform .13s;
  z-index: 200;
}
.mobile-menu-toggle:active {
  background: var(--color-accent-light);
  transform: scale(0.93);
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3,105,161,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.59,.2,.36,1);
  z-index: 9999;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 40px rgba(10,35,70,.25);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 26px 0 0;
  cursor: pointer;
  transition: color .18s, transform .13s;
  align-self: flex-end;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFEB3B;
  transform: rotate(20deg) scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  margin-top: 54px;
  width: 95%;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff;
  color: var(--color-primary-dark);
}

/* Hide nav / cta on mobile, show .mobile-menu-toggle */
@media (max-width: 990px){
  header .main-nav,
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px){
  .mobile-menu { display: none !important; }
}

/* === HERO HEADING & SECTION === */
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-section .content-wrapper {
  gap: 30px;
  padding: 32px 0 24px 0;
}
.hero-section h1 {
  color: var(--color-primary-dark);
  font-size: 2.2rem;
}
.hero-section p {
  color: #16425B;
  max-width: 680px;
  font-size: 1.18rem;
}
.hero-section .cta-primary {
  font-size: 1.05rem;
  padding: 13px 30px;
  margin-left: 0;
}


/* === MAIN SECTION SPACING PATTERNS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* === FLEXBOX LAYOUTS (MANDATORY) === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px 0 rgba(3,105,161,0.09);
  border: 1px solid #e5e9ef;
  padding: 28px 24px;
  min-width: 220px;
  max-width: 290px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .13s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #eaf7ff;
  padding: 6px;
}
.feature-item h3 {
  margin-bottom: 4px;
  font-size: 1.10rem;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(3,105,161,0.17);
  transform: translateY(-4px) scale(1.03);
}

.text-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  flex-direction: row;
  align-items: flex-start;
}
.text-section ul,
.text-section ol {
  padding-left: 22px;
  list-style: disc outside;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #17416e;
}
.text-section p {
  margin-bottom: 6px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  margin-bottom: 32px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(3,105,161,0.07);
  border-radius: 20px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 20px 18px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.pricing-table thead th {
  background: #F1FAFF;
  color: var(--color-primary-dark);
  font-size: 1.10rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody td {
  color: #196b92;
}

.service-inclusions {
  margin-top: 14px;
  margin-bottom: 18px;
  color: #457ead;
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 22px;
  list-style: disc outside;
}

/* === FLEXBOX CARDS & GRIDS === */
.card-container, .service-list, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(3,105,161,0.08);
  border-radius: 20px;
  padding: 28px 22px 24px 22px;
  transition: box-shadow .16s, transform .11s;
}
.service-card h2 {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.20rem;
}
.service-card ul {
  list-style: disc outside;
  color: #226ead;
  padding-left: 22px;
  margin-bottom: 4px;
}
.service-card li { margin-bottom: 7px; }
.card:hover, .service-card:hover {
  box-shadow: 0 6px 30px 0 rgba(3,105,161,0.19);
  transform: translateY(-3px) scale(1.02);
}

/* === TESTIMONIAL CARDS === */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(22,139,34,.07), 0 2px 8px 0 rgba(3,105,161,0.07);
  border: 1.5px solid #d1e3f0;
  min-width: 250px; max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .12s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(3,105,161,0.22);
  transform: translateY(-2px) scale(1.03);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #183b46;
}
.testimonial-name {
  margin-top: 0;
  font-size: 0.99rem;
  color: var(--color-accent-light);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === FAQ LAYOUT === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list dt {
  font-weight: bold;
  color: var(--color-primary-dark);
  font-size: 1.04rem;
}
.faq-list dd {
  color: #205a8e;
  margin-bottom: 6px;
}
.faq-quicklinks {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}
.faq-quicklinks a {
  color: var(--color-accent-light);
  font-weight: 500;
  transition: color .14s;
}
.faq-quicklinks a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.faq-shortlist {
  margin-top: 10px;
  margin-bottom: 16px;
  padding-left: 22px;
  list-style: disc outside;
  color: #17416e;
}
.faq-shortlist strong {
  color: var(--color-primary-dark);
}

/* Address & MAP SNIPPET */
address {
  font-style: normal;
  color: #13244c;
  margin-bottom: 22px;
}
address ul { list-style: none; padding: 0; }
address li { margin-bottom: 8px; }
.map-snippet {
  background: #f2fdff;
  border-radius: 14px;
  padding: 12px 20px;
  font-style: italic;
  margin-top: 10px;
  color: #2a6898;
  font-size: 0.99rem;
}

/* === BUTTONS & LINK INTERACTIONS === */
a, button {
  outline: none;
  transition: color .18s, background .17s, box-shadow .18s;
}
button, .cta-primary {
  user-select: none;
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 36px 0 24px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #c8e9ff;
  font-size: 0.98rem;
  transition: color .16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.small-print {
  margin-top: 18px;
  color: #b3daf9;
  font-size: 0.93rem;
}
footer .brand-logo img {
  height: 40px;
  filter: drop-shadow(0 1px 5px #173d51cc);
}

/* === RESPONSIVENESS === */
@media (max-width: 1020px) {
  .container { max-width: 93vw; }
  .feature-grid, .service-list, .testimonial-grid, .footer-content {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .container, section { padding-left: 12px; padding-right: 12px; }
  .content-wrapper,
  .feature-grid,
  .testimonial-grid,
  .service-list,
  .footer-content {
    gap: 20px;
  }
  .feature-item, .service-card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px;
    font-size: 1rem;
  }
  .hero-section { padding: 34px 0 28px 0; }
  .hero-section .content-wrapper { padding: 20px 0 10px 0; }
  .main-nav { display: none !important; }
  .cta-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 18px; }
  .section { padding: 30px 10px; margin-bottom: 30px; }
}
@media (max-width: 430px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 18px 0 rgba(3,105,161,0.13);
  padding: 18px 30px 18px 22px;
  z-index: 10001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.98rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .36s, transform .36s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 200px;
  color: #123355;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  padding: 10px 22px;
  border-radius: 28px;
  background: #e2e8f0;
  color: var(--color-primary-dark);
  margin-left: 0;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background .18s, color .16s, box-shadow .17s;
}
.cookie-btn.accept {
  background: var(--color-accent-light);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-grey);
  color: #18466e;
}
.cookie-btn.settings {
  background: #E2E8F0;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #fff; color: var(--color-accent-light);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%, 60%) scale(1.07);
  min-width: 330px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(3,105,161,0.26);
  padding: 32px 26px 18px 26px;
  z-index: 12000;
  display: none;
  opacity: 0;
  transition: transform .35s cubic-bezier(.6,.21,.19,1), opacity .28s;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0%) scale(1.01);
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1rem;
  color: #173d51;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
  width: 100%;
  padding: 12px 0;
}
.cookie-modal .category-essential {
  color: var(--color-accent-light);
  font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--color-primary-dark);
  font-size: 1.65rem;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--color-accent-light);
}
@media (max-width:480px){
  .cookie-modal { width: 90vw; min-width: unset; padding: 12vw 6vw 5vw 6vw; }
  .cookie-btn { font-size: .97rem; padding: 9px 8vw; }
}

/* === UTILITIES & MICRO-ANIMATION === */
.fade-in {
  animation: fadein .55s cubic-bezier(.26,.9,.41,1.04);
}
@keyframes fadein {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: none; }
}
.scale-up {
  animation: scalein .36s cubic-bezier(.18,1,.51,1.16);
}
@keyframes scalein {
  0% { opacity: 0; transform: scale(0.83); }
  100% { opacity: 1; transform: scale(1); }
}

/* === EXTRA - Prevent Overlap / Z-Index Management === */
[tabindex]:focus-visible { outline: 2.5px dashed var(--color-accent-light); outline-offset: 2px; }

/* Invisible overlay for modal */
.cookie-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(22,105,52,0.18);
  z-index: 11999;
  display: none;
}
.cookie-modal-backdrop.open { display: block; animation: fadein .25s; }

/* === GENERAL OTHER ELEMENTS === */
ol {
  list-style: decimal outside;
  padding-left: 22px;
}

/* === END OF CSS === */
