/* --- 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, main, 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;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.625;
  background: #F3F9F8;
  color: #19495A;
  font-family: 'Lato', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.57,1.4,.68,.53);
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s cubic-bezier(.68,-0.25,.27,1.25);
}

/* --- ROOT VARIABLES (with fallback) --- */
:root {
  --color-primary: #19495A;
  --color-secondary: #82B2C9;
  --color-accent: #F3F9F8;
  --color-highlight: #FFCA43;
  --color-contrast: #222930;
  --color-light: #fff;
  --color-shadow: rgba(25,73,90,0.08);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Oswald', Impact, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 4px 0 var(--color-accent), 0 0 8px #e0e8ed8f;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-contrast);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
blockquote {
  font-style: italic;
  font-size: 1.15rem;
  padding-left: 1.4rem;
  border-left: 6px solid var(--color-secondary);
  background: #e4f0f6;
  color: var(--color-primary);
  margin: 18px 0 18px 0;
  border-radius: var(--radius-md);
}
cite {
  font-style: normal;
  display: block;
  font-family: var(--font-display);
  color: var(--color-secondary);
  margin-top: 10px;
  font-size: 1rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.05rem;
    text-shadow: 1px 2px 0 var(--color-accent), 0 0 4px #d8e0e5;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 28px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--color-light);
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px var(--color-shadow);
  position: relative;
  min-width: 240px;
  padding: 24px 20px;
  transition: transform 0.15s cubic-bezier(.55,1.21,.65,1), box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-8px) scale(1.02) rotate(-1deg);
  box-shadow: 0 8px 24px rgba(25,73,90,0.18);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #e4f0f6;
  border-radius: var(--radius-md);
  padding: 18px 15px;
  min-width: 180px;
  font-size: 1.08rem;
}

/* --- HERO / CTA BUTTONS --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  min-width: 160px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 14px 36px;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  box-shadow: 0 3px 18px rgba(25,73,90,0.09);
  border: 3px solid var(--color-secondary);
  transition: background 0.22s cubic-bezier(.56,-0.2,.36,1.3), color 0.18s, box-shadow 0.18s;
  outline: none;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 3px solid var(--color-primary);
  box-shadow: 0 8px 24px rgba(25,73,90,0.24);
  letter-spacing: 0.06em;
}
.cta:hover, .cta:focus {
  background: var(--color-highlight);
  color: var(--color-contrast);
  box-shadow: 0 12px 32px rgba(130,178,201,.16);
  transform: translateY(-4px) scale(1.03) skewX(-2deg);
}

/* --- NAVIGATION (DESKTOP) --- */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 2px 12px rgba(25,73,90,0.06);
  position: relative;
  z-index: 99;
  padding: 0;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 22px 0;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:not(.cta):hover, header nav a:not(.cta):focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
