/* ==========================================================
   Prestige Window Treatments - site improvements (2026 refresh)
   Loaded after bootstrap.min.css and styles.css so it can
   override legacy rules. Mobile-first.
   ========================================================== */

:root {
  --pwt-ink: #1d1f24;
  --pwt-text: #403f45;
  --pwt-muted: #6b6f78;
  --pwt-blue: #2ca3e4;
  --pwt-blue-dark: #1b7fbb;
  --pwt-navy: #1f3a4d;
  --pwt-sand: #f6f3ee;
  --pwt-line: #e6e8ec;
  --pwt-radius: 12px;
  --pwt-shadow: 0 8px 24px rgba(20, 30, 40, .10);
}

html { scroll-behavior: smooth; }
body {
  color: var(--pwt-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--pwt-ink); line-height: 1.2; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pwt-ink); color: #fff; padding: 8px 14px; z-index: 3000;
}
.skip-link:focus { left: 10px; }

/* ---------- Buttons ---------- */
.pwt-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 2px solid transparent;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, transform .2s;
  cursor: pointer;
}
.pwt-btn:hover { transform: translateY(-1px); }
.pwt-btn-primary { background: var(--pwt-blue); color: #fff !important; }
.pwt-btn-primary:hover { background: var(--pwt-blue-dark); }
.pwt-btn-outline { border-color: #fff; color: #fff !important; background: transparent; }
.pwt-btn-outline:hover { background: #fff; color: var(--pwt-ink) !important; }
.pwt-btn-dark { border-color: var(--pwt-ink); color: var(--pwt-ink) !important; background: transparent; }
.pwt-btn-dark:hover { background: var(--pwt-ink); color: #fff !important; }

/* ---------- Header ---------- */
header.site-header {
  margin-top: 0 !important;
  background: #fff;
  border-bottom: 1px solid var(--pwt-line);
  position: sticky;
  top: 0;
  z-index: 1500;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
.site-header .brand img { height: 52px; width: auto; display: block; }
.site-header .main-nav { display: none; }
.site-header .main-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--pwt-line);
  box-shadow: var(--pwt-shadow);
}
.site-header .main-nav ul {
  list-style: none;
  margin: 0; padding: 8px 16px 14px;
  text-align: left;
}
.site-header .main-nav ul li { display: block; }
.site-header .main-nav ul li a {
  display: block;
  padding: 12px 4px;
  color: var(--pwt-ink);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--pwt-line);
  text-decoration: none;
}
.site-header .main-nav ul li a:hover,
.site-header .main-nav ul li a.active { color: var(--pwt-blue); }
.site-header .header-actions { display: flex; align-items: center; gap: 10px; }
.site-header .lang a {
  color: var(--pwt-muted); font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 4px 6px;
}
.site-header .lang a.current { color: var(--pwt-ink); }
.site-header .btn-quote { padding: 9px 16px; font-size: 14px; display: none; }
.site-header .nav-toggle {
  background: none; border: 1px solid var(--pwt-line); border-radius: 8px;
  width: 42px; height: 42px; font-size: 18px; color: var(--pwt-ink);
}

@media (min-width: 992px) {
  .site-header .main-nav { display: block; position: static; box-shadow: none; border: 0; }
  .site-header .main-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-header .main-nav ul li a {
    border: 0; padding: 8px 10px; font-size: 14px; letter-spacing: .02em;
    border-radius: 6px; color: var(--pwt-ink);
  }
  .site-header .nav-toggle { display: none; }
  .site-header .btn-quote { display: inline-block; }
  .site-header .brand img { height: 58px; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400;
  display: flex; background: var(--pwt-ink); box-shadow: 0 -4px 14px rgba(0,0,0,.2);
}
.mobile-cta a {
  flex: 1; text-align: center; color: #fff; text-decoration: none;
  padding: 13px 4px; font-size: 14px; font-weight: 600;
}
.mobile-cta a + a { border-left: 1px solid rgba(255,255,255,.15); }
body { padding-bottom: 56px; }
@media (min-width: 992px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--pwt-navy);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,30,.78) 0%, rgba(10,20,30,.45) 60%, rgba(10,20,30,.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero-content .eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
  font-weight: 700; color: #bfe6fb; margin-bottom: 14px;
}
.hero h1 { color: #fff; font-size: 34px; font-weight: 700; max-width: 720px; margin-bottom: 16px; }
.hero .lead { font-size: 18px; max-width: 620px; color: #e9f1f7; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 768px) {
  .hero { min-height: 540px; }
  .hero h1 { font-size: 46px; }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--pwt-sand); padding: 22px 0; border-bottom: 1px solid var(--pwt-line); }
.trust-bar .trust-item { text-align: center; padding: 8px 6px; }
.trust-bar .trust-num { display: block; font-size: 22px; font-weight: 700; color: var(--pwt-ink); }
.trust-bar .trust-label { font-size: 13px; color: var(--pwt-muted); }
@media (min-width: 768px) { .trust-bar .trust-num { font-size: 26px; } }

/* ---------- Section scaffolding ---------- */
.pwt-section { padding: 56px 0; }
.pwt-section.alt { background: var(--pwt-sand); }
.pwt-kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  font-weight: 700; color: var(--pwt-blue); margin-bottom: 8px;
}
.pwt-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.pwt-lead { font-size: 17px; color: var(--pwt-text); max-width: 680px; }
.pwt-section-head { margin-bottom: 28px; }
@media (min-width: 768px) { .pwt-title { font-size: 34px; } .pwt-section { padding: 72px 0; } }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border-radius: var(--pwt-radius); overflow: hidden;
  box-shadow: var(--pwt-shadow); height: 100%; display: flex; flex-direction: column;
  transition: transform .2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.product-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.product-card p { color: var(--pwt-muted); font-size: 15px; margin-bottom: 16px; flex: 1; }
.product-card .more { color: var(--pwt-blue-dark); font-weight: 700; text-decoration: none; }
.product-card .more:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.step { padding: 22px 0; border-top: 2px solid var(--pwt-blue); height: 100%; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--pwt-ink);
  color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--pwt-muted); font-size: 15px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--pwt-navy); color: #fff; padding: 56px 0; text-align: center; }
