/* === CSS RESET & BASE === */
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;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {display:block;}
body {line-height:1;}
ol,ul {list-style:none;}
blockquote,q {quotes:none;}
blockquote:before,blockquote:after,q:before,q:after {content:'';content:none;}
table {border-collapse:collapse;border-spacing:0;}


/* === CSS CUSTOM PROPERTIES === */
:root {
  --clr-primary: #23406D;
  --clr-primary-rgb: 35,64,109;
  --clr-secondary: #A9C4B3;
  --clr-accent: #FFFFFF;
  --clr-focus: #1774de;
  --clr-bg: #f7fafc;
  --clr-card-bg: #fff;
  --clr-creative1: #FF7C7C; /* Vibrant red-pink */
  --clr-creative2: #EFCC47; /* Warm yellow */
  --clr-creative3: #54D8B6; /* Aqua green */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-1: 0 6px 24px rgba(35,64,109,0.10), 0 1.5px 8px rgba(169,196,179,0.16);
  --shadow-2: 0 2px 8px rgba(35,64,109,0.07);
  --transition-md: all 0.3s cubic-bezier(.51,.02,.52,1.02);
  --radius: 18px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
}

body {
  font-family: var(--font-body);
  color: #273747;
  background: var(--clr-bg);
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, .hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--clr-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 3px 32px rgba(169,196,179,0.10);
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--clr-creative1);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.hero .subheadline,
.subheadline {
  font-family: var(--font-body);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--clr-creative3);
  margin-bottom: var(--space-md);
  letter-spacing: 0.01em;
}
p {
  margin-bottom: var(--space-sm);
  color: #405060;
}
strong { font-weight: bold; }

ul, ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  color: #405060;
}
li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}
a {
  color: var(--clr-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus { color: var(--clr-creative2); }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

/* === HEADER === */
header {
  width: 100%;
  background: var(--clr-card-bg);
  box-shadow: var(--shadow-2);
  padding: var(--space-xs) 0;
  z-index: 1000;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.logo img {
  max-height: 48px;
  display: block;
}
nav.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--clr-primary);
  font-size: 1rem;
  padding: 2px 0;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: var(--clr-creative1);
  border-bottom: 2.5px solid var(--clr-creative2);
}
.cta-button {
  background: var(--clr-creative1);
  color: #fff;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 24px rgba(255,124,124,0.14);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.2s, transform 0.15s;
  margin-left: var(--space-xs);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 10;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 32px rgba(239,204,71,0.12);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--clr-creative3);
  border: none;
  color: var(--clr-primary);
  font-size: 2.4rem;
  padding: 0 18px;
  margin-left: var(--space-sm);
  border-radius: 12px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(84,216,182,0.16);
  transition: background 0.15s, color 0.15s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,64,109,0.94);
  color: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.51,.02,.67,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: var(--space-lg) var(--space-md) var(--space-md) var(--space-md);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin-bottom: var(--space-md);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 1.25rem;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 0;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.14s, background 0.13s;
  border-radius: 4px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--clr-creative1);
  background: rgba(255,255,255,0.09);
}

/* === HERO SECTION === */
.hero {
  background: var(--clr-primary);
  background-image: repeating-linear-gradient(-4deg, var(--clr-primary) 0px, var(--clr-primary) 490px, var(--clr-creative2) 510px);
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  box-shadow: 0 3px 32px rgba(35,64,109,0.12);
  position: relative;
  overflow: hidden;
}
.hero .container {
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: var(--space-lg);
}
.hero h1, .hero .subheadline {
  color: #fff;
  text-align: center;
}
.hero .cta-button {
  background: var(--clr-creative2);
  color: var(--clr-primary);
  box-shadow: 0 2px 24px rgba(239,204,71,0.18);
}
.hero .cta-button:hover,
.hero .cta-button:focus {
  background: #fff;
  color: var(--clr-creative1);
}

/* === SECTIONS & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}

/* Specific for .section if class used explicitly */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === FLEXBOX DESIGN PATTERNS === */
.feature-grid,
.card-container,
.card-grid,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid {
  gap: 32px;
}
.card-container {
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--clr-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1 1 280px;
}
.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;
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 2px 16px rgba(35,64,109,0.08);
  margin-bottom: 20px;
  flex: 1 1 330px;
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(35,64,109,0.11),0 2px 12px rgba(255,124,124,0.06);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(255,124,124,0.07);
  padding: 24px;
  min-width: 224px;
  flex: 1 1 260px;
}
.feature-item img, .feature-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  background: var(--clr-creative3);
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 1px 6px rgba(84,216,182,0.09);
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-button {
  outline: none;
  border: none;
  transition: var(--transition-md);
}
button:focus, .cta-button:focus {
  box-shadow: 0 0 0 3px rgba(35,64,109,0.18);
}

/* === SERVICES LIST & TABLE === */
.service-list li {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  border-radius: var(--radius);
  padding: 26px 24px 20px 28px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  box-shadow: 0 2px 18px rgba(169,196,179,0.12);
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list li:last-child {
  margin-bottom: 0;
}
.service-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.14rem;
  color: var(--clr-creative3);
  margin-top: var(--space-xs);
}

