/* === 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;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F1FAEE;
  color: #222;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #457B9D;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.8em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid #dedede;
}
th {
  background: #EAF3F6;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  color: #1D3557;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
p, li, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, .hero, .features, .services, .pricing, .testimonials, .cta, .faq, .tips, .case-studies, .legal, .text-section, .confirmation, .contact, .map {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 rgba(29, 53, 87, 0.06);
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #EBEBEB;
  box-shadow: 0 2px 10px 0 rgba(29,53,87,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
.main-nav a {
  font-family: 'Roboto Slab', serif;
  padding: 8px 0;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color 0.15s;
  position: relative;
}
.main-nav a:after {
  display: block;
  content: '';
  border-bottom: 2px solid transparent;
  width: 0;
  transition: width 0.2s, border-color 0.2s;
  margin: 0 auto;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 70%;
  border-color: #457B9D;
}
.btn-primary {
  padding: 10px 28px;
  background: #1D3557;
  color: #fff !important;
  border: none;
  border-radius: 7px;
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 1px 8px 0 rgba(29, 53, 87, 0.07);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-left: 16px;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #457B9D;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 18px 0 rgba(69, 123, 157, 0.13);
}


/* === BURGER MENU (Mobile navigation) === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1D3557;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.2s;
  z-index: 202;
  padding: 4px 8px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #457B9D;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29, 53, 87, 0.97);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.8,0.2,0.22,1);
  align-items: stretch;
  justify-content: flex-start;
  z-index: 201;
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #F1FAEE;
  font-size: 2.5rem;
  margin: 10px 20px 5px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A3D5DD;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  color: #F1FAEE;
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  transition: color .15s, background .15s, border-radius .10s;
  border-radius: 7px;
  width: fit-content;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #457B9D;
  background: #F1FAEE;
}

/* === HERO + MAIN SECTIONS === */
.hero {
  background: #EAF3F6;
  border-radius: 16px;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 240px;
}
.hero h1 {
  font-size: 2.6rem;
  letter-spacing: .01em;
  margin-bottom: 20px;
  color: #1D3557;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 26px;
  color: #38434D;
  max-width: 600px;
}

