/* =========================================================
   Construcciones Ottavo — brand overrides
   Accent: safety orange from portfolio
   ========================================================= */
:root {
  --ottavo-orange: #f37021;
  --ottavo-orange-dark: #d45a12;
  --ottavo-black: #111111;
  --ottavo-ink: #1a1a1a;
  --ottavo-muted: #6b6b6b;
}

.ottavo-site .besoft-color,
.ottavo-site .header-top-area a:hover,
.ottavo-site .besoft_menu > ul > li > a:hover,
.ottavo-site .besoft_menu > ul > li.current > a {
  color: var(--ottavo-orange) !important;
}

.ottavo-site .slider-button2 a,
.ottavo-site .call-do-action-button a,
.ottavo-site .service-button a,
.ottavo-site .portfolio-button a,
.ottavo-site .ottavo-btn {
  background: var(--ottavo-orange) !important;
  color: #fff !important;
  border: none;
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: 0.35s ease;
}

.ottavo-site .slider-button2 a:hover,
.ottavo-site .call-do-action-button a:hover,
.ottavo-site .service-button a:hover,
.ottavo-site .portfolio-button a:hover,
.ottavo-site .ottavo-btn:hover {
  background: var(--ottavo-orange-dark) !important;
  color: #fff !important;
}

.ottavo-site .besoft_nav_manu .logo img {
  max-height: 100px !important;
  width: auto;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.ottavo-site .besoft_nav_manu {
  padding-top: 8px;
  padding-bottom: 8px;
}

.ottavo-site .besoft-logo img {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.ottavo-site .header-cta {
  margin-left: 18px;
  vertical-align: middle;
}

.ottavo-site .header-cta .ottavo-btn {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 2px;
}

/* Hero */
.ottavo-site .slider-four.slider-area {
  background-image: linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.2) 100%),
    url(../images/ottavo/hero-cover.jpg);
  background-position: center center;
  background-size: cover;
  min-height: 720px;
  height: auto;
  padding: 140px 0 100px;
}

.ottavo-site .slider-four .slider-content h4 {
  color: var(--ottavo-orange);
  letter-spacing: 0.08em;
}

.ottavo-site .slider-four .slider-content h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.ottavo-site .slider-four .slider-content h1 span {
  color: var(--ottavo-orange);
}

/* Breadcrumb / inner hero */
.ottavo-page-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.55)),
    url(../images/ottavo/about-worker.jpg);
  background-size: cover;
  background-position: center;
  padding: 110px 0 80px;
  color: #fff;
}

.ottavo-page-banner h1 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 10px;
}

.ottavo-page-banner p,
.ottavo-page-banner .breadcrumb-trail {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.ottavo-page-banner a {
  color: var(--ottavo-orange);
}

/* Values OTTAVO */
.ottavo-values .value-card {
  background: #111;
  border: 1px solid #2a2a2a;
  padding: 28px 22px;
  height: 100%;
  transition: 0.3s ease;
}

.ottavo-values .value-card:hover {
  border-color: var(--ottavo-orange);
  transform: translateY(-4px);
}

.ottavo-values .value-letter {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--ottavo-orange);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
}

.ottavo-values .value-card h4 {
  color: #fff;
  margin-bottom: 8px;
}

.ottavo-values .value-card p {
  color: #bdbdbd;
  margin: 0;
}

/* Service cards */
.ottavo-service-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  overflow: hidden;
  transition: 0.35s ease;
}

.ottavo-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.ottavo-service-card .thumb {
  height: 210px;
  overflow: hidden;
}

.ottavo-service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.ottavo-service-card:hover .thumb img {
  transform: scale(1.06);
}

.ottavo-service-card .body {
  padding: 22px 22px 26px;
}