.service-table {
  width: 100%;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-table th, .service-table td {
  font-family: var(--font-body);
  text-align: left;
  padding: 14px 12px;
  font-size: 1.02rem;
}
.service-table thead th {
  background: var(--clr-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.service-table tbody tr:nth-child(even) {
  background: var(--clr-secondary);
}
.service-table tbody tr:nth-child(odd) {
  background: #fff;
}


/* === FOOTER === */
footer {
  width: 100%;
  background: var(--clr-primary);
  color: #fff;
  padding: 42px 0 22px 0;
  box-shadow: 0 -3px 26px rgba(35,64,109,0.13);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-logo img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 34px;
  margin-bottom: 2px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 500;
  text-decoration: underline;
  letter-spacing: 0.01em;
  transition: color 0.17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--clr-creative2);
}
.footer-contact {
  font-size: 0.97rem;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: #e6eeff;
  opacity: 0.86;
}
.footer-contact img {
  width: 18px;
  margin-right: 4px;
  vertical-align: middle;
}

/* === TEXT SECTION === */
.text-section {
  margin-bottom: var(--space-lg);
  color: #33425E;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.text-section h2 {
  color: var(--clr-creative2);
  margin-bottom: 9px;
}
.text-section ul {
  margin-top: 7px;
  margin-bottom: 0;
}

/* === CONTACT INFO === */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: var(--space-md);
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--clr-primary);
  border-radius: var(--radius);
  padding: 10px 18px;
  min-width: 200px;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(35,64,109,0.05);
}
.contact-info img {
  width: 23px;
  height: 23px;
}

/* === TESTIMONIALS === */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 9px;
}
.testimonial-meta {
  color: var(--clr-creative1);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* === ANIMATIONS === */
.cta-button, .card, .feature-item, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.17s, transform 0.22s, background 0.19s, color 0.17s, opacity 0.21s;
}
.card:hover, .feature-item:hover {
  transform: translateY(-6px) scale(1.02) rotate(-1.1deg);
  box-shadow: 0 8px 36px rgba(239,204,71,0.15), 0 2px 12px rgba(84,216,182,0.09);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--clr-primary);
  border-top: 3px solid var(--clr-creative2);
  box-shadow: 0 -2px 24px rgba(35,64,109,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 30px 22px 20px;
  min-height: 70px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.28s, transform 0.36s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner__message {
  font-size: 1rem;
  font-family: var(--font-body);
  flex: 1 1 auto;
  margin-right: 22px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  background: var(--clr-creative2);
  color: var(--clr-primary);
  border-radius: 22px;
  padding: 8px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.19s, color 0.19s, transform 0.14s;
}
.cookie-btn--accept {
  background: var(--clr-creative3);
  color: var(--clr-primary);
}
.cookie-btn--reject {
  background: var(--clr-creative1);
  color: #fff;
}
.cookie-btn--settings {
  background: #fff;
  border: 1.7px dashed var(--clr-primary);
  color: var(--clr-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--clr-creative1);
  color: #fff;
  transform: scale(1.07) translateY(-1px);
}
.cookie-btn--settings:hover,
.cookie-btn--settings:focus {
  background: var(--clr-creative2);
  color: var(--clr-primary);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal__backdrop {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(35,64,109,0.28);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal__backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left:50%; top:50%;
  transform: translate(-50%,-50%) scale(0.92);
  background: #fff;
  color: var(--clr-primary);
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(35,64,109,0.21);
  z-index: 10002;
  width: 95%;
  max-width: 410px;
  padding: 34px 24px 26px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.27s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--clr-primary);
  font-family: var(--font-display);
  margin-bottom: 13px;
  font-weight: 700;
}
.cookie-category {
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category label {
  flex: 1;
  color: var(--clr-primary);
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--clr-creative2);
  width: 20px;
  height: 20px;
  margin-right: 0;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 22px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1050px) {
  .feature-grid, .testimonial-list, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  .content-wrapper {
    max-width: 99vw;
    padding: 0;
  }
}
@media (max-width: 930px) {
  .feature-grid, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .feature-grid,.testimonial-list,.card-container,.content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    max-width: 100vw;
    padding: 0;
  }
  section {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .hero {
    min-height: 190px;
  }
  .hero .content-wrapper {
    gap: var(--space-md);
  }
  .testimonial-card, .feature-item {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  .service-table th, .service-table td {
    font-size: 0.97rem;
    padding: 9px 6px;
  }
}
/* Hamburger z-index priority fix for iOS Safari */
@media (max-width: 540px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xs);
  }
  .hero h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .cta-button {
    font-size: 0.97rem;
    padding: 10px 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    min-height: 80px;
  }
  .cookie-banner__message {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: flex-start;
  }
}

/* === UTILITY CLASSES === */
.hide { display: none !important; }
.visible { display: block !important; }

/* === PRINT STYLES === */
@media print {
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .cta-button, .cookie-banner, .mobile-menu { display: none !important; }
  section, main { box-shadow: none !important; background: #fff !important; }
}