/* === FEATURES === */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #F7FAFC;
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 0;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  min-width: 240px;
  box-shadow: 0 1px 6px 0 rgba(69, 123, 157, 0.04);
}
.features ul img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* === SERVICES === */
.service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  justify-content: space-between;
}
.service-item {
  background: #F8F9FA;
  border: 1px solid #EAF3F6;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(69, 123, 157, 0.04);
  padding: 24px 20px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 330px;
  transition: box-shadow .2s, border-color .2s, transform .18s;
}
.service-item h3, .service-item h2 {
  color: #1D3557;
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.service-item p {
  color: #27384A;
  min-height: 48px;
  margin-bottom: 6px;
}
.service-item .price {
  align-self: flex-end;
  color: #457B9D;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: auto;
  background: #EAF3F6;
  padding: 5px 14px;
  border-radius: 6px;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 3px 22px 0 rgba(29,53,87,0.10);
  border-color: #B8DBEC;
  transform: translateY(-2px) scale(1.018);
}

/* === TESTIMONIALS & CASE STUDIES === */
.testimonials, .case-studies {
  background: #F6F7FA;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 11px;
  border: 1px solid #DEECEE;
  box-shadow: 0 1px 10px 0 rgba(29, 53, 87, 0.06);
  max-width: 600px;
  color: #23282B;
}
.testimonial-card p {
  font-family: 'Roboto Slab', serif;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 0;
  color: #1D3557;
  line-height: 1.5;
}
.testimonial-card .author {
  color: #457B9D;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
}
.case-study {
  margin-bottom: 32px;
  background: #F8F9FB;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 1px 10px 0 rgba(29, 53, 87, 0.05);
  border-left: 5px solid #457B9D;
}
.case-study h2 {
  font-size: 1.25rem;
  color: #1D3557;
  background: none;
}

/* === CTA === */
.cta {
  text-align: center;
  background: #DCF3FF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(69, 123, 157, 0.05);
}
.cta .btn-primary {
  margin: 18px auto 0 auto;
  display: inline-block;
  font-size: 1.05rem;
  min-width: 190px;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-item {
  flex: 1 1 320px;
  background: #FAFCFD;
  border: 1px solid #EAF3F6;
  border-radius: 9px;
  padding: 22px 20px;
  box-shadow: 0 1px 6px 0 rgba(69, 123, 157, 0.06);
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow .2s, border-color .2s, transform .18s;
}
.faq-item h3 {
  font-size: 1.06rem;
  color: #1D3557;
}
.faq-item p {
  margin-bottom: 0;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 3px 22px 0 rgba(29,53,87,0.10);
  border-color: #B8DBEC;
  transform: translateY(-2px) scale(1.014);
}

/* === PRICING TABLE === */
.pricing table {
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 28px;
  margin-top: 12px;
  box-shadow: 0 1px 7px 0 rgba(29, 53, 87, 0.05);
}
.pricing th {
  font-size: 1rem;
}
.pricing td {
  font-size: 0.98rem;
}

/* === LEGAL SECTIONS === */
.legal ul {
  margin-bottom: 1em;
  margin-top: 0.7em;
}

/* === FOOTER === */
footer {
  background: #1D3557;
  padding: 40px 0 26px 0;
  color: #fff;
  border-top: 6px solid #457B9D;
  font-size: 0.97rem;
  letter-spacing: .01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .logo-mark {
  height: 40px;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-left: 18px;
}
footer nav.footer-nav a {
  color: #F1FAEE;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.18s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  color: #A3D5DD;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #E4EAF1;
  font-size: 0.96em;
}
footer img {
  height: 32px;
  margin-bottom: 12px;
}

/* === ADDRESS DETAILS ETC === */
.address-details {
  background: #EDF6F8;
  border-left: 4px solid #457B9D;
  padding: 18px 26px;
  margin-top: 18px;
  border-radius: 7px;
  font-size: 1.03rem;
  color: #1D3557;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* === CONFIRMATION PAGE === */
.confirmation {
  background: #F6FBF9;
  border-radius: 18px;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.confirmation .btn-primary {
  margin: 30px auto 0 auto;
  display: inline-block;
  font-size: 1.08rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1150px) {
  .container {
    max-width: 99vw;
  }
  .service-list, .service-grid, .features ul, .faq-list, .footer .container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .service-list, .service-grid, .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
} 
@media (max-width: 768px) {
  .content-wrapper, .section, .hero, .features, .services, .pricing, .testimonials, .cta, .faq, .tips, .case-studies, .legal, .text-section, .confirmation, .contact, .map {
    padding: 26px 7px !important;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .service-list, .service-grid, .features ul, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card, .faq-item, .service-item, .case-study {
    max-width: 99vw;
    min-width: unset;
  }
  .footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.18rem;
  }
  h2 {
    font-size: 1.06rem;
  }
  .logo img, footer img {
    height: 30px;
  }
  .testimonial-card, .faq-item, .service-item, .case-study {
    padding: 12px 8px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 68px;
  background: #fff;
  color: #222;
  box-shadow: 0 -2px 16px 0 rgba(29,53,87,0.09);
  border-top: 2px solid #B8DBEC;
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  font-size: 1rem;
  animation: slidein-bottom .7s cubic-bezier(.43,.04,.64,.95);
}
@keyframes slidein-bottom {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #222;
}
.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, box-shadow .16s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #1D3557;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(29,53,87,0.08);
}
.cookie-btn.reject {
  background: #EBEBEB;
  color: #1D3557;
}
.cookie-btn.settings {
  background: transparent;
  color: #457B9D;
  border: 1px solid #457B9D;
}
.cookie-btn:focus {
  outline: 2px solid #457B9D;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #457B9D;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F1FAEE;
  color: #457B9D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #DCF3FF;
  color: #1D3557;
}

/* Cookie consent - modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 401;
  background: rgba(38,54,85,0.40);
  align-items: center;
  justify-content: center;
  animation: fade-in .18s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1D3557;
  border-radius: 15px;
  max-width: 425px;
  min-width: 240px;
  width: 96vw;
  box-shadow: 0 6px 32px 0 rgba(29,53,87,0.15);
  padding: 36px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scalein .36s cubic-bezier(.71,.22,.32,.87);
}
@keyframes scalein {
  from { transform: scale(0.7); opacity:0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.21rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  height: 20px;
  width: 20px;
  accent-color: #457B9D;
}
.cookie-category input[disabled] {
  accent-color: #A0A4A8;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  min-width: 90px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 23px;
  background: none;
  color: #9DB5C9;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1D3557;
  outline: none;
}
/* === ANIMATIONS === */
.btn-primary, .service-item, .testimonial-card, .faq-item, .cookie-consent-banner, .cookie-btn, .mobile-menu {
  transition: box-shadow 0.19s, border-color 0.15s, background 0.15s, color 0.13s, transform 0.13s;
}

/* === ELEGANT CARD, SPACING, GRID === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #EAF3F6;
  box-shadow: 0 1px 8px 0 rgba(29, 53, 87, 0.07);
  border-radius: 11px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  padding: 20px 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === VISUAL HIERARCHY / UTILS === */
.text-muted {
  color: #96A5B7;
}
.bg-accent {
  background: #DCF3FF;
}
.rounded {
  border-radius: 8px;
}
.hide {
  display: none !important;
}

/* === SCROLLBAR & SELECTION === */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #B5C9DE;
  border-radius: 4px;
}
::selection {
  background: #B8DBEC;
  color: #1D3557;
}
