/* === CSS RESET & BASIC NORMALIZATION === */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  background: #FFF6F0;
  color: #3A393A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border: none;
  border-radius: 12px;
}

ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
strong { font-weight: 600; }

a {
  color: #195985;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus { color: #F58B2A; text-decoration: underline; outline: none; }

section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 16px; box-shadow: 0 3px 20px rgba(245,139,42,0.07); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 12px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.1;
  font-weight: 700;
  color: #195985;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 { font-size: 1.1rem; }

p, address, span, li {
  font-size: 1rem;
  color: #3A393A;
}
address {
  font-style: normal;
}

/* === BUTTONS & CTA === */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 12px 32px;
  transition: background .3s, color .2s, box-shadow .3s, transform .15s;
  margin: 10px 0 0 0;
  min-width: 160px;
  box-shadow: 0 2px 12px rgba(49, 58, 65, 0.08);
  text-align: center;
}
.cta.primary {
  background: #F58B2A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,139,42,0.11);
}
.cta.secondary {
  background: #fff6f0;
  color: #195985;
  border: 2px solid #F58B2A;
}
.cta.primary:hover, .cta.primary:focus {
  background: #B25C00;
  box-shadow: 0 6px 22px rgba(245,139,42,0.19);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary:hover, .cta.secondary:focus {
  border-color: #195985;
  background: #edecec;
  color: #B25C00;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* === NAVIGATION & HEADER === */
header {
  background: #fff;
  box-shadow: 0 6px 24px rgba(25,89,133,0.06);
  border-radius: 0 0 20px 20px;
  margin-bottom: 22px;
  position: sticky;
  top: 0;
  z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
header nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
}
header nav ul li a {
  color: #195985;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  border-radius: 18px;
  padding: 8px 18px;
  transition: background .19s, color .17s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #FFF6F0;
  color: #F58B2A;
  text-decoration: none;
}
header nav .cta.primary {
  margin-left: 16px;
}

header nav a img, footer nav a img {
  height: 40px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #F58B2A;
  color: #fff;
  font-size: 1.75rem;
  border-radius: 12px;
  padding: 8px 16px;
  margin-left: 8px;
  transition: background 0.2s, transform 0.18s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B25C00;
  transform: scale(1.06);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff6f0;
  z-index: 200;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(.74,.19,.28,.93);
  box-shadow: 0 10px 38px rgba(25,89,133,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 28px;
  margin-left: auto;
  margin-right: 34px;
  background: none;
  color: #B25C00;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff2e0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}
.mobile-nav a {
  padding: 14px 24px;
  font-size: 1.2rem;
  color: #195985;
  border-radius: 16px;
  width: 92%;
  text-align: left;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F58B2A;
  color: #fff;
}

@media (max-width: 1024px) {
  header nav ul { gap: 18px; }
  header nav .cta.primary { margin-left: 10px; }
}
@media (max-width: 900px) {
  header nav ul { gap: 8px; }
  header nav .cta.primary { margin-left: 0; }
}
@media (max-width: 768px) {
  header nav ul, header nav .cta.primary { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  header nav { justify-content: flex-start; gap: 8px; }
  section { padding: 28px 7vw; margin-bottom: 32px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container { padding: 0 2vw; }
}

/* === FOOTER === */
footer {
  background: #fff6f0;
  box-shadow: 0 -2px 22px rgba(25,89,133,0.08);
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  padding: 30px 0 5px 0;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 60px;
}
footer .content-wrapper > a img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #3A393A;
  font-size: 1rem;
  opacity: 0.94;
  border-radius: 12px;
  padding: 6px 10px;
  transition: background .16s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  color: #F58B2A;
  background: #fff;
}
footer address, footer span {
  color: #3A393A;
  font-size: 1rem;
}
footer address {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  footer .content-wrapper { flex-wrap: wrap; flex-direction: column; gap: 18px; } 
}

/* === REPEATED LAYOUT PATTERNS (FLEXBOX ONLY) === */
.card-container, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.card, .service-list > div {
  background: #fff6f0;
  padding: 22px 18px 20px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(245,139,42,0.09);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 230px;
  transition: box-shadow .23s, transform .16s;
}
.card:hover, .service-list > div:hover {
  box-shadow: 0 6px 22px rgba(245,139,42,0.19);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 17px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(25,89,133,0.09);
  font-size: 1.09rem;
  border-left: 7px solid #F58B2A;
  color: #23232A;
  min-width: 0;
}
.testimonial-card p {
  color: #23232A;
  font-style: italic;
  flex: 1;
  margin: 0;
}
.testimonial-card span {
  color: #195985;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 18px;
}

/* === RESPONSIVE CARD/SERVICE LIST ADJUSTMENT === */
@media (max-width: 900px) {
  .card-container, .service-list, .content-grid { flex-direction: column; gap: 18px; }
}

/* === TEXT SECTIONS === */
.text-section {
  background: #fff6f0;
  padding: 20px 18px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(245,139,42,0.07);
  margin-bottom: 15px;
}

/* === OL & UL STYLE === */
ul li, ol li { padding-bottom: 8px; }
ul li:last-child, ol li:last-child { padding-bottom: 0; }

/* === GENERAL UTILS === */
.gap-16 { gap: 16px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-24 { margin-bottom: 24px !important; }
.rounded-12 { border-radius: 12px !important; }

/* === MODALS & COOKIES === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6f0;
  box-shadow: 0 -2px 32px rgba(25,89,133,0.09);
  border-radius: 14px 14px 0 0;
  padding: 28px 18px 22px 18px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .42s, transform .26s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  flex: 1 1 260px;
  color: #195985;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  border-radius: 999px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .19s, color .17s, box-shadow .16s;
}
.cookie-accept {
  background: #F58B2A;
  color: #fff;
  box-shadow: 0 2px 12px rgba(245,139,42,.17);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #B25C00;
}
.cookie-reject {
  background: #fff;
  color: #B25C00;
  border: 1.5px solid #B25C00;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #B25C00;
  color: #fff;
}
.cookie-settings {
  background: #fff6f0;
  color: #195985;
  border: 1.5px solid #195985;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #195985;
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3600;
  top: 0;
  left: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,89,133,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 450px;
  width: 92vw;
  box-shadow: 0 8px 38px rgba(25,89,133,0.18);
  padding: 28px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.55rem;
  color: #195985;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #3A393A;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 14px;
  background: #EDEDED;
  position: relative;
  cursor: pointer;
  transition: background .17s;
  margin-right: 6px;
}
.cookie-toggle.on {
  background: #F58B2A;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cookie-toggle.on::before {
  left: 21px;
}
/* Essential cookies are always on */
.cookie-category[data-essential="true"] .cookie-toggle {
  background: #B25C00;
  cursor: not-allowed;
}
.cookie-category[data-essential="true"] .cookie-toggle::before {
  background: #fff9f3;
  left: 21px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: #B25C00;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff6f0;
}

@media (max-width: 420px) {
  .cookie-modal { padding: 18px 6vw; }
  .cookie-banner { flex-direction: column; text-align: left; padding: 18px 8px; gap: 14px; }

}

/* === FORM & INPUTS (For future forms use) === */
input, textarea, select {
  font-family: inherit;
  background: #fff6f0;
  border: 1.5px solid #EDEDED;
  border-radius: 9px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 1rem;
  outline: none;
  transition: border .18s, box-shadow .18s;
  color: #3A393A;
}
input:focus, textarea:focus, select:focus {
  border-color: #F58B2A;
  box-shadow: 0 1.5px 8px rgba(245,139,42,.06);
}

/* === ANIMATIONS AND MICRO-INTERACTIONS === */
.card, .service-list > div, .testimonial-card, .cta {
  transition: box-shadow .23s, transform .15s;
}
.cta:active {
  transform: scale(0.98);
}

/* === VISUAL HIERARCHY & SPACING === */
main {
  margin-top: 14px;
}
section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  section:not(:last-child) { margin-bottom: 32px; }
}

/* === A11Y: FOCUS STYLES === */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 3px solid #195985;
  outline-offset: 2px;
}

/* === PRINT OPTIMIZATION === */
@media print {
  .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav ul, .cta { color: #000 !important; background: #fff !important; box-shadow: none !important; }
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');
