/* Ortiz Flooring Inc. — base stylesheet
   Paleta y variables tomadas del sistema ya usado en las páginas de proyectos del sitio en vivo. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-wght-normal.woff2) format('woff2'); }

:root {
  --blue-cta: #0c0cce;
  --blue-cta-dark: #0909a8;
  --charcoal: #0d0d0d;
  --amber: #f0a83c;
  --navy: #1b2559;
  --teal: #1c6b5e;
  --olive: #5e7a1e;
  --lime: #c9db2e;
  --cream: #fbf8f0;
  --ink: #181818;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 0 0 .5em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
:where(img[width][height]) { height: auto; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: normal;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--blue-cta); color: #fff; }
.btn-primary:hover { background: var(--blue-cta-dark); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Header / nav — colores y medidas tomados del sitio real (barra gris #606163, menú blanco, submenú negro con borde #a34100) */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #606163;
  box-shadow: 0 12px 18px -6px rgba(0,0,0,.3);
  border-bottom: 2px solid;
  border-image-source: linear-gradient(to right, rgba(0,0,0,0), #e09900, rgba(0,0,0,0));
  border-image-slice: 1;
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.site-header .logo { display: block; flex: 0 0 auto; }
.site-header .logo img { display: block; height: 89px; width: auto; }
.site-nav-wrap { flex: 1 1 auto; }
.site-nav { display: flex; gap: 0; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav > li { position: relative; }
.site-nav a {
  display: flex; align-items: center; gap: 5px; padding: 33px 11px 29px;
  font-weight: 700; font-size: 16px; line-height: 14px; text-transform: uppercase;
  color: #fefefe; text-shadow: .08em .08em .08em rgba(0,0,0,.4); transition: opacity .2s;
}
.site-nav > li.current > a { color: #a4be3b; }
.site-nav > li.has-children > a { color: #fefefe; }
.site-nav > li:hover > a { opacity: .75; }
.site-nav .chev { width: 9px; height: 9px; }
.sub-menu {
  position: absolute; top: 100%; left: 0; width: 240px; z-index: 70;
  list-style: none; margin: 0; padding: 20px 0; background: #000; border-top: 3px solid #a34100;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu li { padding: 0; }
.sub-menu a { padding: 6px 20px; font-size: 14px; line-height: 1.4; color: #fff; text-shadow: none; }
.sub-menu a:hover { color: var(--amber); opacity: 1; }
.sub-menu .has-children { position: relative; }
.sub-menu .has-children > a { display: flex; justify-content: space-between; align-items: center; }
.sub-menu .has-children > a .chev { transform: rotate(-90deg); }
.sub-menu .sub-menu { top: -23px; left: 100%; width: 200px; }
.social-icons { display: flex; gap: 8px; flex: 0 0 auto; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 3px; color: #fff;
}
.social-icons svg { width: 15px; height: 15px; }
.soc-fb { background: #3b5998; } .soc-ig { background: #ea2c59; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }
@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-header .logo img { height: 64px; }
  .nav-toggle { display: block; }
  .social-icons { display: none; }
  .site-nav-wrap { flex: 0 0 100%; display: none; background: #000; margin: 0 -24px; padding: 6px 24px 14px; }
  .site-header.nav-open .site-nav-wrap { display: block; }
  .site-nav { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 4px; }
  .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; border: 0; background: transparent; box-shadow: none; }
  .sub-menu a { padding: 8px 4px; color: #ddd; }
  .sub-menu .sub-menu { top: auto; left: auto; width: auto; }
  .sub-menu .has-children > a .chev { transform: none; }
}

/* Hero — real 3-slide rotator with manual arrows + dots, each slide its own photo */
.hero { position: relative; border-bottom: 6px solid var(--amber); background: var(--navy); padding: 0; }
.hero-slider { position: relative; min-height: 440px; overflow: hidden; }
@media (min-width: 700px) { .hero-slider { min-height: 560px; } }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--navy);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; z-index: 1;
  transition: opacity .9s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55), rgba(13,13,13,.78));
}
.hero-slide-inner { position: relative; z-index: 2; padding: 90px 24px 70px; }
.hero .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--amber); margin-bottom: 14px; }
.hero h1, .hero h2.hero-title { font-size: 32px; line-height: 1.15; max-width: 780px; margin-bottom: 20px; color: #fff; }
@media (min-width: 700px) { .hero h1, .hero h2.hero-title { font-size: 56px; } }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(255,255,255,.12); color: #fff; border: none; width: 44px; height: 44px;
  border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.hero-nav:hover { background: rgba(255,255,255,.28); }
.hero-prev { left: 18px; } .hero-next { right: 18px; }
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dot.active { background: var(--amber); }

/* Generic sections */
section { padding: 60px 0; margin: 0; }
section h2 { font-size: 28px; margin-bottom: 16px; color: var(--navy); }
@media (min-width: 700px) { section h2 { font-size: 38px; } }
section p { max-width: 720px; font-size: 18px; line-height: 1.6; color: #333; margin: 0 0 14px; }

/* Stats bar */
.stats-bar {
  background: var(--charcoal);
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center;
  color: #fff; text-align: center; padding: 36px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-item a { display: block; line-height: 0; }
.stat-icon { color: #e09900; margin-bottom: 8px; filter: drop-shadow(0 0 9px #fd7101); transition: transform .25s; }
.stat-icon svg { width: 54px; height: 54px; display: block; }
a:hover > .stat-icon { transform: scale(1.08); }
.stat-value { font-size: 28px; font-weight: 700; color: #c9964a; line-height: 1.1; }
.stat-label { font-size: 13px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #fff; text-shadow: 0 0 8px rgba(253,113,1,.55); }

/* Services grid */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: #fff; border: 1px solid #e4ddc9; border-radius: 6px; padding: 24px; }
.service-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 15px; color: #444; margin: 0; }

/* Process steps */
.process-steps { list-style: none; margin: 18px 0 8px; padding: 0; max-width: 720px; }
.process-steps li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #e4ddc9; font-size: 16px; font-weight: 700; }
.process-steps li span.n { color: var(--amber); font-weight: 800; min-width: 28px; font-size: 20px; }

/* CTA band */

.final-cta h2 { color: #fff; font-size: 26px; }
@media (min-width: 700px) { .final-cta h2 { font-size: 34px; } }

/* Materials selection — real site's "image accordion": stacked panels, hover to expand one and collapse the rest */
.materials-section { background: #2a2a2a; color: #fff; }
.materials-section .eyebrow-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.materials-section h2 { color: #fff; margin-bottom: 8px; }
.materials-section .pill {
  display: inline-block; background: rgba(240,168,60,.15); color: var(--amber); border: 1px solid rgba(240,168,60,.4);
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; border-radius: 20px;
}
.image-accordion { display: flex; flex-direction: column; gap: 4px; height: 560px; border-radius: 8px; overflow: hidden; }
@media (min-width: 800px) { .image-accordion { flex-direction: row; height: 440px; } }
.ia-panel {
  position: relative; flex: 1; min-height: 70px; background-size: cover; background-position: center;
  overflow: hidden; transition: flex .5s ease; cursor: pointer;
}
.ia-panel::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.55); transition: background .4s ease; }
.ia-panel:hover { flex: 3.2; }
.ia-panel:hover::before { background: rgba(0,0,0,.35); }
.ia-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2;
  opacity: 0; transform: translateY(12px); transition: opacity .35s ease .1s, transform .35s ease .1s;
}
.ia-panel:hover .ia-content { opacity: 1; transform: translateY(0); }
.ia-content h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.ia-content p { color: #eee; font-size: 14px; max-width: 420px; margin: 0 0 14px; }
/* Always show the title, even without hover, so panels aren't blank */
.ia-panel .ia-content h3 { opacity: 1; }
.ia-panel:not(:hover) .ia-content { opacity: 1; transform: none; }
.ia-panel:not(:hover) .ia-content p, .ia-panel:not(:hover) .ia-content .btn { display: none; }

/* Footer */
.site-footer { background-color: #68832b; background-image: linear-gradient(90deg, #a34100 30%, rgba(255,255,255,0) 30%); color: #3c3a47; padding: 54px 0 22px; font-size: 14px; }
.site-footer a { color: #a34100; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; margin-bottom: 24px; }
.footer-copy { opacity: .7; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; }

/* Project / portfolio shared look (reused from existing project pages) */
.photo-block { aspect-ratio: 16/9; width: 100%; border-radius: 4px; margin: 20px 0 6px; overflow: hidden; background: #111; }
.photo-block img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { font-size: 12px; color: #888; margin-bottom: 14px; }
.alt-bg { background: #f1ede2; }

/* About section — real site has a dark photo background behind the split layout */
#about {
  position: relative; color: #fff;
  background: linear-gradient(180deg, rgba(224,153,0,.35) 0%, rgba(0,0,0,.72) 99%), var(--hero-img, linear-gradient(var(--navy), var(--navy)));
  background-size: cover; background-position: center;
}
#about h2 { color: #fff; }
.about-title { text-align: center; margin: 0 0 34px; }
.about-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 800px) { .about-split { grid-template-columns: 1fr 2fr; align-items: start; } }
.about-split img { border-radius: 6px; width: 100%; }
.about-right { display: flex; flex-direction: column; align-items: center; }
/* Slider de texto (Divi: et_pb_slider, 6000 ms, borde 8px #333, puntos ámbar) */
.text-slider { position: relative; width: 100%; max-width: 640px; border: 8px solid #333; border-radius: 13px; background: rgba(0,0,0,.18); }
.ts-slides { position: relative; min-height: 250px; }
.ts-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px 64px 36px; text-align: center; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .7s ease, transform .7s ease, visibility .7s; }
.ts-slide.active { opacity: 1; visibility: visible; transform: none; }
.ts-slide.leaving { transform: translateX(-24px); }
.ts-slide h3 { color: #fff; font-size: 30px; font-weight: 300; line-height: 1.3; margin: 0; text-transform: none; }
.ts-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.ts-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #e09900; opacity: .45; cursor: pointer; }
.ts-dots button.active { opacity: 1; }
.ts-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .25s; z-index: 2; }
.text-slider:hover .ts-arrow { opacity: .8; } .ts-arrow:hover { opacity: 1 !important; }
.ts-prev { left: 4px; } .ts-next { right: 4px; }
@media (max-width: 600px) { .ts-slide { padding: 16px 40px 34px; } .ts-slide h3 { font-size: 22px; } .ts-slides { min-height: 210px; } .ts-arrow { opacity: .7; } }
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.btn-outline-w { background: #1b2559; color: #fff; border: 1px solid #fff; }
.btn-rust { background: #a34100; color: #fff; border: 1px solid #fff; }
.btn-rust:hover { background: #853500; }
.btn-amber { background: var(--amber); color: var(--charcoal); }
.btn-amber:hover { background: #d99424; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #121a3f; }

/* Services section on photo background */
.services-section { position: relative; color: #fff; background: linear-gradient(180deg, rgba(153,88,47,.71) 0%, rgba(71,38,9,.8) 100%), var(--hero-img, linear-gradient(var(--navy), var(--navy))); background-size: cover; background-position: center; }
.services-section .eyebrow-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.services-section h2 { color: #fff; margin-bottom: 0; }
.accordion-item { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; margin-bottom: 14px; overflow: hidden; background: rgba(0,0,0,.25); transition: background .35s ease, border-color .35s ease; }
.accordion-item.open { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.accordion-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--amber); transition: color .3s ease; user-select: none; }
.accordion-item.open .accordion-head { color: var(--lime); }
.accordion-head:hover { color: #fff; }
.accordion-head .plus { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.accordion-head .plus::before, .accordion-head .plus::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.accordion-head .plus::after { transform: rotate(90deg); }
.accordion-item.open .plus::after { transform: rotate(0deg); }
/* altura animada con grid (0fr -> 1fr): apertura/cierre suave sin max-height */
.accordion-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.4,0,.2,1); }
.accordion-item.open .accordion-body { grid-template-rows: 1fr; }
.accordion-inner { overflow: hidden; min-height: 0; padding: 0 22px; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .5s cubic-bezier(.4,0,.2,1), padding .5s cubic-bezier(.4,0,.2,1); }
.accordion-item.open .accordion-inner { opacity: 1; transform: none; padding-bottom: 20px; transition-delay: .08s, 0s, 0s; }
.accordion-body p { color: #eee; font-size: 15px; margin: 0; }

/* Process steps — real site uses flip cards: icon by default, title+description on hover */
.process-section { background: #232b55; color: #fff; }
.process-section h2, .process-section .eyebrow { color: #fff; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 700px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.flip-card { perspective: 1200px; aspect-ratio: 600 / 420; }
.flip-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .8s cubic-bezier(.4,.2,.2,1);
}
.flip-card:hover .flip-card-inner, .flip-card:focus-within .flip-card-inner, .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0; border-radius: 8px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-front { background-size: cover; background-position: center; background-repeat: no-repeat; }
.flip-back {
  transform: rotateY(180deg); color: #fff; padding: 26px 26px 24px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(28,107,94,.55) 0%, rgba(28,107,94,0) 60%), linear-gradient(150deg, #1b2559 0%, #101538 100%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 50px -20px rgba(0,0,0,.6);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; gap: 6px;
}
.flip-back::before { content: ""; width: 38px; height: 3px; border-radius: 3px; background: #f0a83c; margin-bottom: 10px; }
.flip-num { display: block; position: absolute; right: 16px; bottom: -22px; font-size: 140px; line-height: 1; font-weight: 800; color: rgba(255,255,255,.07); pointer-events: none; user-select: none; }
.flip-step { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #f0a83c; }
.flip-back h4 { position: relative; font-size: 19px; line-height: 1.2; font-weight: 700; color: #fff; margin: 0 0 4px; text-transform: none; }
.flip-back p { position: relative; font-size: 14px; line-height: 1.5; color: #d6dbf1; margin: 0 0 8px; }
.flip-back .btn { position: relative; margin-top: 4px; }

/* Blog grid */
.blog-section { background: var(--teal); color: #fff; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 10px; }
@media (min-width: 800px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: #fff; color: var(--ink); border-radius: 6px; overflow: hidden; }
.blog-card .blog-photo { height: 180px; background-size: cover; background-position: center; }
.blog-card .blog-body { padding: 18px; }
.blog-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; text-transform: none; }
.blog-card .blog-meta { color: var(--amber); font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.blog-card p { font-size: 14px; color: #444; }
.blog-card a.read-more { color: var(--teal); font-weight: 700; font-size: 14px; }

/* Testimonials — fondo café #281800, tarjetas #1e1e1e, avance de a una y pausa con mouse */
.testimonials-section { background: #281800; color: #fff; padding: 56px 0 64px; }
.testimonials-section h2 { color: #fff; text-align: center; margin-bottom: 8px; }
.t-slider { position: relative; margin: 28px auto 0; max-width: 1000px; padding: 0 44px; }
.t-viewport { overflow: hidden; padding: 4px 0 6px; }
.t-track { display: flex; align-items: flex-start; gap: 20px; transition: transform .9s cubic-bezier(.45,.05,.25,1); will-change: transform; }
.t-card {
  position: relative; flex: 0 0 calc((100% - 40px) / 3); background: #1e1e1e; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 30px 22px 24px; text-align: center; color: #ddd;
}
.t-card .t-quote { position: absolute; top: 2px; left: 18px; font-size: 84px; line-height: 1; color: rgba(255,255,255,.08); font-family: Georgia, serif; }
.t-card p { position: relative; font-size: 15px; font-style: italic; color: #fff; margin: 0 0 14px; }
.t-card .stars { color: #ffb400; font-size: 20px; letter-spacing: 3px; margin-bottom: 14px; }
.t-card .reviewer { font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; color: #cfcfcf; }
.t-card .source { display: flex; justify-content: center; align-items: center; gap: 8px; color: #e8844f; font-weight: 700; font-size: 14px; margin: 6px 0; min-height: 22px; text-decoration: none; }
.t-card .source:hover span { text-decoration: underline; }
.t-card .source svg { width: 18px; height: 18px; color: #ea4335; }
.t-card .source .src-ico { height: 24px; width: auto; }
.t-card .t-more { background: none; border: 0; padding: 0; margin: -4px 0 14px; color: #f0a83c; font: 700 13px 'DM Sans', sans-serif; letter-spacing: .4px; text-transform: uppercase; cursor: pointer; }
.t-card .t-more:hover { color: #fff; text-decoration: underline; }
.t-card .t-text[hidden], .t-card [hidden] { display: none; }
.t-card .date { color: #bbb; font-size: 13px; }
.t-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.t-arrow:hover { background: rgba(255,255,255,.25); }
.t-arrow svg { width: 12px; height: 12px; }
.t-prev { left: 0; } .t-next { right: 0; }
.t-prev svg { transform: rotate(90deg); } .t-next svg { transform: rotate(-90deg); }
.note-sample { color: #8a7a66; font-size: 12px; text-align: center; margin: 18px 0 0; }
@media (max-width: 900px) { .t-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .t-card { flex-basis: 100%; } .t-slider { padding: 0 38px; } }

/* Trusted brands — fondo blanco, logos en fila */
.brands-section { background: #fefefe; color: #3c3a47; padding: 40px 0 36px; }
.brands-section h2 { color: #3c3a47; font-size: 30px; margin-bottom: 18px; }
.brands-slider { position: relative; padding: 0 44px; }
.brands-viewport { overflow: hidden; }
.b-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: #e9e9ec; color: #3c3a47; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.b-arrow:hover { background: #d3d3d9; }
.b-arrow svg { width: 12px; height: 12px; }
.b-prev { left: 0; } .b-next { right: 0; }
.b-prev svg { transform: rotate(90deg); } .b-next svg { transform: rotate(-90deg); }
.brands-row { display: flex; gap: 36px; align-items: center; padding: 6px 0 14px; }
.brand-logo { flex: 0 0 auto; height: auto; max-width: none; object-fit: contain; }

/* Get a free quote — verde #2f5349 al 56% + foto, formulario sobre tarjeta #28292d */
.quote-section { scroll-margin-top: 90px;
  background-color: #2f5349;
  background-image: linear-gradient(90deg, #2f5349 56%, rgba(0,0,0,0) 56%), var(--hero-img, none);
  background-size: auto, cover; background-position: center; color: #fff; padding: 56px 0;
}
.quote-inner { display: grid; grid-template-columns: 1fr; gap: 0; }
.quote-left { padding: 0 0 8px; }
.quote-left h2 { color: #fff; font-size: 22px; font-weight: 500; letter-spacing: .5px; margin: 0 0 22px; }
.quote-eyebrow { color: #a4be3b; font-size: 11px; letter-spacing: 3px; margin: 0 0 6px; font-weight: 700; }
.quote-phone { display: block; color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 18px; }
.quote-or { font-size: 24px; font-weight: 700; color: #ddd; margin: 0 0 6px; text-align: center; }
.quote-form { background: #28292d; padding: 30px; max-width: 700px; margin: 0 0 0 auto; width: 100%; }
.form-eyebrow { color: #a4be3b; font-size: 11px; letter-spacing: 4px; font-weight: 700; margin: 0 0 18px; }
.f-grid { display: grid; grid-template-columns: 1fr; gap: 12px 24px; margin-bottom: 14px; }
@media (min-width: 640px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.quote-form label { display: block; font-size: 12px; color: #fff; }
.quote-form input[type=text], .quote-form input[type=email], .quote-form input[type=tel], .quote-form input[type=date], .quote-form textarea {
  display: block; width: 100%; margin-top: 3px; padding: 9px 10px; border: 0; border-radius: 6px; background: #fff; font: inherit; font-size: 14px; color: #222;
}
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.quote-form legend { font-size: 12px; padding: 0; margin-bottom: 8px; }
.f-checks { display: grid; grid-template-columns: 1fr; gap: 6px 14px; }
@media (min-width: 640px) { .f-checks { grid-template-columns: repeat(3, auto); justify-content: start; } }
.f-checks label { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.f-full { margin-bottom: 14px; }
.f-submit { background: transparent; color: #3aa0ff; border: 1px solid #3aa0ff; padding: 8px 18px; border-radius: 3px; font: inherit; font-size: 15px; cursor: pointer; transition: .2s; }
.f-submit:hover { background: #3aa0ff; color: #fff; }
.f-legal { font-size: 10px; color: #bbb; margin: 22px 0 0; line-height: 1.6; }
.f-todo { font-size: 11px; color: #8d8d8d; margin: 8px 0 0; }
@media (min-width: 900px) { .quote-inner { grid-template-columns: 1fr; } .quote-left { padding-right: 45%; } }

/* ===== Portada: sección de proyectos (3 más recientes) — mismo bloque que el fragmento para el sitio actual ===== */
.hp-section{
  --hp-blue:#0c0cce; --hp-blue-dark:#0909a8; --hp-charcoal:#0d0d0d; --hp-amber:#f0a83c; --hp-teal:#1c6b5e; --hp-navy:#1b2559; --hp-cream:#fbf8f0;
  font-family:'DM Sans', Helvetica, Arial, sans-serif; background:var(--hp-cream); color:#181818; padding:72px 0 76px; line-height:1.5;
}
.hp-section *{box-sizing:border-box;}
.hp-section a{text-decoration:none; color:inherit;}
.hp-section .hp-wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
.hp-section .hp-head{display:flex; flex-direction:column; gap:18px; margin-bottom:34px;}
@media(min-width:800px){.hp-section .hp-head{flex-direction:row; align-items:flex-end; justify-content:space-between;}}
.hp-section .hp-eyebrow{font-size:12px; font-weight:800; letter-spacing:2px; text-transform:uppercase; color:#a34100; margin-bottom:10px;}
.hp-section h2{font-family:'DM Sans', Helvetica, Arial, sans-serif; font-size:30px; line-height:1.12; font-weight:800; text-transform:uppercase; letter-spacing:.3px; color:var(--hp-navy); margin:0 0 12px;}
@media(min-width:700px){.hp-section h2{font-size:42px;}}
.hp-section .hp-lead{max-width:560px; font-size:17px; color:#444; margin:0;}
.hp-section .hp-all{display:inline-flex; align-items:center; gap:10px; align-self:flex-start; white-space:nowrap; background:var(--hp-blue); color:#fff; font-weight:700; font-size:16px; text-transform:uppercase; padding:13px 24px; border-radius:8px; transition:background .25s ease, gap .25s ease;}
.hp-section .hp-all:hover{background:var(--hp-blue-dark); gap:14px;}
.hp-section .hp-all svg, .hp-section .hp-view svg{width:16px; height:16px;}
.hp-section .hp-grid{display:grid; grid-template-columns:1fr; gap:24px;}
@media(min-width:640px){.hp-section .hp-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:980px){.hp-section .hp-grid{grid-template-columns:repeat(3,1fr);}}
.hp-section .hp-card{display:flex; flex-direction:column; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 14px 40px -18px rgba(27,37,89,.35); transition:transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s cubic-bezier(.22,.61,.36,1);}
.hp-section .hp-card:hover, .hp-section .hp-card:focus-visible{transform:translateY(-6px); box-shadow:0 28px 56px -20px rgba(27,37,89,.5);}
.hp-section .hp-photo{position:relative; aspect-ratio:4/3; overflow:hidden; background:#e9e4d6;}
.hp-section .hp-photo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform 1.2s cubic-bezier(.22,.61,.36,1); will-change:transform;}
.hp-section .hp-card:hover .hp-photo img, .hp-section .hp-card:focus-visible .hp-photo img{transform:scale(1.06);}
.hp-section .hp-badge{position:absolute; z-index:2; top:16px; left:16px; background:var(--hp-amber); color:var(--hp-charcoal); font-size:11px; font-weight:800; letter-spacing:1px; text-transform:uppercase; padding:7px 14px; border-radius:20px;}
.hp-section .hp-info{display:flex; flex-direction:column; flex:1; padding:22px 24px 24px;}
.hp-section .hp-info h3{font-family:'DM Sans', Helvetica, Arial, sans-serif; font-size:21px; line-height:1.15; font-weight:800; text-transform:uppercase; letter-spacing:.3px; color:var(--hp-navy); margin:0 0 6px;}
.hp-section .hp-loc{font-size:14px; font-weight:700; color:var(--hp-teal); margin-bottom:14px;}
.hp-section .hp-meta{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px;}
.hp-section .hp-meta span{font-size:12px; font-weight:600; color:#3b3b3b; background:#f3efe3; padding:5px 11px; border-radius:999px;}
.hp-section .hp-view{display:inline-flex; align-items:center; gap:8px; margin-top:auto; font-size:14px; font-weight:800; letter-spacing:.5px; text-transform:uppercase; color:var(--hp-blue); transition:gap .4s cubic-bezier(.22,.61,.36,1);}
.hp-section .hp-card:hover .hp-view{gap:14px;}
@media(prefers-reduced-motion:reduce){.hp-section .hp-card, .hp-section .hp-photo img, .hp-section .hp-view, .hp-section .hp-all{transition:none !important;}}

/* Footer detail */
.footer-card { background: #fff; display: grid; grid-template-columns: 1fr; gap: 28px; padding: 30px 28px; }
@media (min-width: 800px) { .footer-card { grid-template-columns: 1fr 1fr 1fr; padding: 34px 40px; } }
.footer-col h4 { color: #3c3a47; font-size: 15px; margin: 0 0 12px; text-transform: none; }
.footer-col p { margin: 0 0 8px; }
.footer-col img { display: block; margin-bottom: 12px; }
.footer-tagline { color: #777; text-transform: uppercase; margin-bottom: 14px; }
.footer-links, .hours-list, .areas-list { list-style: none; margin: 0; padding: 0; }
.footer-links li, .hours-list li, .areas-list li { margin-bottom: 7px; font-size: 14px; }
.hours-list span { font-weight: 700; display: inline-block; width: 40px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; }
.footer-copy { color: #fff; opacity: .9; text-align: center; padding-top: 18px; font-size: 13px; }

.blog-section { background: #12876f; }

.footer-map { margin: 16px 0 6px; height: 290px; overflow: hidden; border-radius: 8px; position: relative; background: #e8efe8; }
.footer-map iframe { display: block; width: 100%; height: calc(100% + 66px); margin-top: -66px; border: 0; }
.map-larger { display: inline-block; margin: 6px 0 4px; font-size: 14px; font-weight: 600; color: var(--amber, #f0a83c); text-decoration: none; }
.map-larger:hover { color: #fff; text-decoration: underline; }
.footer-legal { font-size: 13px; margin-top: 10px; }

.hero .hero-slide p { color: #fff; max-width: 620px; font-size: 18px; }

@media (max-width: 700px) {
  .hero-slide-inner { padding: 56px 24px 84px; }
  .hero .hero-slide p { font-size: 16px; }
  .hero-nav { top: auto; bottom: 10px; transform: none; width: 34px; height: 34px; font-size: 20px; }
  .hero-prev { left: 12px; } .hero-next { right: 12px; }
  .hero-dots { bottom: 22px; }
}

/* Materials: botón Explore a la derecha, como enlace con manita */
.materials-section .eyebrow-row { justify-content: space-between; align-items: flex-end; }
.materials-section .pill { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.materials-section .pill:hover { background: var(--amber); color: var(--charcoal); transform: translateY(-1px); }
.materials-section .pill .hand { width: 16px; height: 16px; animation: tap 1.8s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { transform: translate(0,0); } 30% { transform: translate(3px, 3px); } }
@media (max-width: 600px) { .materials-section .eyebrow-row { flex-direction: column; align-items: flex-start; } }

/* Blog: descripción bajo el título */
.blog-section .blog-intro { color: #e6f4f0; font-size: 17px; margin: 0 0 24px; max-width: 620px; }
.blog-section h2 { color: #fff; margin-bottom: 6px; }

/* ===== Phase 2 — páginas interiores (diseño original) ===== */
/* Projects / Commercial / Residential (réplica del bloque .wc-projects) */
.wc-page { background: var(--cream); color: var(--ink); }
.wc-page section { padding: 64px 0; }
.wc-page .pj-hero { background: linear-gradient(180deg, rgba(13,13,13,.5), rgba(13,13,13,.78)), var(--hero) center/cover no-repeat; color: #fff; padding: 72px 0 60px; border-bottom: 6px solid var(--amber); }
.wc-page .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--amber); margin-bottom: 16px; text-transform: uppercase; }
.wc-page .pj-hero h1 { font-size: 34px; line-height: 1.15; max-width: 680px; margin: 0 0 18px; color: #fff; }
@media (min-width: 700px) { .wc-page .pj-hero h1 { font-size: 52px; } }
.wc-page .pj-hero p { max-width: 560px; font-size: 18px; color: #fff; opacity: .92; margin: 0 0 28px; }
.wc-page .listing-section { background: var(--charcoal); }
.wc-page .listing-label { color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-align: center; margin-bottom: 26px; }
.wc-page .cards-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 640px) { .wc-page .cards-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.wc-page .project-card { text-decoration: none; color: inherit; background: #161616; border: 1px solid #2a2a2a; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.wc-page .project-card .photo { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.wc-page .project-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wc-page .badge { position: absolute; top: 18px; left: 18px; background: var(--amber); color: var(--charcoal); font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 7px 14px; border-radius: 20px; }
.wc-page .project-card .body { padding: 26px 24px; color: #eee; }
.wc-page .project-card h3 { font-size: 22px; margin: 0 0 8px; color: #fff; }
.wc-page .project-card .loc { font-size: 14px; color: var(--lime); font-weight: 700; margin-bottom: 16px; }
.wc-page .project-card .meta { font-size: 14px; color: #bbb; margin-bottom: 5px; }
.wc-page .project-card .meta b { color: #fff; }
.wc-page .project-card .view { margin-top: 18px; display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .5px; color: var(--amber); }
.wc-page .project-card .view:hover { color: #fff; }
.wc-page .categories-section { background: var(--cream); }
.wc-page .categories-label { color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-align: center; margin-bottom: 26px; }
.wc-page .categories-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1180px; margin: 0 auto; }
@media (min-width: 700px) { .wc-page .categories-grid:not(.one) { grid-template-columns: 1fr 1fr; } }
.wc-page .category-card { border-radius: 6px; padding: 32px 28px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 180px; }
.wc-page .category-card.commercial { background: var(--navy); }
.wc-page .category-card.residential { background: var(--olive); }
.wc-page .category-card h3 { font-size: 24px; color: #fff; margin: 0 0 8px; }
.wc-page .category-card p { color: #fff; opacity: .9; font-size: 15px; font-weight: 600; max-width: 400px; margin: 0; }
.wc-page .category-card .btn { align-self: flex-start; }
.wc-page .final-cta { background: var(--teal); color: #fff; text-align: center; }
.wc-page .final-cta h2 { font-size: 30px; margin: 0 0 14px; color: #fff; }
@media (min-width: 700px) { .wc-page .final-cta h2 { font-size: 38px; } }

/* Blog index */
.blog-page { background: #fff; }
.blog-page .bp-intro { padding: 53px 0 10px; }
.blog-page .bp-intro h1 { font-size: 50px; text-transform: none; font-weight: 500; color: #0e0c19; line-height: 1.15; margin: 0 0 18px; }
@media (max-width: 700px) { .blog-page .bp-intro h1 { font-size: 30px; } }
.blog-page .bp-intro p { max-width: 900px; color: #3c3a47; }
.blog-page .bp-list { padding: 20px 0 70px; }
.bp-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .bp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bp-grid { grid-template-columns: repeat(3, 1fr); } }
.bp-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 48px -14px rgba(0,0,0,.18); transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s cubic-bezier(.22,.61,.36,1); }
.bp-card[hidden] { display: none; }
.bp-card:hover, .bp-card:focus-within { transform: translateY(-6px); box-shadow: 0 28px 60px -14px rgba(0,0,0,.28); }
.bp-img { overflow: hidden; aspect-ratio: 4/3; background: #e9e4d6; }
.bp-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.bp-card:hover .bp-img img, .bp-card:focus-within .bp-img img { transform: scale(1.06); }
.bp-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bp-meta { color: #a34100; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 8px; }
.bp-card h2 { font-size: 20px; font-weight: 700; text-transform: none; color: #0e0c19; line-height: 1.3; margin: 0 0 10px; }
.bp-card h2 a { color: inherit; }
.bp-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta es clicable */
.bp-card h2 a:focus-visible { outline: none; }
.bp-card:focus-within { outline: 3px solid #0c0cce; outline-offset: 2px; }
.bp-card p { font-size: 15px; color: #3c3a47; line-height: 1.6; margin: 0 0 16px; }
.bp-more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 9px 16px; border-radius: 999px; background: #eef4e6; color: #3f6b1f; font-weight: 800; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; transition: background .25s, color .25s, gap .25s; }
.bp-more svg { transition: transform .25s; }
.bp-card:hover .bp-more, .bp-card:focus-within .bp-more { background: #0c0cce; color: #fff; gap: 12px; }
.bp-card:hover .bp-more svg { transform: translateX(3px); }
.bp-sentinel { height: 1px; }
.js .blog-page .bp-card { opacity: 0; transform: translateY(28px); }
.js .blog-page .bp-card.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease; }
.js .blog-page .bp-card.in:hover, .js .blog-page .bp-card.in:focus-within { transform: translateY(-6px); transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s cubic-bezier(.22,.61,.36,1); }
.bp-grid.home { margin-top: 10px; }
.bp-grid.home .bp-card h2 { font-size: 19px; }
@media (prefers-reduced-motion: reduce) { .bp-card, .bp-img img { transition: none !important; } }

/* About */
.about-page .wrap p { max-width: none; }
.ab-hero { background: var(--hero) center bottom / cover no-repeat; padding: 80px 0 !important; text-align: left; }
.ab-hero h1 { color: #fff; font-size: 72px; font-weight: 700; text-shadow: 0 .1em .09em rgba(0,0,0,.4); margin: 0; }
.ab-hero::after { content: ""; }
.ab-lead { background: #651906; padding: 40px 0 51px !important; }
.about-page .ab-lead p { color: #fff; font-size: 26px; font-weight: 500; line-height: 1.4; margin: 0; }
.ab-journey { background: linear-gradient(rgba(224,43,32,.22), rgba(224,43,32,.22)), var(--bg) center/cover no-repeat; padding: 70px 0 !important; }
.ab-journey-title { color: #fff !important; font-weight: 900; text-transform: uppercase; font-size: 43px !important; line-height: 1.1; text-shadow: 0 0 .1em #000; margin: 0 0 40px !important; }
.ab-journey-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 900px) { .ab-journey-grid { grid-template-columns: 1fr 2fr; } }
.ab-founder { margin: 0; }
.ab-founder img { width: 100%; max-width: 420px; height: auto; border-radius: 6px; display: block; margin: 0 auto; }
.ab-founder figcaption { color: #fff; text-transform: uppercase; font-weight: 700; font-size: 14px; text-align: center; margin-top: 12px; text-shadow: 0 0 .3em #000; }
.about-slider .ts-slides { min-height: 440px; }
.about-slider .ts-slide { justify-content: flex-start; flex-direction: column; align-items: flex-start; text-align: left; padding: 30px 56px 50px; text-shadow: 0 0 .37em #000; }
.about-slider .ts-slide h3 { color: #edf000; font-size: 32px; font-weight: 700; margin: 0 0 16px; text-transform: none; }
.about-page .about-slider .ts-slide p { color: #fff; font-size: 20px; line-height: 1.3; margin: 0 0 14px; max-width: none; }
.about-slider .ts-arrow { opacity: .7; }
@media (max-width: 899px) { .about-slider .ts-slides { min-height: 520px; } .about-slider .ts-slide { padding: 20px 36px 50px; } .about-slider .ts-slide h3 { font-size: 22px; } .about-page .about-slider .ts-slide p { font-size: 16px; } .ab-journey-title { font-size: 28px !important; } .ab-hero h1 { font-size: 40px; } .about-page .ab-lead p { font-size: 20px; } }
.ab-why { background: #232b55; padding: 53px 0 !important; }
.ab-direction { background: linear-gradient(rgba(66,37,11,.54), rgba(66,37,11,.54)), var(--bg) center/cover no-repeat; padding: 55px 0 53px !important; }
.ab-3col { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 900px) { .ab-3col { grid-template-columns: 1fr 1fr 1fr; } }
.ab-3col h3 { color: #fff; font-size: 40px; font-weight: 500; text-transform: none; line-height: 1.3; margin: 0 0 16px; }
.about-page .ab-3col p { color: #fff; font-size: 20px; font-weight: 500; line-height: 1.75; margin: 0; }
.ab-3col img { width: 100%; height: auto; border-radius: 6px; display: block; }
.ab-values { background: #3c3a47; padding: 44px 0 53px !important; }
.ab-values-top { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
@media (min-width: 900px) { .ab-values-top { grid-template-columns: 2fr 3fr; align-items: center; } }
.about-page .ab-values-title { color: #fff; font-size: 43px; font-weight: 900; text-transform: uppercase; line-height: 1.75; margin: 0; }
.about-page .ab-values-intro { color: #fff; font-size: 23px; font-weight: 500; line-height: 1.5; margin: 0; }
.vals { display: grid; gap: 18px; }
.val { color: #fff; font-size: 27px; font-weight: 500; line-height: 1.5; }
.val-badge { display: inline-block; background: #5a0c1c; border: 2px ridge #a34100; padding: 5.5px 8.8px; font-size: 22px; font-weight: 900; text-transform: uppercase; margin-right: 14px; vertical-align: middle; }
@media (max-width: 700px) { .val { font-size: 18px; } .val-badge { font-size: 15px; margin-bottom: 6px; } .ab-3col h3 { font-size: 28px; } .about-page .ab-3col p { font-size: 17px; } .about-page .ab-values-title { font-size: 30px; } .about-page .ab-values-intro { font-size: 17px; } }
.about-slider { max-width: none; border: 0; background: transparent; }

/* Catalog */
.catalog-page .cat-hero { background: linear-gradient(180deg, rgba(13,13,13,.55), rgba(13,13,13,.8)), url('../img/materials/hardwood.jpg') center/cover no-repeat; border-bottom: 6px solid var(--amber); padding: 64px 0 56px; }
.catalog-page .cat-hero h1 { color: #fff; font-size: 44px; margin: 0 0 12px; }
@media (min-width: 700px) { .catalog-page .cat-hero h1 { font-size: 64px; } }
.catalog-page .cat-hero p { color: #fff; max-width: 620px; }
.catalog-page .cat-cats { background: #2a2a2a; padding: 40px 0 30px; }
.catalog-page .cat-note { color: #ddd; font-size: 16px; max-width: 900px; margin: 24px 0 0; }
.catalog-page .cat-note a { color: var(--amber); text-decoration: underline; }
.catalog-page .cat-widget { background: var(--cream); padding: 40px 0 60px; }
.catalog-page .cat-widget .cat-note { color: #333; }
.catalog-page .cat-widget .cat-note a { color: #a34100; }
#roomvoCatalog { min-height: 120px; }
.process-section p.process-cta { color: #fff; font-weight: 600; }

/* Formulario de contacto: honeypot y mensajes */
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-status { padding: 12px 14px; margin: 0 0 16px; border-radius: 3px; font-size: 14px; line-height: 1.4; color: #fff; }
.f-status.ok { background: #1c6b5e; }
.f-status.error { background: #8a2a1c; }
.f-submit[disabled] { opacity: .6; cursor: wait; }
@media (min-width: 640px) { .wc-page .cards-grid.narrow { grid-template-columns: repeat(auto-fit, minmax(320px, 380px)); justify-content: center; } }

/* Páginas de post (blog, ubicaciones, servicios) */
.post-page { background: #fff; }
.post-hero { background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.8)), var(--hero, none) center/cover no-repeat, #1b2559; color: #fff; text-align: center; padding: 150px 0 60px; }
.post-hero h1 { font-size: 34px; line-height: 1.15; font-weight: 500; text-transform: none; color: #fff; margin: 0 auto 14px; max-width: 900px; }
@media (min-width: 800px) { .post-hero h1 { font-size: 60px; } }
.post-hero .post-date { font-size: 13px; font-weight: 700; }
.post-author { text-align: center; padding: 0 20px; }
.post-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; margin: -28px auto 12px; border: 3px solid #fff; display: block; }
.post-author p { font-size: 14px; font-weight: 600; color: #0e0c19; margin: 0 0 28px; }
.post-content { max-width: 880px; margin: 0 auto; padding: 10px 24px 70px; color: #3c3a47; font-size: 16px; line-height: 1.75; }
.post-content p { margin: 0 0 18px; color: #3c3a47; }
.post-content h2 { font-size: 30px; line-height: 1.2; color: #0e0c19; text-transform: none; margin: 40px 0 14px; font-weight: 700; }
.post-content h3 { font-size: 22px; line-height: 1.3; color: #0e0c19; text-transform: none; margin: 32px 0 10px; font-weight: 700; }
.post-content h4 { font-size: 18px; color: #0e0c19; text-transform: none; margin: 24px 0 8px; font-weight: 700; }
.post-content a { color: #a34100; font-weight: 500; text-decoration: none; transition: color .2s; }
.post-content a:hover { color: #7a3000; text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 26px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { margin: 24px 0; padding: 6px 0 6px 20px; border-left: 4px solid #f0a83c; color: #3c3a47; }
.post-content blockquote p { margin: 0 0 8px; }
.post-content img { max-width: min(100%, 300px); height: auto; display: block; border-radius: 4px; }
.post-fig { margin: 24px 0; }
.post-fig.alignright { float: right; margin: 6px 0 14px 26px; width: 34%; max-width: 280px; }
.post-fig.alignleft { float: left; margin: 6px 26px 14px 0; width: 34%; max-width: 280px; }
.post-fig.aligncenter { margin-left: auto; margin-right: auto; }
.post-fig img { width: 100%; max-width: 100%; }
.post-content img.img-derecha { float: right; margin: 6px 0 14px 24px; }
.post-fig { opacity: .96; }
.post-content h2, .post-content h3 { clear: both; }
/* Móvil: la foto se reduce y acompaña al texto, sin romper el diseño */
@media (max-width: 640px) {
  .post-fig, .post-fig.alignright { float: right; width: 40%; max-width: 40%; margin: 4px 0 10px 14px; }
  .post-fig.alignleft { float: left; margin: 4px 14px 10px 0; }
  .post-fig.aligncenter { float: none; width: auto; max-width: 100%; margin: 18px auto; }
}
.post-content::after { content: ""; display: block; clear: both; }
/* Paginador del blog */

/* Bloque cruzado Commercial <-> Residential (igual que el código de Projects) */
.wc-page .cross-block { color: #fff; }
.wc-page .cross-block.navy { background: var(--navy); }
.wc-page .cross-block.olive { background: var(--olive); }
.wc-page .cross-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (min-width: 760px) { .wc-page .cross-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.wc-page .cross-inner h2 { font-size: 28px; margin: 0 0 12px; color: #fff; }
@media (min-width: 700px) { .wc-page .cross-inner h2 { font-size: 34px; } }
.wc-page .cross-inner p { max-width: 520px; opacity: .9; font-size: 17px; color: #fff; margin: 0; }
.wc-page .cross-inner .btn { white-space: nowrap; }

/* Commercial: tarjeta ampliada (515px) mientras solo hay 1 proyecto; con 2+ volver a .narrow */
@media (min-width: 640px) { .wc-page .cards-grid.wide { grid-template-columns: repeat(auto-fit, minmax(320px, 515px)); justify-content: center; } }

/* ===== Inspiration ===== */
.insp-nav { background: #0d0d0d; border-bottom: 1px solid #222; padding: 18px 0; }
.insp-nav .wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.insp-chip { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #ddd; border: 1.5px solid #3a3a3a; border-radius: 999px; padding: 7px 14px; font: 700 13px 'DM Sans', sans-serif; text-decoration: none; transition: .15s; }
.insp-chip span { background: #262626; color: #aaa; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.insp-chip:hover, .insp-chip.active { border-color: var(--amber); color: #fff; }
.insp-chip.active { background: var(--amber); color: var(--charcoal); border-color: var(--amber); }
.insp-chip.active span { background: rgba(0,0,0,.15); color: var(--charcoal); }
.insp-sec { background: #0d0d0d; padding: 56px 0 60px; scroll-margin-top: 130px; }
.insp-sec.alt { background: #151515; }
.insp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--amber); padding-bottom: 12px; margin-bottom: 24px; }
.insp-head h2 { color: #fff; font-size: 26px; margin: 0; }
@media (min-width: 700px) { .insp-head h2 { font-size: 32px; } }
.insp-count { color: #9a9a9a; font-size: 14px; font-weight: 700; white-space: nowrap; }
.insp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .insp-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .insp-grid { grid-template-columns: repeat(4, 1fr); } }
.insp-item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #1e1e1e; }
.insp-item.feature { grid-column: span 2; grid-row: span 2; }
.insp-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.insp-item:hover img, .insp-item:focus-visible img { transform: scale(1.07); }
.insp-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); opacity: 0; transition: opacity .3s; }
.insp-item:hover::after, .insp-item:focus-visible::after { opacity: 1; }
.insp-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: rgba(240,168,60,.95); color: #0d0d0d; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: .25s; }
.insp-item:hover .insp-zoom, .insp-item:focus-visible .insp-zoom { opacity: 1; transform: none; }
@media (hover: none) { .insp-zoom { opacity: .95; transform: none; width: 32px; height: 32px; } }
.insp-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,8,8,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px 24px; }
.insp-lightbox[hidden] { display: none; }
.insp-lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.insp-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 4px; }
.insp-lightbox figcaption { color: #ccc; font-size: 14px; margin-top: 12px; }
.insp-lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 28px; line-height: 1; cursor: pointer; }
.insp-lightbox button:hover { background: var(--amber); color: var(--charcoal); }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }
@media (max-width: 640px) { .insp-lightbox { padding: 56px 8px 16px; } .lb-prev, .lb-next { top: auto; bottom: 12px; } }

/* CTA al final de cada nota */
.post-cta { background: var(--teal); color: #fff; text-align: center; padding: 56px 24px; clear: both; }
.post-cta h2 { color: #fff; font-size: 30px; margin: 0 0 10px; }
.post-cta p { color: #e6f4f0; max-width: 560px; margin: 0 auto 24px; font-size: 17px; }
@media (min-width: 700px) { .post-cta h2 { font-size: 36px; } }

/* ===== Catalog: páginas de categoría (Hardwood / LVP / Laminate / Carpets) ===== */
.catcat-page .cc-hero { background: linear-gradient(180deg, rgba(13,13,13,.35), rgba(13,13,13,.75)), var(--hero) center/cover no-repeat; border-bottom: 6px solid var(--amber); padding: 72px 0 40px; color: #fff; min-height: 300px; display: flex; align-items: flex-end; }
.catcat-page .cc-hero .wrap { width: 100%; }
.catcat-page .cc-hero .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2px; color: var(--amber); text-transform: uppercase; margin-bottom: 8px; }
.catcat-page .cc-hero h1 { color: #fff; font-size: 40px; line-height: 1.1; margin: 0 0 22px; text-transform: uppercase; }
@media (min-width: 700px) { .catcat-page .cc-hero h1 { font-size: 64px; } }
.cc-switch { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-switch a { color: #fff; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 14px; text-decoration: none; background: rgba(0,0,0,.25); transition: .2s; }
.cc-switch a:hover { border-color: var(--amber); }
.cc-switch a.active { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.catcat-page .cc-intro { background: linear-gradient(rgba(36,12,12,.82), rgba(36,12,12,.88)), var(--bg) center/cover; padding: 56px 0; text-align: center; }
.catcat-page .cc-lead { color: #fff; font-size: 22px; line-height: 1.5; font-weight: 600; max-width: 860px; margin: 0 auto 22px; }
@media (min-width: 700px) { .catcat-page .cc-lead { font-size: 28px; } }
.catcat-page .cc-note { color: #ffd451; font-size: 15px; max-width: 760px; margin: 0 auto; }
.catcat-page .cc-note b { color: #ffd451; }
.catcat-page .cc-products { background: #fff; padding: 48px 0 60px; }
.catcat-page .cc-h { font-size: 28px; color: #0d0d0d; margin: 0 0 24px; }
.cc-fallback { min-height: 280px; border: 2px dashed #d9d4c4; border-radius: 12px; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 24px; gap: 10px; }
.cc-fallback h3 { font-size: 22px; margin: 0; color: #0d0d0d; text-transform: none; }
.cc-fallback p { color: #555; margin: 0 0 8px; max-width: 480px; }
.catcat-page .cc-more { background: linear-gradient(rgba(30,18,6,.72), rgba(30,18,6,.72)), var(--bg) center/cover; padding: 56px 0; text-align: center; }
.cc-box { background: rgba(20,20,20,.9); color: #fff; border-radius: 16px; padding: 22px 28px; font-size: 18px; line-height: 1.55; max-width: 900px; margin: 0 auto 26px; }
.cc-box a { color: #ff8a52; font-weight: 700; text-decoration: underline; }
.cc-quote { background: #b0381b; }
.cc-quote:hover { background: #8d2c15; }
.catcat-page .cc-others { background: #5a0c1c; padding: 56px 0 64px; }
.cc-line { display: flex; align-items: center; gap: 20px; color: #fff; font-size: 22px; font-weight: 500; text-transform: uppercase; margin: 0 0 34px; }
.cc-line::before, .cc-line::after { content: ""; flex: 1; height: 1px; background: var(--amber); }
.cc-others-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 700px) { .cc-others-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-other { display: block; text-decoration: none; color: #fff; }
.cc-other-img { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 10px; }
.cc-other-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.cc-other:hover .cc-other-img img { transform: scale(1.07); }
.cc-other-title { display: block; margin-top: 14px; font-size: 20px; font-weight: 800; }
.cc-other-go { display: block; color: var(--amber); font-weight: 700; font-size: 14px; margin-top: 2px; }

/* Cierre del artículo destacado (CTA) */
.post-cta-box { clear: both; margin: 48px 0 8px; padding: 40px 36px; border-radius: 14px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--navy, #1b2559) 0%, #243477 100%); border-top: 6px solid var(--amber, #f0a83c);
  box-shadow: 0 24px 60px -18px rgba(27,37,89,.55); }
.post-content .post-cta-box h2 { color: #fff; font-size: 32px; margin: 0 0 14px; }
.post-content .post-cta-box p { color: #e8ebf7; font-size: 17px; margin: 0 0 12px; }
.post-content .post-cta-box strong { color: #fff; }
.post-content .post-cta-box a { color: inherit; }
.post-content .post-cta-box .cta-row { margin: 26px 0 0; }
.post-content a.cta-btn { display: inline-block; background: var(--amber, #f0a83c); color: #1b2559; font-weight: 800; font-size: 17px; padding: 15px 32px; border-radius: 6px; text-decoration: none; letter-spacing: .02em; box-shadow: 0 8px 22px -6px rgba(240,168,60,.7); transition: transform .25s ease, background .25s ease; }
.post-content a.cta-btn:hover { background: #ffc15a; color: #1b2559; transform: translateY(-3px); text-decoration: none; }
@media (max-width: 640px) { .post-cta-box { padding: 30px 20px; } .post-content .post-cta-box h2 { font-size: 25px; } }
/* Artículos relacionados */
.post-related { background: var(--cream, #fbf8f0); padding: 56px 0 70px; clear: both; }
.post-related h2 { text-align: center; font-size: 32px; color: #0e0c19; text-transform: none; margin: 0 0 30px; }
.post-related .bp-body p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.f-captcha { margin: 18px 0 14px; min-height: 78px; }
@media (max-width: 380px) { .f-captcha { transform: scale(.88); transform-origin: left top; } }

/* ===== Efectos de entrada (suaves) ===== */
html { scroll-behavior: smooth; }
@keyframes fxUp { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes fxFade { from { opacity: 0; } to { opacity: 1; } }
/* Texto del slider principal: sube y aparece, uno tras otro */
.hero-slide.active .hero-slide-inner > * { animation: fxUp 1s cubic-bezier(.22,.61,.36,1) both; }
.hero-slide.active .hero-slide-inner > :nth-child(1) { animation-delay: .15s; }
.hero-slide.active .hero-slide-inner > :nth-child(2) { animation-delay: .4s; }
.hero-slide.active .hero-slide-inner > :nth-child(3) { animation-delay: .65s; }
.hero-slide.active .hero-slide-inner > :nth-child(4) { animation-delay: .85s; }
/* Encabezados de las páginas interiores */
.hero .wrap:not(.hero-slide-inner) > *, .pj-hero .wrap > *, .ab-hero .wrap > *, .cat-hero .wrap > *, .cc-hero .wrap > *, .x-none { animation: fxUp .9s cubic-bezier(.22,.61,.36,1) both; }
.hero .wrap:not(.hero-slide-inner) > :nth-child(2), .pj-hero .wrap > :nth-child(2), .ab-hero .wrap > :nth-child(2), .cat-hero .wrap > :nth-child(2), .cc-hero .wrap > :nth-child(2), .x-none { animation-delay: .15s; }
.hero .wrap:not(.hero-slide-inner) > :nth-child(3), .pj-hero .wrap > :nth-child(3), .ab-hero .wrap > :nth-child(3), .cat-hero .wrap > :nth-child(3), .cc-hero .wrap > :nth-child(3), .x-none { animation-delay: .3s; }
/* Aparición al hacer scroll (la clase .fx la agrega el JS, así sin JS todo se ve igual) */
.fx { opacity: 0; }
.fx.in { animation: fxUp .85s cubic-bezier(.22,.61,.36,1) both; animation-delay: var(--d, 0s); }
.stat-value { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-slide-inner > *, .hero .wrap:not(.hero-slide-inner) > *, .pj-hero .wrap > *, .ab-hero .wrap > *, .cat-hero .wrap > *, .cc-hero .wrap > *, .x-none { animation: none !important; }
  .fx { opacity: 1 !important; } .fx.in { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Ventana de envío exitoso */
.ok-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14,18,40,.62); backdrop-filter: blur(3px); }
.ok-modal[hidden] { display: none; }
.ok-modal.show { animation: fxFade .35s ease both; }
.ok-card { position: relative; width: min(480px, 100%); text-align: center; background: #fff; border-radius: 16px; padding: 44px 34px 34px; border-top: 6px solid var(--amber, #f0a83c); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.ok-modal.show .ok-card { animation: okPop .55s cubic-bezier(.22,1.2,.36,1) both; }
@keyframes okPop { from { opacity: 0; transform: translateY(26px) scale(.92); } to { opacity: 1; transform: none; } }
.ok-card h2 { font-size: 30px; color: #1b2559; margin: 14px 0 6px; text-transform: none; }
.ok-card .ok-lead { font-weight: 700; color: #1c6b5e; margin: 0 0 10px; font-size: 17px; }
.ok-card p { color: #3c3a47; margin: 0 0 22px; line-height: 1.55; }
.ok-x { position: absolute; top: 8px; right: 14px; background: none; border: 0; font-size: 30px; line-height: 1; color: #888; cursor: pointer; }
.ok-x:hover { color: #1b2559; }
.ok-check { width: 78px; height: 78px; margin: 0 auto; }
.ok-check svg { width: 100%; height: 100%; }
.ok-check circle { stroke: #1c6b5e; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; }
.ok-check path { stroke: #1c6b5e; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.ok-modal.show .ok-check circle { animation: okDraw .7s .15s ease forwards; }
.ok-modal.show .ok-check path { animation: okDraw .45s .75s ease forwards; }
@keyframes okDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ok-modal.show, .ok-modal.show .ok-card { animation: none; } .ok-check circle, .ok-check path { stroke-dashoffset: 0 !important; animation: none !important; } }

/* Reseñas: tarjetas del mismo tamaño, con estrellas arriba y autor abajo */
.t-track { align-items: stretch; }
.t-card { display: flex; flex-direction: column; align-items: center; padding: 28px 24px 22px; min-height: 330px; transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .4s, box-shadow .4s; }
.t-card:hover { transform: translateY(-4px); border-color: rgba(240,168,60,.45); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.t-card .stars { order: 1; margin: 0 0 14px; }
.t-card .t-text { order: 2; margin: 0 0 12px; }
.t-card .t-more { order: 3; margin: 0 0 14px; }
.t-card .reviewer { order: 4; margin-top: auto; width: 100%; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.t-card .source { order: 5; }
.t-card .date { order: 6; }
.t-card .t-quote { top: 6px; }
@media (max-width: 700px) { .t-card { min-height: 0; } }
