/* ===== 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F8F3;
  color: #1B5968;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #1B5968;
  --secondary: #8FC0A9;
  --accent: #F7F8F3;
  --gradient: linear-gradient(90deg, #8FC0A9 0%, #1B5968 100%);
  --text-main: #1B5968;
  --text-on-accent: #2C3A47;
  --shadow: 0 4px 24px 0 rgba(30,70,104,0.07);
  --radius: 18px;
  --radius-sm: 8px;
  --radius-lg: 36px;
  --transition: all 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--accent);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
p, ul, li {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

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

/* ===== HEADER/NAV BAR ===== */
header {
  width: 100%;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(27,89,104,0.1);
  position: relative;
  z-index: 12;
}
header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 18px 20px;
  gap: 18px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  position: relative;
  transition: color 0.24s;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(90deg, #1B5968 60%, #8FC0A9 100%);
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  box-shadow: 0 2px 14px 0 rgba(27,89,104,0.10);
  margin-left: 16px;
  transition: var(--transition);
  border: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #8FC0A9 0%, #1B5968 100%);
  color: var(--primary);
  box-shadow: 0 4px 24px 0 rgba(30,70,104,0.14);
}
.cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  margin-top: 24px;
  transition: var(--transition);
  box-shadow: 0 2px 8px 0 rgba(27,89,104,0.06);
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  border: none;
  z-index: 21;
  margin-left: 12px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(27,89,104,0.13);
  z-index: 199;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.24s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 202;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 13px 0;
  transition: color 0.22s;
  width: 100vw;
  text-align: center;
  border-bottom: 1px solid #e7ecec;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, #8FC0A9 18%, #F7F8F3 90%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 260px;
  margin-bottom: 52px;
  box-shadow: 0 8px 48px 0 rgba(27,89,104,0.05);
  display: flex;
  align-items: center;
  padding: 60px 0 64px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* ===== FLEX SPACING PATTERNS ===== */
.card-container, .features-grid, .services-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  min-width: 260px;
  transition: box-shadow 0.23s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(27,89,104,0.12);
  transform: translateY(-6px) scale(1.02);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.testimonial-card {
  background: #fff;
  color: #1B5968;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px 0 rgba(27,89,104,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 520px;
  transition: box-shadow 0.20s;
}
.testimonial-card p {
  color: #1B5968;
  margin-bottom: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

.features-grid {
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  max-width: 320px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  transition: box-shadow 0.19s, background 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature:hover, .feature:focus-within {
  background: #F2FCF9;
  box-shadow: 0 6px 24px 0 rgba(27,89,104,0.12);
}
.services-grid {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.service-card strong {
  color: var(--primary);
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(27,89,104,0.12);
  transform: scale(1.015);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info {
  background: #F5F9F9;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

ul {
  margin-bottom: 12px;
  padding-left: 22px;
}
ul li {
  position: relative;
  margin-bottom: 5px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 100%;
  margin-right: 12px;
  vertical-align: baseline;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(88deg, #1B5968 60%, #8FC0A9 100%);
  color: #fff;
  padding: 50px 0 36px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -8px 32px 0 rgba(27,89,104,0.07);
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-branding img {
  height: 42px;
}
.footer-branding span {
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
  position: relative;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  height: 30px;
  width: 30px;
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  box-shadow: 0 4px 24px 0 rgba(27,89,104,0.14);
  background: #F7F8F3;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -4px 18px 0 rgba(27,89,104,0.10);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 10px 18px 10px;
  flex-wrap: wrap;
  gap: 16px;
  transition: transform 0.32s, opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--primary);
  margin: 0 8px 0 0;
  flex: 1 0 180px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  margin-right: 7px;
  margin-top: 7px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  font-size: 1rem;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .reject {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F5F9F9;
  color: var(--secondary);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  color: var(--primary);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 48, 58, 0.28);
  z-index: 1099;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 6px 38px 0 rgba(27,89,104,0.21);
  padding: 32px 26px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1110;
  position: relative;
  animation: cookieModalFadeIn 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.3rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-modal .toggle {
  width: 38px;
  height: 22px;
  background: #e3efef;
  border-radius: 18px;
  position: relative;
  transition: background 0.2s;
  margin-right: 8px;
}
.cookie-modal .toggle input[type="checkbox"] {
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  position: absolute;
  left: 0; top: 0;
}
.cookie-modal .toggle .thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 100%;
  background: var(--secondary);
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.08);
  transition: left 0.18s, background 0.12s;
}
.cookie-modal .toggle input:checked + .thumb {
  left: 18px;
  background: var(--primary);
}
.cookie-modal .toggle input:disabled + .thumb {
  background: #b8ccc6;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1px;
}
.cookie-modal .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {
  background: var(--primary);
}
.cookie-modal .close {
  background: transparent;
  color: var(--primary);
  margin-right: 16px;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: var(--secondary);
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #81a69e; }
::-moz-placeholder { color: #81a69e; }
:-ms-input-placeholder { color: #81a69e; }
::placeholder { color: #81a69e; }

/* ====== MEDIA QUERIES ====== */
@media (max-width: 1024px) {
  .footer-branding span {
    font-size: 0.97rem;
  }
  .main-nav a {
    font-size: 0.98rem;
    padding: 3px 0;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .card, .service-card, .testimonial-card {
    min-width: 180px;
    max-width: 99vw;
    padding: 19px 12px;
  }
  .feature {
    min-width: 120px;
    max-width: 99vw;
    padding: 16px 8px;
  }
  .footer-branding img {
    height: 32px;
  }
  .footer-social a img {
    height: 24px;
    width: 24px;
  }
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.46rem; }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-grid, .features-grid, .card-container, .services-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 29px 6px;
    margin-bottom: 35px;
  }
  .card, .service-card, .testimonial-card {
    padding: 13px 9px;
  }
  .hero {
    padding: 35px 0 32px 0;
    min-height: 140px;
    margin-bottom: 35px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .footer-branding {
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    align-items: flex-start;
  }
  .footer-branding span {
    font-size: 0.89rem;
    margin-top: 4px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 6px 15px 6px;
  }
  .footer-branding img {
    height: 23px;
  }
  .footer-social a img {
    height: 17px; width: 17px;
  }
  .footer-nav a {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===== SCROLLBAR ===== */
html {
  scrollbar-color: var(--secondary) #e7ecec;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 7px;
  background: #e7ecec;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 9px;
}

/* ===== ANIMATIONS ===== */
.card, .feature, .service-card, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.17s, background 0.2s;
}
.cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}

/* ===== FORM/INPUTS ===== */
input, textarea, select {
  width: 100%;
  border: 1.5px solid #e7ecec;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 1rem;
  color: var(--primary);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* ===== UTILITY ===== */
.mb-20 { margin-bottom: 20px; }
.mt-24 { margin-top: 24px; }
.mr-12 { margin-right: 12px; }
.pt-10 { padding-top: 10px; }
.pb-10 { padding-bottom: 10px; }
.d-flex {
  display: flex;
}

/* ===== END OF STYLE.CS ===== */