.final-cta h2 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.final-cta p { color: #d7e4ee; margin-bottom: 22px; }
.final-cta .hero-actions { justify-content: center; }
@media (min-width: 768px) { .final-cta h2 { font-size: 34px; } }

/* ---------- Inner pages ---------- */
.page-intro { padding-top: 36px; padding-bottom: 8px; }
.page-intro h1 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.page-intro p { max-width: 760px; }

/* ---------- Contact form ---------- */
.formContacto { background: var(--pwt-navy) !important; border-radius: var(--pwt-radius); padding: 28px 22px !important; }
.formContacto label { font-weight: 600; font-size: 14px; color: #fff; }
.formContacto .form-control { border: 0; border-radius: 8px; padding: 10px 12px; font-size: 16px; }
.formContacto .form-control:focus { box-shadow: 0 0 0 3px rgba(44,163,228,.45); }
.formContacto .btn-contacto {
  width: 100%; background: var(--pwt-blue); border: 0; border-radius: 999px;
  padding: 13px; font-weight: 700; font-size: 17px;
}
.formContacto .btn-contacto:hover { background: var(--pwt-blue-dark); }
.form-status { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.form-status.success { background: #e8f8ee; color: #15603a; border: 1px solid #b7e7c9; }
.form-status.danger { background: #fdeeee; color: #8a1d1d; border: 1px solid #f2c4c4; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-options .btn { margin: 6px 4px; }

/* ---------- Footer ---------- */
footer.pwt-footer { background: var(--pwt-ink); color: #c9ced6; padding: 48px 0 24px; margin-top: 40px; }
.pwt-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pwt-footer a { color: #c9ced6; text-decoration: none; }
.pwt-footer a:hover { color: #fff; }
.pwt-footer ul { list-style: none; padding: 0; margin: 0; }
.pwt-footer li { margin-bottom: 8px; font-size: 15px; }
.pwt-footer .foot-logo { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }
.pwt-footer .social a { display: inline-block; margin-right: 12px; }
.pwt-footer .social img { width: 26px; height: 26px; }
.pwt-footer .legal {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px;
  font-size: 13px; color: #98a1ad;
}

/* Legacy floating social block is replaced by the footer social row */
.btnRedes { display: none; }

/* ---------- Legacy overrides ---------- */
.google_reviews { margin-top: 0 !important; }

/* ---------- Header fit on laptop widths (keeps nav on one line) ---------- */
@media (min-width: 992px) {
  .site-header .main-nav ul li a { white-space: nowrap; padding: 8px 7px; font-size: 13.5px; }
  .site-header .btn-quote { white-space: nowrap; }
  .site-header .lang { white-space: nowrap; }
  .site-header .brand img { height: 50px; }
}
@media (min-width: 1200px) {
  .site-header .main-nav ul li a { padding: 8px 10px; font-size: 14px; }
  .site-header .brand img { height: 58px; }
}
