/* RESET & BASELINE ----------------------- */
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;
  background: #161b22;
  color: #eaeaea;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }
ul, ol { list-style-position: inside; }
strong { font-weight: 700; }

/* FONT FACE -------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');


/* BRAND VARIABLES for fallback ------------- */
:root {
  --color-primary: #24597A;
  --color-secondary: #F2E9DC;
  --color-accent: #ba4e00;
  --color-dark: #161b22;
  --color-bg: #232529;
  --color-metal: #BFC1C4;
  --color-card-bg: #232935;
  --color-action: #E97729;
  --color-shadow-light: rgba(36, 89, 122, 0.07);
  --color-shadow-heavy: rgba(0,0,0,0.45);
  --radius-card: 10px;
  --shadow-elevation: 0 4px 24px var(--color-shadow-light), 0 2px 6px 0 var(--color-shadow-heavy);
}

/* TYPOGRAPHY SCALE ------------------------ */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #E97729;
  letter-spacing: 0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ba4e00;
  letter-spacing: 0.3px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #eaeaea;
  margin-bottom: 12px;
  line-height: 1.65;
}
.subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: #bfc1c4;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.05rem; }
  .subtitle { font-size: 1rem; }
}


/* LAYOUT CONTAINERS ------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .content-wrapper { gap: 32px; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevation);
  padding: 28px 24px 28px 24px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9f5f1;
  color: #232529;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(36,89,122,0.07), 0 1px 3px 0 rgba(0,0,0,0.09);
  margin-bottom: 20px;
  min-width: 240px;
  width: 100%;
  max-width: 370px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid,.service-list,.service-grid,.team-grid,.blog-list,.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.testimonials { align-items: flex-start; }
.team-grid > .text-section,
.blog-list > .blog-post,
.service-list > .service,
.service-grid > .service,
.feature-grid > .feature {
  flex: 1 1 290px;
  min-width: 0;
  max-width: 350px;
}

/* Responsive layout directions */
@media (max-width: 900px) {
  .feature-grid,.service-list,.service-grid,.team-grid,.blog-list,.testimonials {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonials,
  .feature-grid,.service-list,.service-grid,.team-grid,.blog-list {
    flex-direction: column;
    gap: 18px;
  }
}


/* GENERAL SPACING & ALIGNMENT -------------- */
section:not(:last-child) {
  margin-bottom: 60px;
}
section {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (max-width: 600px) {
  section { padding: 16px 0; }
  .section { padding: 26px 6px; margin-bottom: 36px; }
}

.text-section { max-width: 640px; }
.text-section ul,
.text-section ol {
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc inside;
}

/* BUTTONS & CTAS --------------------------- */
.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.cta-primary {
  background: linear-gradient(92deg,#24597A 70%,#44596b 100%);
  color: #fff;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #E97729;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #E97729;
  color: #fff;
  box-shadow: 0 3px 14px #24597A3b;
  transform: translateY(-2px) scale(1.05);
}
.cta-secondary {
  background: #F2E9DC;
  color: #24597A;
  border: 1.4px solid #24597A;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #E97729;
  color: #fff;
  box-shadow: 0 3px 10px #E9772949;
  transform: translateY(-1px) scale(1.04);
}

/* HEADER ----------------------------------- */
header {
  background: #191e24;
  box-shadow: 0 1px 12px 0 #1322312b;
  border-bottom: 2.5px solid #24597A;
  z-index: 1003;
  position: sticky;
  top: 0;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #eaeaea;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 2px;
  font-size: 1rem;
  border-bottom: 2.5px solid transparent;
  position: relative;
  transition: border-color 0.15s, color 0.14s;
}
header nav a:hover,
header nav a:focus {
  color: #E97729;
  border-bottom: 2.5px solid #E97729;
}
header a img {
  height: 42px;
  margin-right:8px;
}
.mobile-menu-toggle {
  display: none;
  background: #232935;
  color: #E97729;
  border: none;
  font-size: 2.1rem;
  border-radius: 6px;
  padding: 6px 14px;
  margin-left: 10px;
  cursor: pointer;
  transition: background .15s,color .14s,box-shadow .18s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {background: #ba4e00; color: #fff;}

@media (max-width: 980px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  header .cta-primary { display: none; }
}

/* MOBILE MENU ------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: #21262c;
  color: #fff;
  z-index: 1101;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.6,.05,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  background: none;
  border: none;
  color: #E97729;
  font-size: 2.8rem;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  align-items: flex-start;
  padding: 9px 36px;
}
.mobile-nav a {
  background: none;
  color: #eaeaea;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 16px 4px;
  border-radius: 6px;
  min-width: 150px;
  border-left: 4px solid transparent;
  transition: background .14s, color .2s, border-color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E97729;
  background: #232935;
  border-left: 4px solid #E97729;
}

/* Hide mobile menu by default */
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}


/* HERO SECTION ----------------------------- */
section:first-of-type, .hero-section {
  background: #21262c url('../assets/hero-metal-bg.png') repeat top left;
  background-size: cover;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0.5px 20px 0 #13223144;
  margin-bottom: 40px;
}

/* FEATURES, SERVICES, CARDS ---------------- */
.feature, .service, .blog-post {
  background: var(--color-card-bg);
  color: #eaeaea;
  border-radius: var(--radius-card);
  box-shadow: 0 1.2px 8px rgba(22,27,34,0.10), 0 2px 14px #1a2634a0;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 355px;
  min-height: 210px;
  transition: box-shadow 0.18s, transform 0.19s;
  margin-bottom: 20px;
  border-left: 5px solid #E97729;
}
.feature:hover, .service:hover, .blog-post:hover {
  box-shadow: 0 8px 26px #24597A25, 0 3px 16px #E9772915;
  transform: translateY(-5px) scale(1.03);
}
.feature img, .service img {
  height: 40px;
  margin-bottom: 12px;
  filter: grayscale(35%) brightness(1.12);
  opacity: 0.88;
}
.price {
  font-weight: 700;
  color: #E97729;
  font-size: 1.07rem;
}

.age-offers h3 {
  margin-top: 14px;
  font-size: 1.09rem;
  color: #E97729;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* BLOG ------------------------------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  flex: 1 1 280px;
  margin-bottom: 20px;
}

/* FILTER OPTIONS --------------------------- */
.filter-options h3 {
  color: #ba4e00;
  margin-bottom: 1px;
  font-size: 1.06rem;
}
.filter-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}
.filter-options li {
  background: #232935;
  color: #ba4e00;
  border-radius: 4px;
  padding: 6px 18px;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0;
  border: 1px solid #bfc1c457;
  transition: background 0.17s, color 0.15s;
}
.filter-options li:hover {
  background: #E97729;
  color: #fff;
  cursor: pointer;
}

/* TESTIMONIALS / REVIEWS ------------------- */
.testimonials { align-items: flex-start; }
.testimonial-card {
  background: #F2E9DC;
  color: #232529;
  box-shadow: 0 1px 8px rgba(36,89,122,0.08), 0 2px 7px #E977291c;
  border-left: 4px solid #E97729;
  min-height: 128px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.testimonial-card p {
  color: #161b22;
}
.testimonial-card:hover {
  box-shadow: 0 7px 18px #E9772941;
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #24597A;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.01em;
  display: block;
}
.rating-summary {
  display: flex;
  align-items: center;
  background: #232935;
  color: #ffe3be;
  font-weight: 700;
  padding: 16px 22px;
  border-radius: 8px;
  margin-top: 12px;
  box-shadow: 0 0.5px 3px #24597A0a;
  font-size: 1.08rem;
  gap: 14px;
}
.rating-summary a { color: #ba4e00; font-weight: 900; text-decoration: underline; }
.rating-summary a:hover { color: #E97729; text-decoration: none; }

@media (max-width: 900px) {
  .testimonial-card, .rating-summary {
    max-width: 100%;
    min-width: 0;
  }
}

/* ABOUT & LEGAL TEXT ----------------------- */
.legal-text {
  background: #232935;
  color: #eaeaea;
  border-radius: 8px;
  padding: 26px 18px 18px 22px;
  box-shadow: 0 1px 10px #13223124;
  margin-bottom: 18px;
  font-size: 1rem;
}
.privacy-notice {
  background: #232935;
  color: #ffe3be;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.97rem;
  margin-top: 9px;
  margin-bottom: 9px;
  display: inline-block;
}
.privacy-notice a {
  color: #E97729;
  text-decoration: underline;
}
.privacy-notice a:hover { color: #ba4e00; }

.address-map p {
  font-size: 0.97rem;
  font-style: italic;
  color: #bfc1c4;
  margin-bottom: 0;
}

/* FOOTER ----------------------------------- */
footer {
  background: #191e24;
  border-top: 2px solid #ba4e00;
  font-size: 0.98rem;
  color: #bfc1c4;
  padding: 28px 0;
  margin-top: 56px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #ffe3be;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
  border-bottom: 1.3px solid transparent;
}
.footer-nav a:hover {
  color: #E97729;
  border-bottom: 1.3px solid #E97729;
}
footer p {
  color: #bfc1c4;
  margin-top: 14px;
}
@media (max-width: 700px) {
  .footer-nav { gap: 18px; }
}

/* COOKIE BANNER & MODAL -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232935ee;
  color: #fff;
  z-index: 1999;
  width: 100vw;
  box-shadow: 0 -4px 20px #191e2485, 0 2px 1.5px #E9772920;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 22px 24px;
  font-size: 1rem;
  transition: transform .24s cubic-bezier(.5,.1,.7,1.2), opacity .23s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(100%); }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  transition: background .15s, color .16s, box-shadow .16s;
  margin-left: 2px;
  min-width: 90px;
}
.cookie-banner .accept {
  background: #E97729;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: #ba4e00; }
.cookie-banner .reject {
  background: #232935;
  color: #eaeaea;
  border: 1.3px solid #ba4e00;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ba4e00; color: #fff;
}
.cookie-banner .settings {
  background: #F2E9DC; color: #ba4e00;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E97729; color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 10px; }
  .cookie-banner .cookie-actions { width: 100%; justify-content: flex-start; }
}

/* COOKIE MODAL (hidden by default) ---------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2003;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,27,34,0.86);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s cubic-bezier(.2,.7,.5,1.02);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #232935;
  color: #fff;
  padding: 34px 30px 32px 30px;
  border-radius: 10px;
  max-width: 380px;
  width: 94vw;
  max-height: 95vh;
  box-shadow: 0 6px 28px #191e24cc, 0 1.6px 3px #E9772944;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieslide .32s;
}
@keyframes cookieslide {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: #E97729;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
}
.cookie-modal .category-label {
  flex: 1;
  font-weight: 600;
  color: #fff;
}
.cookie-modal .cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 22px;
  background: #ececec;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #ba4e00;
  border-radius: 50%;
  transition: left 0.16s;
  z-index: 2;
}
.cookie-modal .cookie-toggle input:checked + .toggle-slider {
  left: 20px;
  background: #E97729;
}
.cookie-modal-close {
  position: absolute;
  right: 21px; top: 16px;
  font-size: 2.1rem;
  color: #E97729;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #fff; }
.cookie-modal .cookie-action-bar {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 9px 28px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .accept {background: #E97729; color: #fff;}
.cookie-modal .accept:hover, .cookie-modal .accept:focus {background: #ba4e00;}
.cookie-modal .reject {background: #232935; color: #eaeaea; border: 1.3px solid #ba4e00;}
.cookie-modal .reject:hover, .cookie-modal .reject:focus {background: #ba4e00; color: #fff;}


/* TRANSITIONS & MICRO-INTERACTIONS --------- */
:focus:not(:focus-visible) { outline: none; }
:focus { outline: 2.5px solid #E97729; outline-offset: 2px; }

button, a, input, select, textarea {
  transition: color 0.12s, background 0.16s, border-color 0.14s, box-shadow 0.15s;
}

/* SCROLLBAR -------------------------------- */
::-webkit-scrollbar {
  width: 11px;
  background: #21262c;
}
::-webkit-scrollbar-thumb {
  background: #24597A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E97729;
}

/* MISC ------------------------------------- */
address, em { color: #ffe3be; font-style: italic; }

/* UTILITY CLASSES -------------------------- */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* END */
