/* ==== 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;
}
.features-grid img {
  width: 100px;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F7F7F9;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ==== BRAND COLORS ==== */
:root {
  --primary: #1A365D;
  --secondary: #76BA99;
  --accent: #F7F7F9;
  --white: #ffffff;
  --black: #232323;
  --border: #e6eaef;
  --shadow: rgba(26,54,93,0.08);
  --shadow-strong: rgba(26,54,93,0.15);
}

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
.subheadline {
  font-size: 1.13rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
p, li, dd {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px;
  box-shadow: 0 4px 20px var(--shadow);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 20px;
  }
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: 3px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
header img {
  height: 42px;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 26px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.18s, transform 0.2s;
  border: none;
  outline: none;
  margin-left: 8px;
  margin-right: 8px;
}
.btn.primary:hover, .btn.primary:focus {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px) scale(1.035);
}
.btn {
  background: var(--secondary);
  color: var(--white);
  border-radius: 10px;
  padding: 11px 23px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border: none;
  outline: none;
  transition: background 0.17s, transform 0.2s;
  margin-top: 14px;
  box-shadow: 0 2px 8px var(--shadow);
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  padding: 10px 14px;
  font-size: 1.8rem;
  border-radius: 10px;
  border: none;
  margin-left: 12px;
  z-index: 1030;
  transition: background 0.16s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  box-shadow: 0 4px 12px var(--shadow-strong);
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -2px 0 24px var(--shadow-strong);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--white);
  border-radius: 10px;
  background: none;
  border: none;
  margin: 16px 24px 0 0;
  padding: 8px 16px 8px 8px;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  padding: 12px 8px 10px 0;
  border-bottom: 2px solid transparent;
  border-radius: 8px;
  width: 100%;
  transition: background 0.14s, color 0.15s, border-color 0.12s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== FOOTER ==== */
footer {
  background: var(--white);
  border-top: 2px solid var(--border);
  box-shadow: 0 -2px 8px var(--shadow);
  padding: 50px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
footer img {
  height: 34px;
}
footer p {
  font-size: 0.98rem;
  color: var(--black);
  text-align: center;
  margin-top: 8px;
}

/* ==== FLEX UTILS & SPACING ==== */
.features-grid,
.services-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.features-grid > div,
.service-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 26px 26px 22px 26px;
  min-width: 255px;
  flex: 1 1 295px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid var(--border);
  transition: box-shadow 0.19s, transform 0.17s, border-color 0.14s;
  position: relative;
}
.features-grid > div:hover,
.service-card:hover {
  box-shadow: 0 8px 28px var(--shadow-strong);
  transform: translateY(-4px) scale(1.03);
  border: 2px solid var(--secondary);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 26px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--border);
  transition: box-shadow 0.16s, transform 0.12s, border-color 0.13s;
}
.card:hover {
  box-shadow: 0 8px 28px var(--shadow-strong);
  transform: translateY(-2px) scale(1.03);
  border: 2px solid var(--secondary);
}
.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;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 8px solid var(--secondary);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  position: relative;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.star-ratings, .rating-summary {
  background: var(--accent);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-top: 10px;
  margin-bottom: 6px;
  box-shadow: 0 1px 8px var(--shadow);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.usp-list, .values-list, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 8px 0;
}
.usp-list li, .values-list li, .services-list li {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 9px 19px;
  letter-spacing: 0.025em;
}

.text-section {
  background: var(--white);
  border-radius: 16px;
  padding: 22px 16px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  box-shadow: 0 1px 8px var(--shadow);
}

