/* shared legacy rules (index.html) */
footer .gutenverse-text-editor p {
  font-size: 12px;
}
footer .gutenverse-text-editor.guten-DrrAQb p {
  font-size: 14px;
}

/* bootstrap overrides + custom (index2.html) */
:root {
  --bs-primary: #ad9271;
  --bs-primary-rgb: 173, 146, 113;
  --bs-body-font-family:
    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bs-body-font-size: 1rem; /* ~16px bootstrap; intrace is 15px */
  --bs-body-color: #666;
  --bs-body-bg: #f8f8f8;
  --bs-dark: #181818;
  --bs-border-color: #e9ebef;
  --bs-border-radius: 5px;
  --bs-border-radius-sm: 3px;
  --bs-heading-color: #181818;
}

body {
  font-size: 15px;
  color: #666;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #181818;
  font-weight: 600;
  letter-spacing: 0.05em;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

a {
  color: #ad9271;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #181818;
}

/* top contact bar (above navbar) */
.mw-topbar {
  background: #181818;
  color: #fff;
  font-size: 13px;
  border-bottom: 1px solid #2a2a2a;
  position: relative;
  z-index: 1040;
}
.mw-topbar i {
  color: #ad9271;
}

/* navbar (transparent over hero) */
.mw-navbar {
  background: transparent;
  border: none;
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}
@media (min-width: 768px) {
  /* ponytail: top bar is ~40px on desktop, push navbar below it with 25px gap */
  .mw-navbar {
    top: 25px;
  }
}
.mw-navbar .navbar-brand img {
  max-height: 120px;
  width: auto;
}
.mw-navbar .nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px !important;
}
.mw-navbar .nav-link:hover,
.mw-navbar .nav-link:focus {
  color: #ad9271;
}
/* mobile collapsed dropdown — dark bg so links stay readable */
.mw-navbar .navbar-collapse {
  background: rgba(24, 24, 24, 0.95);
  border-radius: 5px;
  padding: 10px 15px;
  margin-top: 10px;
}
@media (min-width: 992px) {
  .mw-navbar .navbar-collapse {
    background: transparent;
    padding: 0;
    margin-top: 0;
  }
}

/* hero */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: url('../images/16.jpg') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 24, 24, 0.85) 0%, rgba(60, 50, 50, 0.8) 100%);
  /*linear-gradient(rgba(173, 146, 113, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(173, 146, 113, 0.08) 0%, transparent 50%);*/
  pointer-events: none;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-section h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-section h2 {
  color: #ad9271;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-section .lead {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* section base */
section {
  position: relative;
}
.mw-section {
  padding: 90px 0;
}
.mw-section-sm {
  padding: 60px 0;
}
.mw-section-title {
  margin-bottom: 50px;
}
.mw-section-title .eyebrow {
  color: #ad9271;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* responsive section padding */
@media (max-width: 767px) {
  .mw-section {
    padding: 60px 0;
  }
  .mw-section-sm {
    padding: 40px 0;
  }
  .mw-section-title {
    margin-bottom: 35px;
  }
  .mw-card {
    padding: 35px 25px;
  }
  .hero-section {
    min-height: 55vh;
  }
}

/* ponytail: clamp-based responsive titles, replace inline font-size on h2/h3 */
.mw-eyebrow {
  color: #ad9271;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.mw-eyebrow-sm {
  margin-bottom: 1rem;
}
.mw-title-xl {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mw-title-2xl {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
}
.mw-cta-phone {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.mw-cta-text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* service / icon card (replaces wp icon-box) */
.mw-card {
  background: #fff;
  border: 1px solid #e9ebef;
  border-radius: 5px;
  padding: 50px 40px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}
.mw-card:hover {
  border-color: #ad9271;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}
.mw-card .mw-icon {
  display: inline-block;
  color: #ad9271;
  font-size: 40px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}
.mw-card:hover .mw-icon {
  transform: scale(1.1) rotate(-3deg);
}
.mw-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #181818;
  margin-bottom: 15px;
}
.mw-card p {
  margin: 0;
  line-height: 1.7;
}

/* buttons (override bootstrap) */
.btn {
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #ad9271;
  border-color: #ad9271;
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #181818;
  border-color: #181818;
  color: #fff;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-outline-light:hover {
  background: #ad9271;
  border-color: #ad9271;
  color: #fff;
}

/* dark section (cta, soluciones, footer) */
.mw-dark {
  background: #181818;
  color: #e1e1e1;
}
.mw-dark h1,
.mw-dark h2,
.mw-dark h3,
.mw-dark h4,
.mw-dark h5,
.mw-dark h6 {
  color: #fff;
}
.mw-brown {
  background: #3c3232;
  color: #e1e1e1;
}
.mw-brown h1,
.mw-brown h2,
.mw-brown h3,
.mw-brown h4,
.mw-brown h5,
.mw-brown h6 {
  color: #fff;
}

/* blockquote testimonial */
blockquote.blockquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: #444;
  line-height: 1.7;
}
.blockquote-footer {
  color: #ad9271;
  font-weight: 600;
}

/* fun-fact */
.mw-funfact {
  border: 1px solid #e9ebef;
  border-radius: 5px;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
}
.mw-funfact:hover {
  border-color: #ad9271;
}
.mw-funfact .number {
  color: #ad9271;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.mw-funfact .title {
  color: #666;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}
@media (max-width: 575px) {
  .mw-funfact {
    padding: 20px 10px;
  }
  .mw-funfact .number {
    font-size: 1.75rem;
  }
  .mw-funfact .title {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}

/* icon list (servicios / industria) */
.mw-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mw-icon-list li {
  padding: 6px 0;
  font-size: 15px;
  color: #e1e1e1;
}
.mw-icon-list li i {
  color: #ad9271;
}

/* section divider (top of footer area) */
.mw-divider-accent {
  width: 60px;
  height: 3px;
  background: #ad9271;
  margin: 0 auto 30px;
}

/* social icons (footer) */
.mw-social {
  display: flex;
  gap: 10px;
}
.mw-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  transition: all 0.3s ease;
}
.mw-social a:hover {
  background: #ad9271;
  border-color: #ad9271;
  color: #fff;
}
.mw-social a i {
  font-size: 16px;
}

/* footer */
footer.mw-footer {
  background: #181818;
  color: #999;
  padding: 80px 0 0;
  border-top: 3px solid #ad9271;
  position: relative;
}
footer.mw-footer h6 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}
footer.mw-footer .small {
  font-size: 13px;
}
footer.mw-footer details > summary {
  color: #ad9271;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  list-style: none;
}
footer.mw-footer details > summary::-webkit-details-marker {
  display: none;
}
footer.mw-footer details[open] > summary {
  margin-bottom: 15px;
}
footer.mw-footer hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 40px 0 20px;
}

/* link color inside dark sections */
.mw-dark a,
.mw-brown a,
footer.mw-footer a {
  color: #ad9271;
}
.mw-dark a:hover,
.mw-brown a:hover,
footer.mw-footer a:hover {
  color: #fff;
}

.gallery-grid {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gallery-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: zoom-in;
}
.gallery-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-grid a:hover img {
  transform: scale(1.05);
}

/* carousel */
.mw-carousel {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.mw-carousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .mw-carousel .carousel-item img {
    height: 320px;
  }
}
.mw-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
}
.mw-carousel .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  background-color: #ad9271;
  border: none;
  border-radius: 2px;
  opacity: 0.4;
}
.mw-carousel .carousel-indicators .active {
  opacity: 1;
}
