/* RESET & BASE TYPOGRAPHY --------------------------------------------------- */
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;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure, 
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
}
ol,ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  max-width: 100%;
  display: block;
}
:root {
  --primary: #173C63;
  --secondary: #74B03E;
  --accent: #EDEDED;
  --text-dark: #1c2330;
  --text-muted: #5D646C;
  --white: #fff;
  --serif: 'Georgia', 'Times New Roman', serif;
  --display: 'Montserrat', Georgia, serif;
  --body: 'Roboto', serif;
  --shadow-soft: 0 2px 12px rgba(23,60,99,0.08);
  --shadow-card: 0 3px 24px rgba(23,60,99,0.09);
  --radius: 10px;
}
body {
  font-family: var(--body);
  background: var(--accent);
  color: var(--text-dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}


/* CONTAINERS & GENERAL SPACING ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
main section:not(.hero) {
  margin-top: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.text-section{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 6px 30px rgba(23,60,99,0.16);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--accent);
}

@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-item {
    padding: 14px 8px;
  }
}


/* TYPOGRAPHY ----------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
h4, h5 {
  font-size: 1.14rem;
}
p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-family: var(--body);
}
ul, ol {
  color: var(--text-dark);
  font-size: 1rem;
  margin-left: 0;
  padding-left: 18px;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--display);
}

/* Link general + external + hover */
a {
  color: var(--primary);
  transition: color .15s;
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* CTAs, BUTTONS, INTERACTIVE ------------------------------------------------ */
.cta, .btn, button, input[type="submit"] {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.06rem;
  padding: 12px 40px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(116, 176, 62, 0.12);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.15s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}
.cta:hover, .btn:hover, button:hover, .cta:focus, .btn:focus, button:focus {
  background: #5f9132;
  color: #fff;
  box-shadow: 0 5px 16px rgba(116,176,62,0.21);
}
input, select, textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 11px 18px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  background: #fafafa;
  margin-bottom: 14px;
  transition: border-color 0.14s;
  width: 100%;
  max-width: 410px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* HEADER & NAVIGATION ------------------------------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(23, 60, 99, 0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 24px;
  justify-content: space-between;
}
header img {
  height: 54px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: var(--serif);
  color: var(--primary);
  font-size: 1.09rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
nav a.cta {
  margin-left: 20px;
}
nav a.cta:hover { color: var(--white); }
nav a:not(.cta):after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width .14s;
  margin-top: 2px;
}
nav a:not(.cta):hover:after {
  width: 100%;
}

/* Mobile nav toggler */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: var(--primary);
  border: none;
  cursor: pointer;
  margin-left: 12px;
}
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO ---------------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  min-height: 340px;
  background: linear-gradient(106deg, #f7f7f7 60%, var(--accent) 100%);
  border-bottom: 1px solid #e4e8ef;
  margin-bottom: 0;
  padding: 54px 0 48px 0;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  font-family: var(--display);
}
.hero p {
  font-size: 1.22rem;
}
.hero .cta {
  margin-top: 16px;
  font-size: 1.06rem;
}
@media (max-width: 768px) {
  .hero {
    min-height: 220px;
    padding: 24px 0;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* FEATURES & CARDS ---------------------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.features-grid > div {
  flex: 1 1 190px;
  background: var(--accent);
  padding: 24px 20px 18px 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 170px;
  box-shadow: 0 2px 10px rgba(23,60,99,0.07);
  transition: box-shadow .18s, transform .12s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 22px rgba(23,60,99,0.13);
  transform: translateY(-4px) scale(1.012);
}
.features-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 8px;
}
.features-grid h3 {
  color: var(--primary);
  font-family: var(--serif);
  margin-bottom: 5px;
}
.features-grid p {
  color: var(--text-muted);
  font-size: 1rem;
}
@media (max-width: 900px) {
  .features-grid {
    gap: 16px;
  }
  .features-grid > div {
    min-width: 150px;
    padding: 16px 10px 14px 10px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* TESTIMONIALS -------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(23,60,99,0.07);
  margin-bottom: 16px;
  margin-top: 0;
  color: var(--primary);
}
.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.09rem;
  margin-bottom: 0; 
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 1rem;
}
.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-left: 10px;
}
.testimonial-card .stars img {
  width: 20px; height: 20px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    gap: 10px;
  }
  .testimonial-card .stars {
    margin-left: 0;
  }
}