.map-placeholder {
  background: var(--accent);
  border: 2px dashed var(--secondary);
  border-radius: 16px;
  padding: 22px;
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .features-grid, .services-cards-grid, .usp-list, .values-list, .services-list {
    flex-direction: column;
    min-width: 0;
    gap: 17px;
  }
  .card, .features-grid > div, .service-card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .container, .content-wrapper {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .section {
    padding: 18px 4px;
    border-radius: 12px;
    margin-bottom: 22px;
  }
  .content-wrapper {
    padding: 0;
    margin: 0;
  }
  .features-grid, .services-cards-grid {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ==== PRICING TABLE ==== */
.pricing-table {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px var(--shadow);
  font-size: 1.08rem;
  border: 2px solid var(--border);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 15px 18px;
  text-align: left;
}
.pricing-table th {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.pricing-table tbody tr:nth-child(even) {
  background: var(--accent);
}
.pricing-table tr {
  border-bottom: 2px solid var(--border);
}

/* ==== FAQ ==== */
.faq-list dt {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 3px;
  font-size: 1.13rem;
  position: relative;
}
.faq-list dd {
  color: var(--black);
  margin-left: 0;
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
}
.faq-list dd:before {
  content: '\25A0';
  color: var(--secondary);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 0.65em;
}

/* ==== LINKS & INTERACTION ==== */
a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.16s;
  border-radius: 4px;
}
a:hover, a:focus {
  color: var(--secondary);
  background: var(--accent);
  outline: none;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 16px var(--shadow-strong);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 28px 26px 24px 26px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-top: 2px solid var(--secondary);
  animation: bannerSlideIn 0.42s cubic-bezier(.91,-0.03,.54,.86);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 9px 15px 10px;
    font-size: 0.98rem;
  }
}
@keyframes bannerSlideIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 8px var(--shadow);
  transition: background 0.14s, color 0.12s;
  outline: none;
}
.btn-accept {
  background: var(--secondary);
  color: var(--white);
}
.btn-accept:hover, .btn-accept:focus {
  background: var(--primary);
  color: var(--white);
}
.btn-reject {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-reject:hover, .btn-reject:focus {
  background: var(--primary);
  color: var(--white);
}
.btn-settings {
  background: var(--accent);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-settings:hover, .btn-settings:focus {
  background: var(--secondary);
  color: var(--white);
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,54,93,0.32);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.20s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  max-width: 430px;
  width: 97vw;
  padding: 30px 28px 24px 28px;
  box-shadow: 0 8px 32px var(--shadow-strong);
  border: 2px solid var(--secondary);
  animation: modalPopIn 0.42s cubic-bezier(.19,1.22,.31,1.01);
  position: relative;
  z-index: 2202;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
@keyframes modalPopIn {
  from { transform: scale(0.78); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
}
.cookie-modal label {
  font-weight: 700;
}
.cookie-modal input[type='checkbox'][disabled] {
  accent-color: var(--secondary);
  cursor: not-allowed;
  opacity: 0.8;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 3px;
  right: 8px;
  background: none;
  font-size: 1.7rem;
  padding: 8px 12px;
  color: var(--secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.13s;
  border: none;
}
.cookie-modal .close-modal:hover {
  background: var(--accent);
}

/* ==== ANIMATIONS ==== */
.btn, .btn.primary, .btn-cookie,
.features-grid > div, .service-card, .card, .testimonial-card {
  transition: box-shadow 0.21s, background 0.16s, color 0.14s, transform 0.18s;
}

/* ==== GEOMETRIC / STRUCTURED EFFECTS ==== */
h1, h2, h3, .btn, .btn.primary, .values-list li, .usp-list li, .services-list li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}
.section, .card, .features-grid > div, .service-card, .testimonial-card, .cookie-modal, .footer, .pricing-table {
  /* geometric corners */
  border-radius: 18px 30px 18px 30px / 18px 18px 30px 30px;
}
@media (max-width: 700px) {
  .section, .card, .features-grid > div, .service-card, .testimonial-card, .cookie-modal {
    border-radius: 10px;
  }
}

/* Angular underline on headings */
h2, h1 {
  position: relative;
}
h2:after, h1:after {
  content: '';
  display: block;
  width: 70px;
  height: 6px;
  background: var(--secondary);
  border-radius: 2px;
  margin-top: 10px;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}

/* ==== MISCELLANEOUS ==== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 8px;
}

/* ==== ERRORS & STATES ==== */
[aria-invalid="true"], .input-error {
  border: 2px solid #e53e3e;
  background: #fff0f0;
  color: #b22222;
}

/* ==== GENERAL RESPONSIVE ==== */
@media (max-width: 520px) {
  h1 { font-size: 1.07rem; }
  h2 { font-size: 0.99rem; }
  .container, .content-wrapper, main, section { padding: 0 2px !important; }
}

