/* --- AquaNúcleo Scandinavian Clean CSS --- */

/* === CSS Reset & Normalize === */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F4F8FB;
  color: #174E7C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
img {
  max-width: 100%;
  height: auto;
}
input, textarea, button, select {
  font: inherit;
  outline: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* === Font Imports === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');

/* === Root Variables for Color & Style === */
:root {
  --primary: #174E7C; /* dark blue */
  --secondary: #F4F8FB; /* brand secondary, very light blue */
  --white: #fff;
  --accent: #2BB2C1; /* fresh accent */
  --grey-light: #F8FAFC;
  --grey: #D3D9DF;
  --text-main: #174E7C;
  --text-dark: #112033;
  --text-muted: #8799a5;
  --shadow-light: 0 2px 10px rgba(23, 78, 124, 0.04), 0 1.5px 5px rgba(20,40,64,0.03);
  --radius: 12px;
  --transition-main: 0.19s cubic-bezier(.48,.15,.31,1.04);
  --shadow-card: 0 2px 14px rgba(23,78,124,0.10);
}

/* === Global Typography Hierarchy === */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
h2, .h2, .text-section {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
h4, .h4 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-main);
}
p, li, label, span, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}
strong {
  font-weight: 500;
  color: var(--text-main);
}
em {
  color: var(--accent);
}


/* === Layout Containers === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

/* Section spacing and alignment (MANDATORY pattern) */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

/* Card-Style Layouts */
.card-container, .product-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover, .product-cards > div:hover, .service-list > div:hover {
  box-shadow: 0 8px 24px rgba(43, 178, 193, 0.10), 0 2px 10px rgba(23,78,124,0.09);
  transform: translateY(-4px);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Features and icon blocks */
.features, .category-icons, .category-tabs, .quick-filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(23,78,124,0.03);
  color: var(--text-main);
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.06rem;
  text-align: center;
}
.testimonial-card strong {
  color: var(--accent);
}