header nav a.cta {
  margin-left: 10px;
}
header nav a img {
  height: 36px;
  margin-right: 16px;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 992px) {
  header nav {
    gap: 8px;
    padding: 18px 0;
  }
}
@media (max-width: 830px) {
  header nav a {
    font-size: 1rem;
    padding: 6px 10px;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--color-primary);
    color: var(--color-accent);
    border: none;
    font-size: 2rem;
    padding: 10px 16px;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 201;
    box-shadow: 0 4px 14px #19495a22;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: var(--color-highlight);
    color: var(--color-primary);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #19495ad9;
    z-index: 9999;
    padding: 0 30px;
    transform: translateX(-100%);
    transition: transform 0.37s cubic-bezier(.94,-0.04,.36,1.14);
    box-shadow: 8px 0 32px #1a4a5a28;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin: 24px 0 10px 0;
    font-size: 2.2rem;
    color: var(--color-accent);
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    color: var(--color-highlight);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
  }
  .mobile-nav a {
    color: var(--color-accent);
    background: none;
    font-family: var(--font-display);
    font-size: 1.32rem;
    padding: 18px 5px 10px 0;
    border-radius: 0 28px 28px 0;
    min-width: 160px;
    text-align: left;
    transition: background 0.17s, color 0.16s, box-shadow 0.18s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-highlight);
    color: var(--color-primary);
    box-shadow: 2px 0 8px #19495a33;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding-top: 34px;
  padding-bottom: 24px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #82b2c957;
}
.footer-contact p {
  color: var(--color-accent);
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
footer img {
  height: 44px;
  margin-bottom: 4px;
}
.copyright {
  color: var(--color-accent);
  opacity: 0.70;
  font-size: 0.98rem;
  text-align: center;
  padding: 12px 0 0 0;
  letter-spacing: 0.024em;
}
@media (max-width: 830px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer nav {
    gap: 8px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-left: 8px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px #19495a0f;
  margin-bottom: 20px;
  max-width: 600px;
  color: var(--color-contrast);
  font-size: 1.08rem;
  transition: box-shadow 0.19s cubic-bezier(.6,1.48,.34,1.11), background 0.2s;
}
.testimonial-card p {
  color: var(--color-contrast);
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card cite {
  color: var(--color-primary);
  margin-left: 0;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px #19495a18;
  background: #e4f0f6;
}
@media (max-width:768px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px 12px;
  }
}

/* --- FEATURE LISTS --- */
ul {
  padding-left: 0;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-list li, .feature-item li {
  display: flex;
  align-items: center;
  font-size: 1.045rem;
  gap: 8px;
}
ul li img {
  height: 24px;
  margin-right: 8px;
}

/* --- CONTENT CARDS & GRIDS --- */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
}

/* --- SPACING PATTERNS --- */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper:not(:last-child) {
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .card-grid, .card-container, .content-grid {
    gap: 12px;
  }
}

/* --- MICRO-INTERACTIONS --- */
a, button {
  outline: none;
}
a:focus, button:focus {
  box-shadow: 0 0 0 3px var(--color-secondary);
  background: #e9f6fa;
}

/* --- ARTISTIC ELEMENTS & EFFECTS --- */
h1, h2, h3, .cta {
  font-family: var(--font-display);
}
.section {
  border-radius: 36px 8px 36px 32px;
  box-shadow: 0 10px 42px 0 #82b2c94e;
  border: 2.5px dashed #82B2C9;
  position: relative;
  overflow: hidden;
}
.section::before {
  content: "";
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: var(--color-highlight);
  opacity: 0.16;
  border-radius: 50%;
  z-index: 1;
}
.section::after {
  content: "";
  position: absolute;
  bottom: -18px; left: -24px;
  width: 68px; height: 68px;
  background: var(--color-secondary);
  opacity: 0.20;
  border-radius: 88% 68% 88% 64%;
  z-index: 1;
}
.content-wrapper, .section, .testimonial-card, .card {
  position: relative;
  z-index: 2;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
  .container { padding: 0 4px; }
  .section { padding: 18px 4px; margin-bottom: 20px; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 4000;
  padding: 18px 32px;
  box-shadow: 0 -2px 16px #19495a63;
  animation: cookieBannerIn 0.5s cubic-bezier(.44,1.4,.65,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.04rem;
  color: var(--color-accent);
  margin: 0;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  border: none;
  margin-right: 4px;
  transition: background 0.19s, color 0.15s;
  box-shadow: 0 1px 8px #82b2c94d;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-highlight);
  color: var(--color-contrast);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 8px;
    font-size: 0.99rem;
  }
  .cookie-consent-buttons {
    flex-direction: column;
    gap: 7px;
  }
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,73,90,0.80);
  z-index: 4100;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.6s cubic-bezier(.46,1.72,.38,1);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-accent);
  color: var(--color-contrast);
  padding: 34px 26px 24px 26px;
  border-radius: 32px 10px 22px 42px;
  box-shadow: 0 8px 36px #19495a26;
  min-width: 320px;
  max-width: 96vw;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--color-primary);
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  background: #d1e8f1;
  border-radius: 30px;
  position: relative;
  margin-left: 4px;
  transition: background 0.15s;
}
.cookie-switch input[type=checkbox] {
  opacity: 0;
  width: 40px;
  height: 22px;
  position: absolute;
}
.cookie-switch-label {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 30px;
  background: #aee2ef;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch input[type=checkbox]:checked + .cookie-switch-label {
  background: var(--color-secondary);
}
.cookie-switch-slider {
  display: block;
  position: absolute;
  top: 2px; left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.15s, background 0.15s;
}
.cookie-switch input[type=checkbox]:checked + .cookie-switch-label .cookie-switch-slider {
  transform: translateX(18px);
  background: var(--color-highlight);
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 20px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  outline: none;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-highlight);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 95vw;
    padding: 22px 8px;
    border-radius: 24px 6px 14px 18px;
  }
}

/* --- FORMS, MODALS, GENERAL INTERACTIVES (for possible usage) --- */
input, select, textarea {
  border: 1.2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
  background: var(--color-accent);
  color: var(--color-primary);
  outline: none;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-highlight);
  background: #f6f1e9;
}

/* --- TABLES --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}
th, td {
  border: 1px solid #82B2C9;
  padding: 12px 10px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
}
th {
  background: #e4f0f6;
  color: var(--color-primary);
  font-weight: bold;
}

/* --- CUSTOM ARTISTIC ACCENT --- */
.cta {
  box-shadow: 0 2px 12px #19495a2e, 0 1px 0 #82b2c959 inset;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  top: -24px; right: -24px;
  width: 54px; height: 54px;
  background: var(--color-highlight);
  opacity: 0.21;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* --- SPECIAL ELEMENTS (price highlight, icons, etc.) --- */
.price {
  display: inline-block;
  background: var(--color-highlight);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 2px 11px;
  border-radius: 22px;
  font-size: 1rem;
  margin-left: 12px;
}

/* --- END --- */