/*== CSS RESET & NORMALIZE ==*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; }
html, body { height: 100%; }
body {
  min-height: 100%;
  font-size: 16px;
  line-height: 1.7;
  background: #f7f8fa;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #20466c;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #f7a440;
  text-decoration: underline;
  outline: none;
}

/*== BRAND FONTS ==*/
:root {
  --primary: #20466c;
  --secondary: #f3f6fb;
  --accent: #f7a440;
  --text-dark: #222;
  --text-medium: #454e5e;
  --text-light: #7a889c;
  --surface: #fff;
  --border: #e0e4ea;
  --shadow-soft: 0 2px 8px rgba(32,70,108,0.08);
  --radius: 9px;
}

body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: var(--secondary);
  color: var(--text-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 { font-size: 2.7rem; margin-bottom: 26px; line-height: 1.1; }
h2 { font-size: 2.0rem; margin-bottom: 20px; line-height: 1.18; }
h3 { font-size: 1.34rem; margin-bottom: 14px; line-height: 1.22; }
h4, h5, h6 { font-size: 1.08rem; margin-bottom: 10px; }
p, .text-section p, ul, ol { color: var(--text-medium); margin-bottom: 18px; font-size: 1rem; }
strong, b {
  font-weight: bold;
  color: var(--primary);
}

/*== LAYOUT CONTAINERS ==*/
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
}
.text-section {
  background: none;
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.14s;
}
.card:hover,
.card:focus {
  box-shadow: 0 6px 18px rgba(32,70,108,0.13);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/*== HERO STYLES ==*/
.hero {
  background: linear-gradient(120deg, var(--secondary) 75%, #e8ecf3 100%);
  margin-bottom: 0;
  padding: 60px 0 50px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 22px;
  color: var(--text-light);
}

/*== CTA SECTION ==*/
.cta {
  background: linear-gradient(90deg, #fff 60%, #f3f6fb 100%);
  border-radius: var(--radius);
  margin-top: 30px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-soft);
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/*== BUTTONS ==*/
.cta-btn, .cta-btn-section .cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  border-radius: 24px;
  border: 2px solid var(--primary);
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(247,164,64,0.07);
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.16s, color 0.16s, border 0.2s, box-shadow 0.18s;
  text-align: center;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(32,70,108,0.13);
  outline: none;
}

/*== MAIN NAVIGATION ==*/
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(32,70,108,0.06);
  position: relative;
  padding-top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.main-nav > a {
  font-family: 'Georgia', serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.14s, color 0.18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--secondary);
  color: var(--accent);
  outline: none;
}
.main-nav > a.cta-btn {
  margin-left: auto;
}

.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  display: inline-block;
}

/*== MOBILE NAVIGATION ==*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 50;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(32, 70, 108, 0.93);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 22px;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.35s cubic-bezier(.91,.02,.32,1.2);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 11px 22px 0 0;
  cursor: pointer;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.18);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 48px 40px 0 0;
  gap: 13px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.19rem;
  font-family: 'Georgia', serif;
  text-align: right;
  padding: 10px 2px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}
@media (max-width: 1040px) {
  .main-nav {
    gap: 13px;
    padding: 14px 15px;
  }
  .main-nav > a {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav > a:not(:first-child) { font-size: 0.98rem; }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 10px;
    padding: 11px 6px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*== SECTION DEFAULTS & CUSTOM CLASSES ==*/