/* Lists and Feature Grids */
.content-wrapper ul, .service-list, .product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding: 0;
  margin: 0 0 0 0;
}
.content-wrapper ul > li, .category-icons li {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin-bottom: 0;
  box-shadow: 0px 1.5px 6px rgba(23,78,124,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 260px;
  gap: 10px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.content-wrapper ul > li:hover, .category-icons li:hover {
  box-shadow: 0 6px 20px rgba(43,178,193,0.08);
  transform: translateY(-4px);
}
.category-icons {
  display: flex;
  gap: 28px;
  margin-top: 12px;
  align-items: center;
  justify-content: flex-start;
}
.category-icons li img {
  display: block;
  width: 52px;
  height: 52px;
}
.category-tabs {
  gap: 14px;
  margin-bottom: 16px;
}
.category-tab {
  padding: 7px 22px;
  background: var(--secondary);
  border-radius: 32px;
  border: 1px solid var(--grey);
  font-family: 'Montserrat',sans-serif;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.category-tab:hover, .category-tab.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.quick-filter-controls {
  align-items: center;
  margin-top: 20px;
}
.quick-filter-controls span {
  font-weight: 500;
  margin-right: 6px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 13px 28px;
  min-width: 120px;
  border-radius: 32px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  letter-spacing: 0.015em;
  cursor: pointer;
  box-shadow: 0 1.5px 4px rgba(23,78,124,0.04);
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.primary-btn {
  background: var(--primary);
  color: var(--white);
}
.primary-btn:hover, .primary-btn:focus {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1.5px) scale(1.03);
}
.secondary-btn {
  background: var(--accent);
  color: var(--white);
}
.secondary-btn:hover, .secondary-btn:focus {
  background: var(--primary);
  color: var(--white);
}
.link-btn {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  padding: 0 6px;
  border-radius: 8px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: none;
}
.link-btn:hover, .link-btn:focus {
  background: var(--grey-light);
  color: var(--primary);
  text-decoration: none;
}
.filter-btn {
  background: var(--grey-light);
  color: var(--text-main);
  border: 1px solid var(--grey);
  border-radius: 24px;
  padding: 6px 18px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 3px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* === HEADER & NAVIGATION === */
header {
  position: relative;
  background: var(--white);
  box-shadow: 0 1px 16px rgba(23,78,124,0.04);
  z-index: 33;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.logo img {
  height: 42px;
  display: block;
  margin-right: 14px;
  transition: filter 0.2s;
}
/* Desktop Main Nav */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
}
.main-nav a {
  padding: 6px 16px;
  border-radius: 24px;
  color: var(--text-main);
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: var(--accent);
}
header .btn.primary-btn {
  margin-left: 20px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  font-size: 2.1rem;
  padding: 10px 18px;
  border-radius: 36px;
  border: 0;
  transition: background 0.17s;
  margin-left: 12px;
  z-index: 1003;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(23,78,124,0.11);
  padding: 28px 24px;
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.45,.13,.55,.87);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--grey-light);
  border-radius: 50%;
  padding: 8px 16px;
  align-self: flex-end;
  margin-bottom: 30px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover {
  background: var(--accent);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.18rem;
  padding: 11px 0;
  color: var(--primary);
  border-radius: 20px;
  background: transparent;
  transition: background 0.2s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--secondary);
  color: var(--accent);
}

/* --- Responsive Header & Nav --- */
@media (max-width: 992px) {
  .container {
    max-width: 100vw;
    padding: 0 18px;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav, header .btn.primary-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Main & Section Styles --- */
main {
  padding: 30px 0 0 0;
}

/* --- Footer Styles --- */
footer {
  background: var(--secondary);
  border-top: 1px solid var(--grey);
  padding: 40px 0 18px 0;
  font-size: 0.98rem;
}
footer .container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Roboto',sans-serif;
  font-size: 1rem;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover {
  background: var(--accent);
  color: var(--white);
}
.footer-info {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
  font-family: 'Roboto',sans-serif;
  margin-top: 6px;
}
.footer-info address {
  font-style: normal;
  color: var(--text-main);
  font-weight: 500;
}
.footer-info a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-info a:hover {
  color: var(--accent);
}

/* --- Form Styles --- */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
label {
  font-weight: 500;
  color: var(--text-main);
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: var(--secondary);
  border: 1.5px solid var(--grey);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--accent);
}
textarea {
  resize: vertical;
}
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Miscellaneous Sections & Utilities --- */
.map-iframe, .pricing-info {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 17px 14px;
  margin: 0;
}
.pricing-info p {
  color: var(--text-muted);
  font-size: 0.96rem;
}
/* Text alignment helpers */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* --- Animations && Microinteractions --- */
.btn, .main-nav a, .footer-nav a, .category-tab, .filter-btn, .card, .testimonial-card {
  transition: background 0.16s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
input, textarea, .category-tab, .filter-btn {
  transition: border 0.16s, background 0.16s, color 0.16s;
}

/* --- Responsive Styles (Mobile First) --- */
@media (max-width: 992px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 16px;
  }
  .card-container, .product-cards, .service-list {
    gap: 16px;
  }
  .category-icons {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  h2, .h2, .text-section {
    font-size: 1.18rem;
  }
  .section, section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .footer .content-wrapper {
    gap: 14px;
    flex-direction: column;
  }
  .content-wrapper ul, .card-container, .product-cards, .service-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .category-icons, .category-tabs {
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 1rem;
  }
  .mobile-menu {
    padding: 18px 12px;
    font-size: 1.1rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
}
/* Minimum gaps for all content cards/sections (MANDATORY) */
.section > *, .content-wrapper > *, .card-container > *, .product-cards > *, .service-list > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child, .card-container > *:last-child, .product-cards > *:last-child, .service-list > *:last-child {
  margin-bottom: 0;
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  border-top: 1.5px solid var(--grey);
  box-shadow: 0 -2px 24px 4px rgba(23,78,124,0.07);
  padding: 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1200;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.26s, transform 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner__text {
  flex: 1 1 auto;
  color: var(--text-main);
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 20px;
  border: none;
  padding: 10px 20px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 2px;
  transition: background 0.17s, color 0.17s, transform 0.16s;
}
.cookie-btn.secondary {
  background: var(--grey-light);
  color: var(--primary);
  border: 1.5px solid var(--grey);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
/* Responsive Banner */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    gap: 6px;
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* ============ COOKIE MODAL POPUP ============ */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 78, 124, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1250;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal__content {
  background: var(--white);
  border-radius: 14px;
  max-width: 95vw;
  min-width: 310px;
  max-width: 420px;
  padding: 32px 22px 24px 26px;
  box-shadow: 0 8px 32px rgba(23,78,124,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.6rem;
  color: var(--text-main);
  background: var(--grey-light);
  border-radius: 50%;
  padding: 5px 10px;
  border: none;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-modal__close:hover {
  background: var(--accent);
  color: var(--white);
}
.cookie-modal__heading {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}
.category-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.category-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grey);
  border-radius: 24px;
  transition: background 0.23s;
}
.category-toggle input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.17s;
}
.category-toggle input:checked + .toggle-slider::before {
  transform: translateX(16px);
}
.cookie-category--essential label {
  font-weight: 600;
  color: var(--text-main);
}
.cookie-category--essential .category-toggle {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
/* Modal mobile responsiveness */
@media (max-width: 480px) {
  .cookie-modal__content {
    min-width: 94vw;
    padding: 18px 5vw 14px 5vw;
  }
  .cookie-modal__heading {
    font-size: 1.01rem;
  }
}

/* =============== END COOKIE CONSENT ================ */

/* === Utility and Accessibility Fixes === */
[tabindex="0"], a, button, input, select, textarea {
  outline: none;
  transition: box-shadow 0.18s, border 0.18s;
}
a:focus, button:focus, .btn:focus {
  outline:2px solid var(--accent);
  outline-offset: 2px;
}

/* Hide elements visually but keep for screen readers (for accessibility) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- End of Style --- */