.ottavo-service-card .cat {
  color: var(--ottavo-orange);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.ottavo-service-card h3 {
  font-size: 20px;
  margin: 8px 0 10px;
}

.ottavo-service-card h3 a {
  color: var(--ottavo-ink);
}

.ottavo-service-card h3 a:hover {
  color: var(--ottavo-orange);
}

.ottavo-service-card p {
  color: var(--ottavo-muted);
  margin-bottom: 16px;
}

.ottavo-service-card .more {
  color: var(--ottavo-orange);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

/* Portfolio thumbs from tall gallery images */
.ottavo-site .single_portfolio_thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.ottavo-site .why-choos-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Process */
.ottavo-process .step {
  background: #f7f7f7;
  padding: 30px 24px;
  height: 100%;
  border-top: 3px solid var(--ottavo-orange);
}

.ottavo-process .step-num {
  color: var(--ottavo-orange);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

/* Contact form */
.ottavo-contact-form input,
.ottavo-contact-form textarea,
.ottavo-contact-form select {
  width: 100%;
  border: 1px solid #e5e5e5;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #fff;
}

.ottavo-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.ottavo-contact-form button {
  background: var(--ottavo-orange);
  color: #fff;
  border: 0;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.ottavo-contact-form button:hover {
  background: var(--ottavo-orange-dark);
}

.ottavo-alert {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-left: 4px solid var(--ottavo-orange);
  background: #fff7f0;
}

.ottavo-alert.success {
  border-color: #2e7d32;
  background: #eef8ef;
}

.ottavo-list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ottavo-list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.ottavo-list-check li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--ottavo-orange);
  position: absolute;
  left: 0;
  top: 2px;
}

/* WhatsApp float */
.ottavo-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}

.ottavo-whatsapp:hover {
  transform: scale(1.08);
  color: #fff !important;
}

.section-pad {
  padding: 90px 0;
}

/* =========================================================
   Sección especial Remodelaciones
   ========================================================= */
.remodel-eyebrow {
  color: var(--ottavo-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 10px;
}

.remodel-tagline {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 12px 0 18px;
}

.remodel-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
}

.remodel-intro-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.remodel-card {
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.remodel-card-media {
  height: 220px;
  overflow: hidden;
}

.remodel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.remodel-card:hover .remodel-card-media img {
  transform: scale(1.05);
}

.remodel-card-body {
  padding: 24px 22px 28px;
  color: #ddd;
  flex: 1;
}

.remodel-card-body h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 22px;
}

.remodel-card-short {
  color: var(--ottavo-orange);
  font-style: italic;
  margin-bottom: 12px;
}

.remodel-card-body .ottavo-list-check li {
  color: #cfcfcf;
}

.remodel-gallery-item {
  margin: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.remodel-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.remodel-gallery-item figcaption {
  padding: 14px 16px;
  font-weight: 600;
  color: #222;
}

.remodel-cta-band {
  background: var(--ottavo-orange);
  color: #111;
}

.remodel-cta-band h2 {
  color: #111;
  margin-bottom: 8px;
}

.remodel-cta-band p {
  margin: 0;
  color: #222;
}

.remodel-cta-band .ottavo-btn {
  background: #111 !important;
  color: #fff !important;
}

.remodel-home-highlight {
  background: #f7f7f7;
}

.seo-area-chip {
  background: #fff;
  border: 1px solid #eee;
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  color: #222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.seo-faq-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  margin-bottom: 12px;
  padding: 14px 18px;
}

.seo-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #111;
  list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--ottavo-orange);
  font-weight: 700;
}

.seo-faq-item[open] summary::after {
  content: '−';
}

.seo-faq-item p {
  margin: 12px 0 4px;
  color: #555;
}

@media (max-width: 991px) {
  .ottavo-site .slider-four.slider-area {
    min-height: 560px;
    padding: 100px 0 70px;
  }

  .ottavo-page-banner {
    padding: 90px 0 60px;
  }

  .ottavo-page-banner h1 {
    font-size: 32px;
  }

  /* Evitar que el header desktop sticky reaparezca en móvil */
  .ottavo-site .besoft_nav_manu,
  .ottavo-site .besoft_nav_manu.sticky {
    display: none !important;
  }

  .ottavo-site .header-top-area {
    display: none !important;
  }
}

/* =========================================================
   Mobile menu custom — Ottavo
   ========================================================= */
.ottavo-mobile-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.ottavo-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 96px;
  padding: 8px 14px;
}

.ottavo-mobile-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ottavo-mobile-brand img {
  height: 88px;
  width: 88px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.ottavo-mobile-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--ottavo-orange);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}

.ottavo-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.25s ease;
}

.ottavo-mobile-header.is-open .ottavo-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ottavo-mobile-header.is-open .ottavo-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.ottavo-mobile-header.is-open .ottavo-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ottavo-mobile-nav {
  border-top: 1px solid #eee;
  background: #fff;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ottavo-mobile-nav[hidden] {
  display: none !important;
}

.ottavo-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ottavo-mobile-nav > ul > li {
  border-bottom: 1px solid #eee;
}

.ottavo-mobile-nav > ul > li > a,
.ottavo-mobile-parent > a {
  display: block;
  padding: 16px 18px;
  color: #222;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.ottavo-mobile-nav a:hover,
.ottavo-mobile-parent > a:hover {
  color: var(--ottavo-orange);
  background: #fff8f3;
}

.ottavo-mobile-parent {
  display: flex;
  align-items: stretch;
}

.ottavo-mobile-parent > a {
  flex: 1 1 auto;
}

.ottavo-mobile-expand {
  width: 52px;
  border: 0;
  border-left: 1px solid #eee;
  background: #fff;
  color: var(--ottavo-orange);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ottavo-mobile-sub {
  display: none;
  background: #fafafa;
}

.ottavo-mobile-nav li.is-open > .ottavo-mobile-sub {
  display: block;
}

.ottavo-mobile-nav li.is-open > .ottavo-mobile-parent .ottavo-mobile-expand {
  background: #fff8f3;
}

.ottavo-mobile-sub a {
  display: block;
  padding: 13px 18px 13px 28px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
}

.ottavo-mobile-cta a {
  background: var(--ottavo-orange) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
}

.ottavo-mobile-cta a:hover {
  background: var(--ottavo-orange-dark) !important;
  color: #fff !important;
}

/* Evitar menú meanmenu residual de la plantilla */
.ottavo-site .mobile-menu-area {
  display: none !important;
}

@media (max-width: 480px) {
  .ottavo-mobile-bar {
    min-height: 90px;
  }

  .ottavo-mobile-brand img {
    height: 80px;
    width: 80px;
  }
}
