/* ============================================================
   CSS RESET & NORMALIZATION
   ============================================================ */
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;
}
/* Set base box sizing */
*, *:before, *:after {
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  background: #F7FFF7;
  color: #074F57;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #074F57;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.32,.98,.52,.99);
}
a:hover, a:focus {
  color: #F2C14E;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  font-size: 1rem;
}
button {
  cursor: pointer;
}

/* ============================================================
   BRAND COLOR & TYPOGRAPHY BASE
   ============================================================ */
:root {
  --primary: #074F57;
  --secondary: #F2C14E;
  --accent: #F7FFF7;
  --gray-light: #EBEBEB;
  --gray-medium: #BBB;
  --white: #fff;
  --error: #c83333;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  background-color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.17rem;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
p, .text-section p, li {
  color: var(--primary);
  font-size: 1rem;
}

strong, b {
  font-weight: 700;
}

/* Geometric/structured appearance for lists */
ul li, ol li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 14px;
  font-size: 1rem;
}
ul li img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  position: absolute;
  left: 0;
  top: 0;
}

/* ============================================================
   CONTAINER & GRID STRUCTURE (ONLY FLEXBOX)
   ============================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
}
@media (min-width: 900px) {
  .section {
    padding: 48px 32px;
    margin-bottom: 80px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.map-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 768px) {
  .text-image-section, .map-section, .content-grid, .card-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ============================================================
   STRUCTURED CARD & SECTION STYLES
   ============================================================ */
.card, .service-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(7, 79, 87, 0.08), 0 1.5px 4px 0 rgba(7, 79, 87, 0.06);
  padding: 28px 28px 24px 28px;
  flex: 1 1 270px;
  min-width: 270px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2.5px solid var(--primary);
  position: relative;
}
.service-card:not(:last-child) {
  margin-right: 24px;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.service-card span {
  display: inline-block;
  color: var(--secondary);
  background: var(--accent);
  border-radius: 12px;
  padding: 5px 16px;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 10px 0 14px 0;
}
.service-card a {
  color: var(--primary);
  font-weight: 600;
  margin-top: 18px;
  letter-spacing: 0.01em;
  transition: color 0.15s cubic-bezier(.32,.98,.52,.99);
}
.service-card a:hover,
.service-card a:focus {
  color: var(--secondary);
}
.testimonial-card {
  background: var(--accent);
  border-left: 6px solid var(--secondary);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(7, 79, 87, 0.07);
  margin-bottom: 20px;
  max-width: 650px;
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #1d2936;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .card, .service-card {
    min-width: 90%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .service-card, .testimonial-card, .card {
    padding: 18px 12px;
    border-radius: 12px;
  }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
  width: 100%;
  background: var(--white);
  border-bottom: 2.5px solid var(--primary);
  box-shadow: 0 2px 6px 0 rgba(7, 79, 87, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
  padding: 10px 8px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  position: relative;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.main-nav .cta-btn {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 1.05rem;
  box-shadow: 0 1.5px 4px 0 rgba(0,0,0,0.02);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.3s,color 0.2s,transform 0.2s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.55rem;
  border-radius: 10px;
  padding: 5px 14px 7px 14px;
  align-items: center;
  margin-left: 10px;
  transition: background 0.16s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(7,79,87,0.04);
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================================================
   MOBILE SLIDE-IN MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.8,.26,.28,1.01);
  opacity: 1;
  box-shadow: 8px 0 44px 0 rgba(7, 79, 87, 0.22);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  font-size: 2rem;
  color: var(--secondary);
  border: none;
  line-height: 1;
  z-index: 1100;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
  background: rgba(242,193,78,0.10);
  border-radius: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  margin: 65px 0 0 0;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 15px 0 15px 0;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(247,255,247,0.13);
  width: 100%;
  transition: background 0.15s, color 0.13s;
  border-radius: 0 12px 12px 0;
  margin-bottom: 3px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
  padding-left: 14px;
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* Scrollblock when menu open */
.menu-open {
  overflow: hidden !important;
}

/* ============================================================
   BUTTONS & CTAs
   ============================================================ */
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 999px;
  padding: 12px 34px;
  margin-top: 16px;
  box-shadow: 0 2px 8px 0 rgba(7, 79, 87, 0.06);
  transition: background 0.16s, color 0.18s, transform 0.16s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.03);
}

button, .btn {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 10px;
  font-size: 1rem;
  border: none;
  transition: background 0.15s, color 0.12s, box-shadow 0.16s;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 15px 0 rgba(7,79,87,0.08);
}

/* Table Styles (pricing) */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 3px 12px 0 rgba(7,79,87,.04);
  margin-bottom: 20px;
  overflow: hidden;
  margin-top: 8px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1.5px solid var(--gray-light);
  vertical-align: top;
}
th {
  background-color: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  letter-spacing: 0.045em;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 12px 10px;
    font-size: 0.98rem;
  }
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 42px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.92;
  letter-spacing: 0.032em;
  margin-bottom: 0px;
  transition: color 0.12s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}
.footer-contact img {
  width: 44px;
  margin-bottom: 9px;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
}
.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.footer-socials img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  padding: 4px;
  transition: filter 0.16s;
}
.footer-socials a:focus img, .footer-socials a:hover img {
  background: var(--secondary);
  filter: brightness(0.95) sepia(1) hue-rotate(-30deg);
}
@media (max-width: 910px) {
  footer .container {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
  }
}

/* ============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1500;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 16px 20px 20px;
  box-shadow: 0 -3px 24px rgba(7,79,87,0.19);
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.34s cubic-bezier(.7,.29,.28,1.01), opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: background 0.14s, color 0.14s;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .btn-settings {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Cookie Modal (Popup) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(7,79,87, 0.54);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.16s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  padding: 34px 26px 26px 26px;
  box-shadow: 0 5px 36px 8px rgba(7,79,87,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 5px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: var(--gray-light);
  position: relative;
  margin-left: 4px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle-inner {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  transition: left 0.18s, background 0.14s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] .cookie-toggle-inner {
  left: 19px;
  background: var(--accent);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: var(--gray-medium);
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential .cookie-toggle-inner {
  background: var(--secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .btn {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  border: none;
}
.cookie-modal .btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}
.cookie-modal .btn-secondary {
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  border: none;
  color: var(--primary);
  border-radius: 8px;
  font-size: 1.4rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE TYPOGRAPHY & LAYOUT
   ============================================================ */
@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 38px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.44rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .section {
    margin-bottom: 28px;
    padding: 18px 2px;
    border-radius: 8px;
  }
}

/* ============================================================
   ACCESSIBILITY & MISC
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}
::-webkit-input-placeholder { color: var(--primary); opacity: 0.8; }
:-moz-placeholder { color: var(--primary); opacity: 0.8; }
::-moz-placeholder { color: var(--primary); opacity: 0.8; }
:-ms-input-placeholder { color: var(--primary); opacity: 0.8; }

/* Subtle animations for appearance */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section, .card, .service-card, .testimonial-card, .cookie-banner, .cookie-modal {
  animation: fadeInUp 0.48s cubic-bezier(.71,.22,.17,1) both;
}

/* Tables on mobile full-width scroll */
@media (max-width: 599px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-contact, .footer-nav, .footer-socials { width: 100%; }
  table {
    overflow-x: auto;
    display: block;
  }
}

/* Hide visually but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============ END ============= */