section {
  background: none;
}
.section, section:not(.hero):not(.cta):not(.confirmation) {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}
@media (max-width: 768px) {
  .section, section:not(.hero):not(.cta):not(.confirmation) {
    margin-bottom: 38px;
    padding: 25px 7px;
  }
  .hero {
    padding: 37px 0 25px 0;
  }
  .cta, .cta .content-wrapper {
    padding: 28px 8px;
    margin-top: 0;
    margin-bottom: 16px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 13px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.cta-btn-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

@media (max-width: 768px) {
  .cta-btn, .cta-btn-section .cta-btn {
    font-size: 1.02rem;
    padding: 11px 18px;
  }
  .content-wrapper {
    padding: 0;
    gap: 13px;
  }
}

/*== TESTIMONIAL CARD ==*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(32,70,108,0.11);
  margin-bottom: 24px;
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-family: 'Georgia', serif;
  font-style: italic;
  margin-bottom: 7px;
  text-align: center;
}
.testimonial-card span {
  color: var(--text-medium);
  font-family: 'Georgia', serif;
  font-size: 0.98rem;
  text-align: center;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 30px rgba(32,70,108,0.17);
}

/*== FAQ ==*/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.faq-item {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 17px 19px;
  margin-bottom: 0;
  transition: box-shadow 0.15s;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 5px 14px rgba(247,164,64,0.16);
}
.faq-item h3 {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-weight: 600;
  font-size: 1.10rem;
  margin-bottom: 9px;
}
.faq-item p {
  color: var(--text-medium);
  font-size: 1rem;
  margin-bottom: 0;
}

/*== FOOTER ==*/
footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-links a {
  color: var(--primary);
  font-family: 'Georgia', serif;
  font-size: 0.98rem;
  margin-right: 10px;
  margin-bottom: 7px;
  border-radius: 5px;
  padding: 2px 7px;
  transition: color 0.16s, background 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent);
  background: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 215px;
  color: var(--text-light);
  font-size: 0.97rem;
  font-family: 'Georgia', serif;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  height: 21px;
  width: 21px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .footer-links, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

/*== CONTACT PAGE ==*/
.contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-medium);
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  margin-bottom: 11px;
  color: var(--text-medium);
}

.map-svg {
  margin-top: 12px;
  text-align: center;
}

/* SPECIFIC LAYOUTS */
.confirmation .content-wrapper {
  max-width: 680px;
  padding: 30px 10px;
  margin: 0 auto;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
}

/*== COOKIE CONSENT BANNER + MODAL ==*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -3px 12px rgba(32,70,108,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 18px;
  z-index: 200;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  transition: transform 0.38s cubic-bezier(.71,.01,.4,1.37), opacity 0.19s;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 610px;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.button-cookie, .button-cookie-settings {
  padding: 8px 24px;
  border-radius: 22px;
  border: 2px solid var(--primary);
  font-size: 1rem;
  font-family: 'Georgia', serif;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border 0.15s;
  cursor: pointer;
}
.button-cookie:hover, .button-cookie:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.button-cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.button-cookie-settings:hover, .button-cookie-settings:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  outline: none;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    font-size: 0.96rem;
    padding: 15px 9px;
  }
  .cookie-banner__actions {
    gap: 8px;
    justify-content: flex-end;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,70,108,0.42);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 42px rgba(32,70,108,0.19);
  min-width: 325px;
  max-width: 97vw;
  width: 410px;
  padding: 35px 30px 24px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Georgia', serif;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  outline: none;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 13px;
  color: var(--primary);
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-modal-category label {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: var(--text-dark);
  letter-spacing: 0.1px;
}
.cookie-modal-category input[type=checkbox] {
  appearance: none;
  border: 2px solid var(--accent);
  width: 21px;
  height: 21px;
  border-radius: 6px;
  transition: background 0.18s, border 0.16s;
  margin-right: 5px;
}
.cookie-modal-category input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px #faf0e4;
}
.cookie-modal-category input:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.modal-cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}
.modal-cookie-actions .button-cookie {
  min-width: 105px;
}

/*== LIST ICON STYLE ==*/
ul li, ol li {
  position: relative;
  padding-left: 34px;
}
ul li img, ol li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
@media (max-width: 600px) {
  ul li, ol li {
    padding-left: 27px;
  }
  ul li img, ol li img {
    width: 16px;
    height: 16px;
  }
}

/*== MISC & UTILS ==*/
::-webkit-input-placeholder { color: var(--text-light); }
::-moz-placeholder { color: var(--text-light); }
:-ms-input-placeholder { color: var(--text-light); }
::placeholder { color: var(--text-light); }

@media (max-width: 600px) {
  .container { padding: 0 7px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
}

/*== TRANSITIONS & MICROINTERACTIONS ==*/
a, .cta-btn, .button-cookie, .button-cookie-settings, .faq-item, .card, .testimonial-card {
  transition: box-shadow 0.13s, background 0.16s, color 0.12s, border 0.13s;
}

/*== CARD LAYOUT (for future feature/image cards) ==*/
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 23px 19px;
  min-width: 220px;
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}
/*== Cards grid/layout ==*/
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 36px;
}

/*== ACCESSIBILITY FOCUS OUTLINES ==*/
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/*== Hide visually but keep accessible 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 CSS ==*/