.tips {
  background: #f8faf5;
  border-left: 4px solid var(--secondary);
  padding: 14px 18px;
  font-size: 1.02rem;
  margin-top: 14px;
  border-radius: 0 12px 12px 0;
  color: var(--text-muted);
}

/* FOOTER -------------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 36px 20px 18px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--white);
  opacity: 0.92;
  font-size: 1.06rem;
  transition: color .14s, opacity .13s;
}
.footer-nav a:hover {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-contact img {
  height: 48px;
  width: auto;
  margin-right: 7px;
}
.footer-contact div span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #e2e8fd;
  font-size: 0.97rem;
}
.footer-contact img[alt] {
  margin-right: 3px;
}
.footer-copy {
  color: #b4cedb;
  margin-top: 14px;
  font-size: 0.93rem;
  text-align: right;
}
@media (max-width: 700px) {
  footer .container {
    gap: 18px;
    padding: 20px 8px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
  .footer-copy {
    text-align: left;
  }
}

/* TABLES -------------------------------------------------------------------- */
table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 1px 5px rgba(23,60,99,0.04);
}
thead tr {
  background: var(--accent);
}
th, td {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}
th {
  color: var(--primary);
  font-family: var(--display);
}
tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  table,thead,tbody,tr,th,td {
    display: block;
  }
  thead,
  tr {
    border-bottom: none;
  }
  th {
    background: none;
  }
  td {
    border-bottom: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* MAP PLACEHOLDER ---------------------------------------------------------- */
.map-placeholder {
  background: #f7f7f7;
  border: 1px dashed #abb7c3;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}


/* MOBILE NAV / HAMBURGER MENU ----------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.45,.05,.46,1.05);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 2px 28px rgba(23,60,99,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.7rem;
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
  z-index: 1002;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 85px 0 0 0;
  padding: 0 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  font-family: var(--display);
  font-weight: 600;
  padding: 17px 0 9px 0;
  border-bottom: 1px solid #edeef1;
  transition: color .12s, background .13s;
  border-radius: 0;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  background: #f1f8ea;
  color: var(--secondary);
}
@media (min-width: 993px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}


/* COOKIE CONSENT BANNER ------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  width: 100vw;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 -2px 16px rgba(23,60,99,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.38,.45,.54,1.21);
  transform: translateY(0);
  border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--display);
  font-size: 0.98rem;
  padding: 9px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(23,60,99,0.07);
  transition: background .16s, color .16s;
}
.cookie-banner button.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #5f9132;
}
.cookie-banner button.reject {
  background: #f3e7e7;
  color: #9d2020;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #eec2c2;
  color: #7b1414;
}
.cookie-banner button.settings {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #0b2646;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    padding: 13px 7px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* COOKIE SETTINGS MODAL ----------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,60,99,0.18);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 410px;
  width: 98vw;
  box-shadow: 0 8px 38px rgba(23,60,99,0.22);
  padding: 30px 32px 22px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-fadein .24s;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 1.04rem;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 16px;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .close-modal:hover {
  color: var(--secondary);
}
@keyframes cookie-fadein {
  from {opacity: 0;transform: translateY(32px);}
  to {opacity: 1;transform: none;}
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 8px 14px 8px;
    max-width: 95vw;
  }
}

/* ACCESSIBILITY FOCUS ------------------------------------------------------- */
:focus {
  outline: 2px solid var(--secondary) !important;
  outline-offset: 0;
}

/* UNIQUE ELEGANT TWEAKS (for classic look) ---------------------------------- */
h1, h2, h3 { text-shadow: 0 1px 0 #f2f2f9; }
.card, .testimonial-card, .feature-item, .footer-contact, .footer-nav {
  box-shadow: var(--shadow-soft);
}
.section, .card, .testimonial-card, .feature-item {
  border: 1px solid #EBE9E2;
}

/* GENERAL RESPONSIVE -------------------------------------------------------- */
@media (max-width: 480px){
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  .card { padding: 14px 8px; }
}
