/* ---------------------------
   Frosty Creative Artistic 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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F8FAFC;
  color: #1d2e33;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}

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

:root {
  --primary: #155174;
  --secondary: #E8F0F6;
  --accent: #FFB047;
  --offwhite: #F8FAFC;
  --title: #14324a;
  --body: #1d2e33;
  --border: #c7d1da;
  --gray: #7c8c98;
  --radius: 18px;
  --shadow: 0 4px 28px 6px rgba(21,81,116,0.08), 0 1.5px 10px 0 rgba(21,81,116,0.06);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--offwhite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--title);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
p, li, dd {
  font-family: var(--font-body);
  font-size: 1.13rem;
  color: var(--body);
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
em {
  font-style: italic;
  color: var(--accent);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- BUTTONS & LINKS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 13px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 8px 0 rgba(255,176,71,0.10);
  transition: background 0.22s, color 0.22s, transform 0.16s;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn:hover, .btn:focus {
  background: var(--accent);
  color: #14324a;
  transform: translateY(-2px) scale(1.03) skew(-2deg, 1.2deg) rotate(-0.4deg);
  box-shadow: 0 4px 16px 2px rgba(255,176,71,0.16);
}
.read-more {
  color: var(--accent);
  font-weight: bold;
  text-decoration: underline;
  margin-left: 4px;
  transition: color 0.18s;
}
.read-more:hover, .read-more:focus {
  color: var(--primary);
}

/* --- LOGO & HEADER --- */
header {
  background: var(--secondary);
  padding: 0 0 18px 0;
  box-shadow: 0 1.5px 8px 2px rgba(21,81,116,0.03);
  position: relative;
  z-index: 29;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 12px;
}
.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.18s;
}
.logo:hover img, .logo:focus img {
  transform: rotate(-5deg) scale(1.07);
}

/* --- MAIN NAVIGATION --- */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
  font-family: var(--font-display);
}
.main-nav a {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.19s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2.5px solid var(--accent);
  color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  margin-bottom: 60px;
  padding: 60px 0 32px 0;
  background: linear-gradient(125deg, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  border-radius: 0 0 45px 45px;
  box-shadow: 0 8px 24px 0 rgba(21,81,116,0.07);
  position: relative;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(21,81,116,0.17);
}
.hero p {
  font-size: 1.13rem;
  color: #e3f3fc;
  margin-bottom: 16px;
}
.hero .btn {
  box-shadow: 0 1.5px 14px 1.5px rgba(255,176,71,0.21);
}

/* --- FLEX LAYOUT SYSTEM --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  transition: box-shadow 0.13s, transform 0.16s;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 390px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(21,81,116,0.18);
  transform: scale(1.025) skew(-0.5deg, 0.5deg);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2.5px 24px 0 rgba(21,81,116,0.06);
  min-width: 270px;
  max-width: 600px;
  border-left: 8px solid var(--accent);
}
.testimonial-card p {
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card div {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- LISTS, ICONS, PRICES --- */
ul li, ol li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  color: var(--body);
  font-size: 1.15rem;
  line-height: 1.6;
}
ul li img {
  position: absolute;
  left: 0; top: 8px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 1.5px 9px 0 rgba(21,81,116,0.12);
  padding: 3px;
}
.price {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border-radius: 9px;
  padding: 2px 12px;
  margin-left: 12px;
  font-size: 1rem;
}

