/* 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #181c1a;
  color: #dedede;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND & TYPOGRAPHY */
:root {
  --primary: #217373;
  --secondary-dark: #1A2421;
  --secondary: #222b28;
  --accent: #F49A3C;
  --light: #F4F9F4;
  --gray: #2e3532;
  --metallic: #adb5bd;
  --card-bg: #212725;
  --border-radius: 12px;
  --shadow: 0 2px 20px 0 rgba(20,20,20,.18);
  --shadow-hover: 0 4px 24px 0 rgba(36,41,46,.22);
  --transition: 0.25s cubic-bezier(.44,0,.22,1);
}

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

body, .text-section {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #dedede;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 1.8px;
  color: var(--light);
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(20,25,30,0.15);
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--accent);
}
h3 {
  font-size: 1.2rem;
  color: var(--primary);
}
strong {
  color: var(--accent);
  font-weight: 700;
}
p {
  color: #bdbdbd;
  font-size: 1rem;
  margin-bottom: 14px;
}

ul, .text-section ul {
  margin-bottom: 14px;
  padding-left: 20px;
  color: #bdbdbd;
}
li {
  margin-bottom: 8px;
}
.text-section li {
  font-size: 1rem;
  color: #bdbdbd;
}

/* UTILITY CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* FLEX PATTERNS */
.card-container, .service-cards, .feature-grid, .testimonial-list, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.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;
  margin: 0 0 20px 0;
  background: var(--light);
  color: #32383e;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
  min-width: 260px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  padding: 24px 22px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 340px;
  border: 1px solid #232823;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: grayscale(30%) brightness(1.2) drop-shadow(0 1px 2px #0004);
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  min-width: 260px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 20px 24px;
  min-width: 240px;
  flex: 1 1 285px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #232823;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.faq-list {
  margin-left: 0;
 }
.faq-list li {
  margin-bottom: 22px;
  background: var(--card-bg);
  border: 1px solid #222c27;
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: 22px 20px;
}
.faq-list h3 {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  margin-bottom: 8px;
}

.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
}
.text-section ul {
  padding-left: 14px;
}

.cta {
  background: linear-gradient(90deg, var(--primary) 80%, var(--accent) 100%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
  color: var(--light);
}
.cta h2 {
  color: var(--light);
}

/* HERO SECTION */
.hero {
  background: url('../assets/industrial-bg.jpg'), linear-gradient(112deg, #151c19 80%, #1a2421 100%);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center center;
  min-height: 330px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 42px -12px #0005;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  color: var(--light);
  font-size: 2.4rem;
  line-height: 1.18;
  max-width: 660px;
  text-shadow: 0 2px 10px #0008, 0 1px 0 #1c2823;
}
.hero p {
  color: #c6cace;
  max-width: 570px;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* BUTTONS */
.btn-primary, 
.btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  padding: 11px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.2px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--primary);
  color: var(--light);
  border-bottom: 3px solid #134947;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: #222b28;
  box-shadow: var(--shadow-hover);
  border-bottom: 3px solid #c47a27;
}
.btn-secondary {
  background: var(--accent);
  color: var(--secondary-dark);
  border-bottom: 3px solid #dc7f18;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--light);
  border-bottom: 3px solid #14504e;
  box-shadow: var(--shadow-hover);
}

.main-nav a, .footer-nav a, .mobile-nav a {
  position: relative;
  color: #d9dedb;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 8px 10px;
  border-radius: 7px;
  margin-right: 6px;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a:focus,
.footer-nav a:hover, .footer-nav a:focus,
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #252e2b;
}

/* HEADER & NAVIGATION */
header {
  background: #181c1a;
  box-shadow: 0 2px 12px -2px #090f0e55;
  margin-bottom: 24px;
  width: 100%;
  z-index: 20;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  gap: 14px;
}
.logo img {
  max-height: 58px;
  filter: brightness(1.13) drop-shadow(0 1px 2px #0a1511);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-left: 18px;
}
.header .btn-primary {
  margin-left: 24px;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  z-index: 104;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,26,30,0.98);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 42px 0 0 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  box-shadow: 0 0 48px #000d;
  min-height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: #222822;
  font-size: 2.4rem;
  border: none;
  padding: 6px 18px 6px 4px;
  border-radius: 36px 0 0 36px;
  position: absolute;
  top: 16px; right: 0;
  cursor: pointer;
  z-index: 130;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: var(--light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 24px 0 24px;
}
.mobile-nav a {
  font-size: 1.16rem;
  padding: 14px 10px;
  border-radius: 7px;
}

/* Hide nav on mobile, show burger */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none!important;
  }
}

