/*
Theme Name: Vértice Astra Child
Theme URI: https://verticegt.com/
Description: Sistema visual y plantillas personalizadas para Vértice GT.
Author: Vértice GT
Template: astra
Version: 0.3.2
Text Domain: vertice
*/

:root {
  --v-red: #9c1b0e;
  --v-red-dark: #701209;
  --v-ink: #16191d;
  --v-slate: #40474f;
  --v-line: #dcd8d1;
  --v-warm: #f7f5f1;
  --v-sand: #e9e3da;
  --v-white: #fff;
  --v-radius: 22px;
  --v-shadow: 0 24px 70px rgba(22, 25, 29, .12);
  --v-container: min(1180px, calc(100% - 40px));
}

html { scroll-behavior: smooth; }
body.vertice-site { margin: 0; color: var(--v-ink); background: var(--v-white); font-family: Inter, "Segoe UI", sans-serif; }
.vertice-site *, .vertice-site *::before, .vertice-site *::after { box-sizing: border-box; }
.v-container { width: var(--v-container); margin-inline: auto; }
.v-section { padding: 104px 0; }
.v-section[id] { scroll-margin-top: 96px; }
.v-section--warm { background: var(--v-warm); }
.v-section--ink { color: var(--v-white); background: var(--v-ink); }
.v-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--v-red); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v-eyebrow::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.v-title { max-width: 760px; margin: 0; font-family: Manrope, Inter, sans-serif; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.v-title--small { font-size: clamp(32px, 4vw, 52px); }
.v-lead { max-width: 660px; margin: 24px 0 0; color: var(--v-slate); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.v-section--ink .v-lead { color: #c9cdd1; }
.v-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.v-button:hover { transform: translateY(-2px); }
.v-button:focus-visible, .v-nav a:focus-visible, .v-footer a:focus-visible, .v-menu-toggle:focus-visible, .v-faq summary:focus-visible { outline: 3px solid #f2a39b; outline-offset: 4px; }
.v-button--primary { color: var(--v-white); background: var(--v-red); }
.v-button--primary:hover { color: var(--v-white); background: var(--v-red-dark); }
.v-button--ghost { color: var(--v-white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }
.v-button--light { color: var(--v-ink); background: var(--v-white); }

.v-header { position: fixed; z-index: 1000; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(22,25,29,.82); backdrop-filter: blur(18px); }
.admin-bar .v-header { top: 32px; }
.v-header__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 32px; }
.v-logo { display: inline-flex; align-items: center; }
.v-logo img { display: block; width: 154px; height: auto; filter: brightness(1.32) saturate(1.08); }
.v-nav { display: flex; align-items: center; gap: 28px; }
.v-nav a { color: rgba(255,255,255,.84); font-size: 14px; font-weight: 700; text-decoration: none; }
.v-nav a:hover { color: var(--v-white); }
.v-menu-toggle { display: none; width: 44px; height: 44px; place-items: center; flex: 0 0 44px; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: var(--v-white); background: transparent; font-size: 0; line-height: 1; }
.v-menu-toggle:hover, .v-menu-toggle:focus { color: var(--v-white); border-color: rgba(255,255,255,.5); background: transparent; }
.v-menu-toggle::before { width: 18px; height: 2px; content: ""; border-radius: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

.v-hero { position: relative; display: grid; min-height: 820px; align-items: center; overflow: hidden; color: var(--v-white); background: var(--v-ink); }
.v-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(12,14,16,.96) 0%, rgba(12,14,16,.82) 34%, rgba(12,14,16,.18) 70%, rgba(12,14,16,.08) 100%), url("assets/images/hero-arquitectura-upvc.png") center/cover no-repeat; }
.v-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 180px; content: ""; background: linear-gradient(transparent, rgba(12,14,16,.6)); }
.v-hero__content { position: relative; z-index: 1; max-width: 720px; padding: 150px 0 110px; }
.v-hero h1 { margin: 0; color: var(--v-white) !important; font-family: Manrope, Inter, sans-serif; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.v-hero h1 span { color: #e65a4c; }
.v-hero p { max-width: 590px; margin: 28px 0 34px; color: rgba(255,255,255,.8); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.v-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.v-trust { position: absolute; z-index: 2; right: max(20px, calc((100% - 1180px)/2)); bottom: 34px; display: flex; gap: 34px; color: rgba(255,255,255,.84); }
.v-trust strong { display: block; color: var(--v-white); font-family: Manrope, sans-serif; font-size: 24px; }
.v-trust span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.v-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.v-card { position: relative; min-height: 330px; padding: 34px; overflow: hidden; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: var(--v-white); }
.v-card__number { color: var(--v-red); font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; }
.v-card h3 { margin: 86px 0 14px; font-family: Manrope, sans-serif; font-size: 27px; line-height: 1.15; letter-spacing: -.03em; }
.v-card p { margin: 0; color: var(--v-slate); line-height: 1.65; }
.v-card::after { position: absolute; top: 28px; right: 28px; width: 54px; height: 54px; content: "↗"; display: grid; place-items: center; border-radius: 50%; color: var(--v-red); background: var(--v-warm); font-size: 22px; }
.v-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.v-feature-panel { padding: 48px; border-radius: 30px; background: linear-gradient(135deg, #292e34, #171a1e); box-shadow: var(--v-shadow); }
.v-feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.v-feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.v-feature-list li:last-child { border: 0; }
.v-feature-list b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--v-white); background: var(--v-red); }
.v-feature-list h3 { margin: 0 0 7px; font-family: Manrope, sans-serif; font-size: 20px; }
.v-feature-list p { margin: 0; color: #b9bec3; line-height: 1.55; }

.v-process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--v-line); }
.v-process article { padding: 30px 28px 0 0; }
.v-process b { color: var(--v-red); font-family: Manrope, sans-serif; font-size: 14px; }
.v-process h3 { margin: 42px 0 12px; font-size: 20px; }
.v-process p { margin: 0; color: var(--v-slate); line-height: 1.6; }

.v-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.v-project { min-height: 250px; padding: 30px; border-radius: var(--v-radius); background: #252a30; border: 1px solid rgba(255,255,255,.12); }
.v-project span { color: #f08a80; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.v-project h3 { margin: 54px 0 12px; color: var(--v-white); font: 700 25px/1.15 Manrope, sans-serif; }
.v-project p { margin: 0; color: #c9cdd1; line-height: 1.65; }

.v-faq { display: grid; gap: 12px; max-width: 900px; margin-top: 46px; }
.v-faq details { border: 1px solid var(--v-line); border-radius: 14px; background: var(--v-white); }
.v-faq summary { position: relative; padding: 21px 58px 21px 22px; cursor: pointer; color: var(--v-ink); font: 700 18px/1.35 Manrope, sans-serif; list-style: none; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { position: absolute; top: 50%; right: 22px; content: "+"; color: var(--v-red); font-size: 25px; transform: translateY(-50%); }
.v-faq details[open] summary::after { content: "−"; }
.v-faq details p { margin: 0; padding: 0 22px 22px; color: var(--v-slate); line-height: 1.7; }

.v-quote-shell { padding: 40px; border: 1px solid var(--v-line); border-radius: 30px; background: var(--v-white); box-shadow: var(--v-shadow); }
.v-legacy-cotizador > .elementor { margin-top: 20px; }
.v-legacy-cotizador table { border-radius: 14px; overflow: hidden; }
.v-legacy-cotizador button { border-radius: 999px !important; }

.v-page-hero { padding: 190px 0 110px; color: var(--v-white); background: radial-gradient(circle at 80% 10%, rgba(156,27,14,.4), transparent 35%), var(--v-ink); }
.v-page-hero h1 { max-width: 820px; margin: 0; color: var(--v-white) !important; font-family: Manrope, sans-serif; font-size: clamp(48px, 7vw, 78px); line-height: 1; letter-spacing: -.05em; }
.v-page-hero p { max-width: 650px; margin: 28px 0 0; color: #c8ccd0; font-size: 20px; line-height: 1.65; }
.v-about-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.v-about-copy p { margin: 0 0 22px; color: var(--v-slate); font-size: 18px; line-height: 1.8; }
.v-contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.v-contact-details { position: sticky; top: 110px; }
.v-contact-details a { color: var(--v-red); font-weight: 800; }
.v-form-card { padding: 40px; border: 1px solid var(--v-line); border-radius: 28px; background: var(--v-white); box-shadow: var(--v-shadow); }
.v-form-card > * { display: none !important; }
.v-form-card > .uagb-block-c97fe07f { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
.v-form-card > .uagb-block-c97fe07f > .uagb-container-inner-blocks-wrap { display: block !important; width: 100% !important; max-width: none !important; }
.v-form-card .uagb-block-740edd2b { display: none !important; }
.v-form-card .uagb-block-2c06996f { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; flex-basis: 100% !important; }
.v-form-card .srfm-form-container { width: 100% !important; max-width: none !important; margin: 24px 0 0 !important; }
.v-contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.v-footer { padding: 74px 0 30px; color: rgba(255,255,255,.72); background: #0f1114; }
.v-footer__grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 70px; }
.v-footer img { width: 155px; }
.v-footer p { max-width: 410px; line-height: 1.65; }
.v-footer h3 { margin: 0 0 18px; color: var(--v-white); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.v-footer a { display: block; margin: 10px 0; color: rgba(255,255,255,.72); text-decoration: none; }
.v-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 900px) {
  .v-nav { position: fixed; top: 78px; right: 20px; left: 20px; display: none; max-height: calc(100vh - 100px); overflow-y: auto; align-items: stretch; flex-direction: column; gap: 0; padding: 20px; border-radius: 20px; background: var(--v-ink); box-shadow: var(--v-shadow); }
  .v-nav.is-open { display: flex; }
  .v-nav a { padding: 14px 10px; }
  .v-menu-toggle { display: grid; }
  .v-hero { min-height: 760px; }
  .v-hero::before { background: linear-gradient(90deg, rgba(12,14,16,.94), rgba(12,14,16,.65)), url("assets/images/hero-arquitectura-upvc.png") 62% center/cover no-repeat; }
  .v-trust { display: none; }
  .v-grid-3, .v-process, .v-projects { grid-template-columns: 1fr 1fr; }
  .v-split, .v-about-copy, .v-contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .v-contact-details { position: static; }
  .v-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .v-header { top: 46px; }
  .admin-bar .v-nav { top: 124px; max-height: calc(100vh - 146px); }
}

@media (max-width: 620px) {
  :root { --v-container: min(100% - 28px, 1180px); }
  .v-section { padding: 76px 0; }
  .v-logo img { width: 132px; }
  .v-header__inner { min-height: 72px; }
  .v-nav { top: 72px; }
  .admin-bar .v-nav { top: 118px; }
  .v-hero { min-height: 710px; }
  .v-hero__content { padding-top: 130px; }
  .v-grid-3, .v-process, .v-projects, .v-footer__grid { grid-template-columns: 1fr; }
  .v-card { min-height: 280px; }
  .v-card h3 { margin-top: 64px; }
  .v-feature-panel, .v-quote-shell, .v-form-card { padding: 26px; }
  .v-footer__bottom { flex-direction: column; }
  .kodee-fab__label { display: none !important; }
  .kodee-fab__open { width: 52px !important; min-width: 52px !important; padding: 0 !important; border-radius: 50% !important; }
  .kodee-fab { right: 14px !important; bottom: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
