/* 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F3F3F7;
  background: #181A1B;
  line-height: 1.6;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}
::-webkit-scrollbar { width:8px; background: #23263a; }
::-webkit-scrollbar-thumb { background: #2b314b; border-radius: 6px; }


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 1px;
  font-weight: 800;
  color: #F3F3F7;
  text-shadow: 0 1px 1px rgba(23, 65, 116, 0.10);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
p, ul, ol, li, a, span, strong {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #e2e6f0;
}
strong { color: #F3F3F7; font-weight: 700; }
a {
  text-decoration: none;
  color: #F16727;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFA978;
}

/* LAYOUT CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23263a;
  border-radius: 18px;
  box-shadow: 0 6px 28px -6px rgba(21,29,46,0.15);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

/* FLEXBOX UTILS */
.card-container,
.card-grid,
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -8px 0 0;
}
.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;
}


/* CARDS & TESTIMONIALS */
.card,
.services-list > div {
  flex: 1 1 260px;
  min-width: 260px;
  background: #23263a;
  border-radius: 14px;
  box-shadow: 0 3px 12px -2px rgba(25, 30, 45, 0.10);
  padding: 28px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1px solid rgba(191,200,221,0.04);
  position: relative;
}
.card:hover,
.services-list > div:hover {
  box-shadow: 0 5px 22px -4px #17417444, 0 0 0 1.5px #F1672733;
  transform: translateY(-3px) scale(1.015);
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.services-list > div {
  background: #23263a;
  border-left: 4px solid #F16727;
  border-radius: 12px;
}

/* TABLES: Oferta page */
table {
  width: 100%;
  background: #181A1B;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 1rem;
  border-radius: 10px;
  overflow: hidden;
}
thead {
  background: #23263a;
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid #31344a;
  text-align: left;
}
th {
  color: #fff;
  font-weight: 700;
}
tbody tr:last-child td { border-bottom: none; }
tr:hover {
  background: #202848;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #FAFAFE;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(23,65,116,0.05);
  margin-bottom: 20px;
  color: #181A1B;
  border-left: 3.5px solid #F16727;
  min-width: 240px;
}
.testimonial-card p {
  color: #181A1B;
  font-size: 1.04rem;
  margin-bottom: 2px;
}
.testimonial-card strong {
  color: #174174;
}
.testimonial-card img {
  display: inline-block; height: 20px; vertical-align: middle;
}
.testimonial-card div:last-child {
  margin-top: 4px; display: flex; gap:1px;
}

/* BUTTONS */
.btn-primary {
  background:#F16727;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: .5px;
  border: none;
  border-radius: 7px;
  padding: 14px 34px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px -2px #cc5c289e;
  margin-top: 12px;
  transition: background 0.17s, box-shadow 0.2s, transform 0.2s, color 0.14s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap:6px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #c34b0e;
  color: #FFF3DC;
  box-shadow: 0 3px 16px -2px #F16727cc;
  transform: translateY(-2px) scale(1.027);
}
.btn-secondary, .btn-outline {
  background: transparent;
  color: #F16727;
  border: 2px solid #F16727;
  border-radius: 7px;
  padding: 11px 30px;
  font-family:'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing:.5px;
  margin:8px 8px 0 0;
  transition: background 0.15s, color 0.15s, border 0.2s;
  cursor: pointer;
}
.btn-outline:hover, .btn-secondary:hover, .btn-outline:focus {
  background: #F16727;
  color: #fafafe;
}

/* NAVIGATION & HEADER */
header {
  width: 100%;
  background: #181A1B;
  box-shadow: 0 2px 20px -8px #09182788;
  z-index: 19;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
header nav > a img {
  height: 46px;
  width: auto;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav ul li a {
  font-family:'Montserrat', Arial, sans-serif;
  color: #F3F3F7;
  font-weight: 600;
  letter-spacing: .3px;
  font-size: 1.09rem;
  border-bottom: 2px solid transparent;
  padding: 8px 1px 5px 1px;
  transition: color 0.22s, border 0.22s;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #F16727;
  border-bottom:2px solid #F16727;
}
header nav .btn-primary {
  margin: 0 0 0 16px;
}

/* HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #23263a;
  border: none;
  color: #F3F3F7;
  font-size: 2.2rem;
  padding: 7px 14px;
  border-radius: 7px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  z-index: 55;
  box-shadow: 0 2px 6px -2px #174174aa;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #174174;
  color: #F16727;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left:0; bottom: 0;
  background: rgba(24,26,27, 0.98);
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.7,0,.3,1), opacity .19s;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #23263a;
  color: #F16727;
  margin: 19px 16px 24px auto;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 1px 8px -2px #17417455;
  transition: background 0.12s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F16727;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  margin: 0 24px;
}
.mobile-nav a {
  padding: 14px 6px;
  color: #F16727;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 4px;
  background: transparent;
  border-bottom: 2px solid transparent;
  transition: background 0.16s, color 0.16s, border 0.16s;
  min-width: 70vw;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23263a;
  color: #fff;
  border-bottom: 2px solid #F16727;
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 1030px) {
  header nav ul, header nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1031px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* HERO & RESPONSIVE SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  background: none;
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .content-wrapper, .text-section {
    padding: 0;
    gap: 18px;
  }
  section, .section {
    padding: 36px 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  .content-wrapper, .text-section { gap: 16px; }
  .section, section { padding: 20px 0; }
  .card, .services-list > div { padding: 13px 12px; font-size:.95rem; }
  .testimonial-card { padding:16px 10px; }
}
@media (max-width:700px) {
  .services-list, .card-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section {
    gap: 13px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .testimonial-card { font-size:.97rem; }
  .content-wrapper, .text-section { padding: 0; }
  .card, .services-list > div { min-width: 0; width: 100%; }
  table, th, td { font-size: .94rem; }
}

/* FLEXBOX RESPONSIVENESS FOR text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
/* FAQ accordion (simple) */
.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}
.faq > div {
  background: #23263a;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 4px 0;
  color: #F3F3F7;
  box-shadow: 0 2px 8px -2px #17417433;
}

/* TAGS FILTER */
.tags-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.tags-filter a {
  background: #23263a;
  color: #F16727;
  padding: 3px 12px;
  border-radius: 9px;
  font-size: .91rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-right: 4px;
  transition: background 0.11s, color 0.11s;
}
.tags-filter a:hover, .tags-filter a.active {
  background: #F16727;
  color: #fff;
}

/* LISTS */
ul, ol {
  margin-left: 23px;
  margin-bottom: 16px;
  color: #e2e6f0;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: #e2e6f0;
  padding-left: 2px;
}
ul li img, ol li img {
  margin-right: 8px;
  height: 21px; width: 21px; vertical-align: middle;
  filter: grayscale(15%) contrast(1.3);
}

/* FOOTER */
footer {
  width: 100%;
  background: #181A1B;
  border-top: 2.5px solid #23263a;
  padding-top: 28px;
  margin-top: 40px;
}
footer .container {
  max-width:1160px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
footer img {
  width:130px; height: auto; margin-bottom:10px; margin-right: 16px;
}
footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav ul li a {
  color: #c4cbe2;
  font-size: .98rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  transition: color 0.16s;
}
footer nav ul li a:hover {
  color: #F16727;
}
.contact-footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-footer ul li {
  font-size: .97rem;
  color: #e2e6f0;
}
.contact-footer ul li img {
  margin-right:7px; filter: grayscale(25%) brightness(1.5);
}
footer small {
  color: #bfc8dd;
  font-size: .86rem;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer img {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  footer .container { padding:0 10px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #23263a;
  color: #F3F3F7;
  padding: 24px 24px 22px 18px;
  box-shadow: 0 -8px 36px -10px #17417499;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-top: 3px solid #F16727;
  animation: cookieSlideIn .5s cubic-bezier(.7,0,.3,1);
}
@keyframes cookieSlideIn {
  0% { transform:translateY(180px); opacity: 0; }
  100% { transform:translateY(0); opacity: 1; }
}
.cookie-banner p { color: #F3F3F7; font-size: 1rem; margin-bottom: 8px; }
.cookie-banner .cookie-actions {
  display: flex;
  gap:12px;
}
.cookie-banner button {
  min-width: 105px;
  margin-right: 6px;
}
.cookie-banner .btn-outline {
  border-color: #174174;
  color:#F3F3F7;
  background: #174174;
  font-weight:600;
  font-size:.98rem;
  padding:9px 16px;
}
.cookie-banner .btn-outline:hover { background: #F16727; border-color: #F16727; }

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed; top:0; left:0; right:0; bottom:0;
  background: rgba(21,29,46,.77);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookieOverlay .33s;
}
@keyframes fadeInCookieOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #181A1B;
  color: #F3F3F7;
  padding: 36px 28px 28px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 56px -8px #174174bb;
  max-width: 400px;
  width:90vw;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position:relative;
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #F16727;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #F16727;
  width:19px; height:19px;
}
.cookie-modal .btn-outline {
  margin-top: 10px;
  min-width: 120px;
}
.cookie-modal-close {
  position: absolute; top:11px; right:11px;
  background: #23263a;
  color: #F16727;
  border:none;
  border-radius: 50%;
  width:32px; height:32px;
  font-size:1.5rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F16727;
  color: #fff;
}

/* ADDITIONAL STYLES FOR ICON METALLIC ACCENTS */
img[src*='icon-'] {
  filter: grayscale(35%) brightness(1.23) drop-shadow(0 1px 0 #4e5a65);
  /* subtle metallic feel */
}

/* ACCENT BORDERS & INDUSTRIAL DETAILS */
.section, .services-list > div, .testimonial-card, .faq > div, .card {
  border-left: 4px solid #c34b0e33;
}

/* FOCUS STATES for accessibility */
a:focus, button:focus, .btn-primary:focus, .btn-outline:focus {
  outline: 2px solid #F16727;
  outline-offset: 2px;
}

/* SHADOWS & EFFECTS FOR INDUSTRIAL MODERN FEEL */
.section, .card, .services-list > div, .faq > div, .testimonial-card {
  box-shadow: 0 5px 34px -6px rgba(23,65,116,0.11), 0 1.5px 16px -7px #0e172b66;
}

/* Z-INDEX FOR MOBILE MENU OVERLAY */
.mobile-menu { z-index: 99; }
header { z-index: 12; }

/* SPACING BETWEEN ALL CARDS/SECTIONS */
.section, .card, .testimonial-card, .faq > div, .services-list > div {
  margin-bottom: 20px;
}

/* MICRO-INTERACTIONS */
.card, .services-list > div, .testimonial-card, .faq > div {
  transition:box-shadow 0.21s, transform 0.18s;
}
.card:hover, .services-list > div:hover, .testimonial-card:hover, .faq > div:hover {
  box-shadow: 0 13px 36px -8px #F1672799, 0 0.5px 24px -5px #17417499;
  transform: translateY(-3px) scale(1.015);
}

/* RESPONSIVE FONT SIZES, BUTTONS, ETC. */
@media (max-width:480px) {
  html { font-size: 15px; }
  .cookie-modal, .cookie-banner { padding:18px 5px; }
  .cookie-modal h3 { font-size: 1.05rem; }
  .card, .services-list > div { padding: 8px 7px; }
  .btn-primary, .btn-outline { padding:9px 9px; font-size:.95rem; }
}

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

/* Misc fix for cards not overlapping */
.card, .services-list > div, .testimonial-card, .faq > div {
  min-width: 0;
  max-width: 100%;
}

/* TRANSITIONS DEFAULT */
* {
  transition-property: box-shadow, color, background, border, filter, transform, opacity;
  transition-duration: 0.19s;
  transition-timing-function: cubic-bezier(.7,0,.3,1);
}

/* INDUSTRIAL FONTS fallback */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900:display=swap&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap');