/* FOOTER */
footer {
  background: var(--secondary-dark);
  color: var(--light);
  padding: 44px 0 28px 0;
  box-shadow: 0 -3px 22px -10px #0005;
  border-top: 1.5px solid #232823;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: var(--accent);
}
.footer-brand img {
  height: 44px;
  filter: brightness(1.15) drop-shadow(0 1px 2px #181918);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #bdbdbd;
}
.footer-contact img {
  height: 18px; width: 18px; vertical-align: middle;
  margin-right: 6px;
  filter: grayscale(85%) brightness(1.12);
}
footer p {
  color: #bdbdbd;
  margin-bottom: 4px;
}

/* SPACING ENFORCEMENT FOR FLEX LAYOUTS */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .service-cards, .feature-grid, .testimonial-list, .content-grid, .card-grid {
  gap: 24px;
  margin-bottom: 14px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  margin-bottom: 20px;
}

/* RESPONSIVE: FLEX DIRECTION & ADAPTATION */
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  section, .section {
    padding: 28px 6px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-cards, .testimonial-list, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .hero .container {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .cta {
    padding: 25px 8px;
    text-align: left;
    border-radius: 7px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-brand {
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 11px 5px;
    text-align: center;
  }
  .feature-item, .service-card {
    padding: 16px 10px;
  }
  section, .section {
    padding: 16px 2px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .feature-item, .service-card, .btn-primary, .btn-secondary, .testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), transform .16s cubic-bezier(.45,0,.22,1);
}
.card:hover, .feature-item:hover, .service-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

/* ICONS IN TEXT */
.text-section img, .footer-contact img, .text-section ul img {
  height: 1.1em;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(58%) brightness(1.2);
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--light);
  box-shadow: 0 -3px 20px -7px #111e23aa;
  z-index: 1002;
  padding: 22px 12px 18px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  animation: cookies-slide-in 0.77s cubic-bezier(.8,0,.22,1);
}
@keyframes cookies-slide-in {
  from { transform: translateY(125%); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 0.99rem;
  color: var(--light);
  margin: 0 12px 0 0;
  flex: 2 1 320px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 18px;
  margin: 0 5px 0 0;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--light);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--accent);
  color: #282d2a;
}
.cookie-banner .reject {
  background: #232823;
  color: var(--metallic);
  border: 1px solid var(--metallic);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--accent);
  color: #1a2822;
  border-color: var(--accent);
}
.cookie-banner .settings {
  background: transparent;
  color: #adb5bd;
  border: 1px solid #adb5bd;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
}

@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 8px 13px 12px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25,32,34,0.93);
  z-index: 1051;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s linear;
}
@keyframes fadeIn {
  from { opacity: 0.67; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #232823;
  border-radius: 13px;
  box-shadow: 0 2px 38px -7px #000c;
  max-width: 330px;
  width: 95vw;
  color: var(--light);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 31px 19px 21px 19px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopup .35s cubic-bezier(.8,0,.22,1);
}
@keyframes modalPopup {
  from { transform: scale(0.93); opacity: 0.32; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px; height: 18px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
  color: var(--metallic);
}
.cookie-category.essential label {
  font-weight: bold;
  color: var(--accent);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 9px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  margin: 0;
}
.cookie-modal .accept {
  background: var(--primary);
  color: var(--light);
}
.cookie-modal .reject {
  background: #232823;
  color: var(--metallic);
  border: 1px solid var(--metallic);
}
.cookie-modal .close {
  background: transparent;
  color: var(--metallic);
  border: none;
  font-size: 1.8rem;
  position: absolute;
  right: 12px; top: 8px;
  cursor: pointer;
}
.cookie-modal .close:hover {
  color: var(--accent);
}

/* ********* OTHER STRUCTURAL UTILITY CLASSES ********* */
.text-left { text-align: left; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }

/* OVERRIDE AUTOFILL BG FOR INPUTS, IF RELEVANT */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px var(--card-bg) inset !important;
  -webkit-text-fill-color: #eceff1 !important;
}

/* SCROLLBAR - DARK INDUSTRIAL */
::-webkit-scrollbar {
  width: 9px;
  background: #1A2421;
}
::-webkit-scrollbar-thumb {
  background: #232823;
  border-radius: 12px;
  border: 2px solid #181c1a;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/*************** ACCESSIBILITY: HIDE/FIXED ALERTS **************/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/**** END OF STYLE.CSS FOR RICOCABHOGAR ********/