/* --- FORM & INPUTS --- */
input[type="text"], input[type="email"], select {
  padding: 10px 15px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 1.09rem;
  margin: 8px 0 18px 0;
  background: #fff;
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, select:focus {
  border-color: var(--accent);
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
  font-weight: bold;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 70px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.06rem;
}
.copyright {
  font-size: 0.97rem;
  color: #e6f1ff;
  opacity: 0.74;
  margin-top: 18px;
  font-family: var(--font-body);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.3rem;
  border-radius: 9px;
  padding: 4px 15px 6px 15px;
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 41;
  border: none;
  box-shadow: 0 2.5px 14px 1.5px rgba(21,81,116,0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,50,74,0.96);
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.39s cubic-bezier(.81,-0.01,.28,1.07);
  display: flex;
  flex-direction: column;
  padding: 18px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 32px 6px 0;
  font-size: 2.3rem;
  background: transparent;
  color: var(--accent);
  border: none;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1004;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0 45px;
  margin-top: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.33rem;
  padding: 13px 12px 7px 0px;
  border-bottom: 2.5px solid transparent;
  transition: border-bottom 0.17s, color 0.15s;
  border-radius: 0 13px 13px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
  background: rgba(255,176,71,0.08);
}

/* Hide desktop nav on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 991px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
  .footer-contact {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 100vw;
  }
  .hero {
    padding: 38px 0 24px 0;
    border-radius: 0 0 28px 28px;
  }
  .hero h1 {
    font-size: 1.67rem;
  }
  .footer-contact {
    font-size: 0.96rem;
    gap: 4px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
  }
  .content-wrapper {
    gap: 17px;
  }
}

/* --- FLEX RESPONSIVENESS --- */
@media (max-width: 768px) {
  .section {
    margin-bottom: 26px;
    padding: 22px 7px;
    border-radius: 13px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100vw;
    padding: 15px 10px;
    gap: 12px;
    border-radius: 13px;
  }
  .card {
    min-width: 0;
    max-width: 100vw;
    padding: 19px 10px;
    border-radius: 13px;
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1901;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: center;
  padding: 20px 24px 22px 24px;
  box-shadow: 0 -3px 16px 1px rgba(20,50,74,0.13);
  font-family: var(--font-body);
  font-size: 1.1rem;
  border-radius: 20px 20px 0 0;
  animation: fade-in-banner 0.44s cubic-bezier(.27,.08,1,1.03);
}
@keyframes fade-in-banner {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner .btn {
  min-width: 120px;
  font-size: 1.02rem;
  margin: 0 7px 0 0;
  padding: 9px 19px;
  border-radius: 23px;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-consent-banner .btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-consent-banner .btn.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 700;
}
.cookie-consent-banner .btn.settings {
  background: var(--primary);
  color: #fff;
  font-size: 0.99rem;
  border-radius: 23px;
}
.cookie-consent-banner .btn:hover, .cookie-consent-banner .btn:focus {
  transform: translateY(-2px) scale(1.04);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1903;
  background: rgba(20,50,74,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-modal 0.32s cubic-bezier(.15,.71,.92,1.09);
}
@keyframes fade-in-modal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 26px 24px 26px;
  border-radius: 18px;
  max-width: 370px;
  width: 95vw;
  box-shadow: 0 6.5px 32px 2px rgba(21,81,116,0.17);
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: var(--font-body);
  color: var(--body);
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 7px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 9px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1.13rem;
  color: var(--primary);
  margin: 0;
  cursor: pointer;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  border-radius: 16px;
  background: #f0f6fa;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  padding: 2.5px 4px;
  cursor: pointer;
  margin-left: 11px;
  position: relative;
  transition: background 0.15s;
}
.cookie-toggle[data-enabled='true'] {
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-toggle-knob {
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 7px rgba(21,81,116,0.06);
  transition: transform 0.15s;
}
.cookie-toggle[data-enabled='true'] .cookie-toggle-knob {
  transform: translateX(14px);
}
.cookie-modal .btn {
  margin-top: 18px;
}

/* --- OTHER UI COMPONENTS: DLs, etc. --- */
dt {
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
dd {
  margin-bottom: 15px;
}

/* --- ADDITIONAL ARTISTIC DECORATIVE TOUCHES --- */
.section, .card, .testimonial-card, .cookie-modal {
  border-bottom: 8px solid var(--secondary);
  box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(130deg, rgba(255,176,71,0.05), rgba(255,176,71,0.05) 18px, transparent 18px, transparent 36px),
    #fff;
}
.testimonial-card {
  border-bottom: 8px solid var(--accent);
  border-left: 8px solid var(--accent);
  background: repeating-linear-gradient(90deg, #fffbe7, #f6fae8 35px, #fff 70px);
  box-shadow: 0 3px 32px 1px rgba(255,176,71,0.07);
}
h2, .btn.primary {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* --- SPACING CONSISTENCY --- */
.section, .card, .testimonial-card, .feature-item {
  margin-bottom: 24px;
  margin-top: 12px;
}
main > section:last-child, .section:last-child {
  margin-bottom: 0;
}
.card-container, .content-grid, .text-image-section {
  gap: 20px;
}

/* --- STATE TRANSITIONS & ANIMATIONS --- */
.card, .btn, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-toggle {
  transition: box-shadow 0.18s, background 0.16s, color 0.16s, transform 0.14s;
}

/* --- CUSTOM SCROLLBAR (modern browsers) --- */
::-webkit-scrollbar {
  width: 8px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* --- ARTISTIQUE TOUCHES ON TITLES --- */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
  margin: 9px 0 0 0;
}

/* --- ACCESSIBILITY & FOCUS --- */
a, button, .btn, input, select {
  outline: none;
}
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2.5px;
  box-shadow: 0 0 0 3px rgba(255,176,71,0.16);
}

/* --- UTILITY CLASSES --- */
.hidden {
  display: none !important;
}

/* --- Z-INDEX LAYERS --- */
header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
  z-index: 999;
}
footer {
  z-index: 10;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  main {
    margin: 0;
    padding: 0;
  }
}
