/* 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,input,button,textarea,select,option,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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #22272b;
  color: #f7f7f7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #E67E22;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDF6F0;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* COLOR VARIABLES (with fallbacks) */
:root {
  --primary: #2C3E50;
  --secondary: #E67E22;
  --accent: #FDF6F0;
  --dark: #22272b;
  --medium: #3B4752;
  --metal: #8A9399;
  --input-bg: #23262b;
  --input-border: #3B4752;
  --shadow: 0 2px 8px 0 rgba(38,41,49,0.12), 0 4px 24px 0 rgba(56,58,66,0.07);
  --radius: 10px;
}

/* CONTAINER & LAYOUTS: FLEX-ONLY */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--medium);
  border: 1.5px solid var(--metal);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  max-width: 350px;
  padding: 24px;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 30px rgba(80,80,80,0.19);
}
.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;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FDF6F0;
  color: #22272b;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  min-width: 280px;
  max-width: 570px;
}
.testimonial-card p {
  color: #16191c;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--medium);
  border: 1.5px solid var(--metal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(112deg, #242d34 60%, var(--primary) 100%);
  color: var(--accent);
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero .container {
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  letter-spacing: 0.015em;
}
.hero p {
  font-size: 1.15rem;
  max-width: 540px;
  color: var(--accent);
  margin-bottom: 14px;
}

/* HEADER/NAVIGATION */
header {
  background: #181c20;
  border-bottom: 2px solid var(--metal);
  box-shadow: 0 1px 8px rgba(25,28,34,0.12);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .025em;
  padding: 6px 0;
  transition: color .2s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width .2s;
  margin: 0 auto;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 9px 28px;
  letter-spacing: 0.05em;
  margin-left: 24px;
  box-shadow: 0 2px 12px rgba(230,126,34,0.1);
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

/* HAMBURGER MENU BUTTON (MOBILE) */
.mobile-menu-toggle {
  background: var(--secondary);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.7rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  z-index: 52;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23282f;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.87,-0.41,.19,1.44);
  width: 100%;
  height: 100vh;
  box-shadow: 0 0 50px rgba(18,19,20,0.5);
  display: flex;
  flex-direction: column;
  padding-top: 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 30px;
  font-size: 2rem;
  background: transparent;
  color: var(--secondary);
  border: none;
  margin-bottom: 18px;
  cursor: pointer;
  z-index: 201;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 24px;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 0 12px 0;
  border-radius: 3px;
  transition: background .145s, color .14s;
  min-width: 180px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* FORMS & INPUTS */
input[type="search"],
input[type="email"],
input[type="text"],
select {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 1rem;
  padding: 8px 15px;
  margin-top: 5px;
  margin-bottom: 10px;
  outline: none;
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="search"]:focus,
input[type="email"]:focus,
input[type="text"]:focus,
select:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 2px 10px rgba(230,126,34,0.115);
}
::placeholder { color: #bbb; opacity: 1; }

button[type="submit"] {
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 12px;
  margin-top: 6px;
  transition: background 0.18s, color 0.18s;
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* CARDS & FEATURE GRIDS */
.feature-grid, .recipe-list, .blog-list, .milestone-list, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature-grid li, .recipe-list li, .blog-list li, .milestone-list li, .contact-details li {
  background: var(--medium);
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 190px;
  max-width: 340px;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 10px;
}
.feature-grid li img {
  width: 47px;
  height: 47px;
}
.recipe-tag {
  background: var(--secondary);
  color: var(--primary);
  font-size: .92rem;
  font-weight: 600;
  border-radius: 13px;
  padding: 3px 15px;
  margin-right: 8px;
  margin-bottom: 7px;
  display: inline-block;
}

/* CTA BANNER */
.cta-banner {
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  margin: 50px 0 60px 0;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.cta-banner .cta-primary {
  background: var(--primary);
  color: var(--accent);
  margin-left: 0;
  margin-top: 18px;
}
.cta-banner .cta-primary:hover, .cta-banner .cta-primary:focus {
  background: var(--accent);
  color: var(--secondary);
  border: 2px solid var(--primary);
}

/* BLOG LIST, FEATURED-POSTS */
.featured-post {
  background: var(--medium);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 19px 22px;
  margin-bottom: 15px;
}
.category-filters {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.category-filters button {
  background: var(--dark);
  color: var(--secondary);
  border: 1.5px solid var(--metal);
  border-radius: 8px;
  padding: 7px 17px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color .14s, border .14s;
}
.category-filters button:hover, .category-filters button:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

/* TIMELINE/GRAPHICS */
.timeline-graphic img {
  width: 130px;
  height: auto;
}

/* THANK YOU PAGE */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background: var(--medium);
  color: var(--accent);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* TEXT HIERARCHY */
h1 { font-size: 2.2rem; margin-bottom: 16px; }
h2 { font-size: 1.65rem; color: var(--secondary); margin-bottom: 12px; }
h3 { font-size: 1.22rem; color: var(--accent); margin-bottom: 9px; }
h4 { font-size: 1rem; margin-bottom: 7px; }
h5, h6 { font-size: 0.93rem; font-weight: 600; }
p, ul li, ol li, label { font-size: 1rem; color: var(--accent); }
blockquote {
  border-left: 5px solid var(--secondary);
  background: #23262b;
  color: var(--accent);
  font-style: italic;
  margin: 0 0 22px 0;
  padding: 18px 20px 18px 28px;
  border-radius: var(--radius);
}
.text-section { color: var(--accent); }
.text-section strong { color: var(--secondary); font-weight: 600; }

/* LISTS, STEPS */
.milestone-list {
  gap: 2px;
}
.milestone-list li {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
  box-shadow: none;
}

/* CONTACT DETAILS */
.contact-details li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: var(--input-bg);
  color: var(--accent);
  border:none;
  box-shadow: none;
}
.contact-details a {
  color: var(--secondary);
  font-weight: 600;
}
.contact-details img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* FOOTER */
footer {
  background: #16191c;
  color: var(--metal);
  border-top: 2px solid var(--metal);
  margin-top: 60px;
  padding: 36px 0 12px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-left: 32px;
}
.footer-nav a {
  color: var(--metal);
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  transition: color .17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
}
footer img {
  width: 38px;
  height: auto;
  margin-right: 18px;
}
footer .text-section {
  color: var(--metal);
  font-size: 0.95rem;
}

/* COOKIE CONSENT BANNER (FIXED BOTTOM) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23262b;
  color: var(--accent);
  border-top: 3px solid var(--secondary);
  padding: 26px 20px 16px 20px;
  box-shadow: 0 -2px 16px rgba(44,62,80,.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  z-index: 3000;
  flex-wrap: wrap;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  max-width: 500px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  padding: 7px 19px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  margin-left: 0;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-banner .cookie-settings {
  background: var(--primary);
  color: var(--accent);
  border: 1.2px solid var(--metal);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,32,36,0.82);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 10px 44px rgba(50,54,65,0.23);
  padding: 38px 26px 24px 26px;
  width: 92vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  z-index: 3220;
  position: relative;
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.27rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 18px; right: 19px;
  background: none;
  color: var(--secondary);
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-modal input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: var(--secondary);
}
.cookie-modal .always-on {
  color: var(--metal);
  font-size: 0.97rem;
  margin-left: 7px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 6px;
  padding: 8px 19px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .14s, color .14s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: var(--accent);
  color: var(--secondary);
}

/* ANIMATION HELPERS */
.fade-in {
  animation: fadein .44s cubic-bezier(.8,-0.29,.2,1.17);
}
@keyframes fadein {
  0% {opacity:0; transform: translateY(24px);}
  100% {opacity:1; transform: translateY(0);}
}

/* MICRO-INTERACTIONS */
a, button, .card, .cta-primary, .feature-item, .testimonial-card, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, border 0.13s, transform 0.14s;
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 992px) {
  .footer-nav, footer .content-wrapper { flex-direction: column; gap: 16px; }
  .footer-nav { margin-left: 0; }
  .content-wrapper { gap: 15px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
    max-width: 100vw;
  }
  .content-wrapper { gap: 14px; }
  .main-nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    margin-top: 12px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-grid, .text-image-section, .feature-grid, .milestone-list, .blog-list, .contact-details {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 1.46rem;
  }
  h2 { font-size: 1.15rem; }
  .card, .feature-grid li, .card-container .card, .testimonial-card {
    max-width: 97vw;
    min-width: unset;
    margin-bottom: 18px;
  }
  .timeline-graphic img { width: 82px; }
  .section { padding: 22px 8px; margin-bottom: 30px; }
  .cta-banner { padding: 24px 4px; min-height: 100px; }
  .cookie-banner { flex-direction: column; gap: 18px; padding: 17px 7px 11px 7px; font-size: .95em; }
}
@media (max-width: 480px) {
  .mobile-menu {
    padding-top: 2px;
  }
  .mobile-menu-close {
    margin-right: 16px;
    font-size: 1.8rem;
  }
  .mobile-nav { padding-left: 17px; gap: 17px; }
  .hero { min-height: 160px; }
  .section { margin-bottom: 15px; padding: 12px 2px; }
  .footer-nav { gap: 5px; }
  .timeline-graphic img { width: 53px; }
}

/* INDUSTRIAL MODERN DESIGN FLAVOR */
body, .section, .container, .card, .feature-item, .feature-grid li, .blog-list li, .recipe-list li, .testiomnial-card {
  font-family: 'Roboto', Arial, sans-serif;
  background: #22272b;
  color: #f7f7f7;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; text-transform: none; }
h1, h2, h3 { letter-spacing: 0.011em; }

@media (max-width: 580px) {
  .footer-nav {
    font-size: .93rem;
    gap: 2px;
  }
  .footer-nav a { margin-bottom: 0; }
}

::-webkit-scrollbar {
  width: 7px; background: #292d33;
}
::-webkit-scrollbar-thumb {
  background: var(--metal);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
