/*
Theme Name: Warg
Theme URI: https://agenciawarg.com
Author: Agencia WARG S.A.S.
Author URI: https://agenciawarg.com
Description: Tema personalizado para Agencia WARG — geometría angular, profundidad por capas, líneas de contorno. Impresión, bordado y publicidad en Bogotá.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warg
Tags: custom-logo, custom-menu, featured-images, theme-options, one-column
*/

/* ==========================================
   WARG DESIGN TOKENS
   ========================================== */
:root {
    --warg-blue-vibrant: #1B75BC;
    --warg-blue-navy: #0A2B4E;
    --warg-bg-white: #FFFFFF;
    --warg-bg-gray: #F5F7FA;
    --warg-text-primary: #0A2B4E;
    --warg-text-body: #2D3748;
    --warg-text-light: #FFFFFF;

    --warg-font-display: 'Oswald', sans-serif;
    --warg-font-body: 'Roboto', sans-serif;

    --warg-shadow-sm: 4px 6px 16px rgba(10, 43, 78, 0.10);
    --warg-shadow-md: 6px 10px 24px rgba(10, 43, 78, 0.15);
    --warg-shadow-lg: 8px 14px 32px rgba(10, 43, 78, 0.20);

    --warg-radius: 0px;
    --warg-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    display: none;
}

/* Hide page scrollbar when hero overlay is open */
html.hero-open {
    overflow: hidden !important;
}

body {
    font-family: var(--warg-font-body);
    background: var(--warg-bg-white);
    color: var(--warg-text-body);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================
   SHARED
   ========================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--warg-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--warg-blue-vibrant);
    background: rgba(27, 117, 188, 0.08);
    border: 1px solid rgba(27, 117, 188, 0.2);
    padding: 8px 18px;
    margin-bottom: 16px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.section-title {
    font-family: var(--warg-font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--warg-text-primary);
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warg-text-body);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-diagonal-top {
    height: 60px;
    background: var(--warg-bg-white);
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
    position: relative;
    z-index: 2;
    margin-top: -60px;
}

/* ==========================================
   BUTTONS — Angular clip-path style
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--warg-font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--warg-transition);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary {
    background: var(--warg-blue-vibrant);
    color: var(--warg-text-light);
    border: none;
}

.btn-primary:hover {
    background: #1565a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 117, 188, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--warg-blue-vibrant);
    border: 2px solid var(--warg-blue-vibrant);
    clip-path: none;
}

.btn-secondary:hover {
    background: var(--warg-blue-vibrant);
    color: var(--warg-text-light);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* — Tier 1: Top Bar — */
.header-topbar {
    background: var(--warg-blue-navy);
    padding: 0 48px;
}

.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    padding: 8px 0;
    font-family: var(--warg-font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

.topbar-inner a {
    color: var(--warg-text-light);
    transition: var(--warg-transition);
}

.topbar-inner a:hover {
    color: var(--warg-blue-vibrant);
}

/* — Tier 2: Main Bar — */
.header-main {
    background: var(--warg-bg-white);
    padding: 0 48px;
    border-bottom: 1px solid rgba(27, 117, 188, 0.08);
    box-shadow: 0 2px 12px rgba(10, 43, 78, 0.06);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    height: 68px;
    gap: 32px;
}

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.site-title {
    font-family: var(--warg-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warg-text-primary);
    letter-spacing: 0.08em;
}

/* Nav */
.header-nav .nav-menu {
    display: flex;
    gap: 28px;
}

.header-nav .nav-menu a {
    font-family: var(--warg-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warg-text-primary);
    transition: var(--warg-transition);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.02em;
}

.header-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warg-blue-vibrant);
    transition: var(--warg-transition);
}

.header-nav .nav-menu a:hover {
    color: var(--warg-blue-vibrant);
}

.header-nav .nav-menu a:hover::after {
    width: 100%;
}

/* Right Group: Contact + CTA */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--warg-transition);
    padding: 6px 0;
}

.contact-item:hover .contact-icon {
    color: var(--warg-blue-vibrant);
}

.contact-item:hover .contact-value {
    color: var(--warg-blue-vibrant);
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--warg-blue-vibrant);
    flex-shrink: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-label {
    font-family: var(--warg-font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--warg-text-body);
    opacity: 0.7;
}

.contact-value {
    font-family: var(--warg-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warg-text-primary);
    transition: var(--warg-transition);
}

/* Header CTA Button */
.header-cta-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Separator between contact items */
.header-contact .contact-item:not(:last-child) {
    padding-right: 20px;
    border-right: 1px solid rgba(10, 43, 78, 0.1);
}

/* Mobile toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 110;
    position: absolute;
    right: 24px;
    top: 50px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warg-text-primary);
    transition: var(--warg-transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-section {
    position: relative;
    background: white;
    overflow-x: clip;
    overflow-y: visible;
    z-index: 2;
}

.hero-inner {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    height: 680px;
    padding: 0 48px;
}

/* Slides — stacked, only .active is visible */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Watermark */
.hero-watermark {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--warg-font-display);
    font-size: clamp(6rem, 14vw, 10rem);
    font-weight: 700;
    color: rgba(10, 43, 78, 0.07);
    white-space: nowrap;
    letter-spacing: 0.2em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Product image */
.hero-product {
    position: absolute;
    z-index: 1;
    bottom: -70px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.hero-product-img {
    height: 115%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

.hero-slide.active .hero-product-img {
    opacity: 1;
    transform: translateY(0);
}

/* Info panel */
.hero-info {
    position: absolute;
    z-index: 2;
    right: 100px;
    top: 65%;
    transform: translateY(-50%);
    width: 340px;
    opacity: 0;
    transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}

.hero-slide.active .hero-info {
    opacity: 1;
}

.hero-info-title {
    font-family: var(--warg-font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--warg-text-primary);
    line-height: 1.12;
    margin-bottom: 14px;
}

.hero-info-desc {
    font-family: var(--warg-font-body);
    font-size: 0.9rem;
    color: var(--warg-text-body);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.85rem;
}

.hero-cta svg {
    flex-shrink: 0;
}

/* Navigation arrows */
.hero-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 43, 78, 0.12);
    border: 1px solid rgba(27, 117, 188, 0.2);
    color: var(--warg-blue-navy);
    cursor: pointer;
    transition: transform 0.35s ease, background 0.3s ease, opacity 0.35s ease, border-color 0.3s ease;
    opacity: 0.5;
    padding: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.hero-arrow--prev {
    left: -48px;
}

.hero-arrow--next {
    right: -48px;
}

.hero-section:hover .hero-arrow--prev {
    left: 12px;
    opacity: 1;
}

.hero-section:hover .hero-arrow--next {
    right: 12px;
    opacity: 1;
}

.hero-arrow--prev,
.hero-arrow--next {
    transition: left 0.4s ease, right 0.4s ease, background 0.3s ease, opacity 0.35s ease;
}

.hero-arrow:hover {
    background: var(--warg-blue-vibrant);
    border-color: var(--warg-blue-vibrant);
    color: white;
    box-shadow: 0 4px 16px rgba(27, 117, 188, 0.3);
}

.hero-arrow:hover svg {
    stroke: white;
}

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar {
    position: relative;
    z-index: 3;
    background: var(--warg-blue-navy);
    padding: 0 48px;
    border-top: 1px solid rgba(27, 117, 188, 0.2);
    border-bottom: 1px solid rgba(27, 117, 188, 0.2);
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 32px 28px;
    border-right: 1px solid rgba(27, 117, 188, 0.15);
    transition: var(--warg-transition);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: rgba(27, 117, 188, 0.06);
}

.trust-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-family: var(--warg-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warg-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.trust-text span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

/* Google stars (reused inside clients-marquee) */
.google-reviews-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* ==========================================
   CLIENTES MARQUEE
   ========================================== */
.clients-marquee {
    background: var(--warg-bg-white);
    padding: 60px 0 28px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.clients-marquee .section-header {
    margin-bottom: 32px;
}

.clients-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.clients-reviews-text {
    font-family: var(--warg-font-body);
    font-size: 0.9rem;
    color: var(--warg-text-body);
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-logo {
    height: 320px;
    width: auto;
    object-fit: cover;
    opacity: 0.6;
    filter: grayscale(80%);
    transition: opacity 0.3s ease, filter 0.3s ease;
    cursor: default;
    flex-shrink: 0;
    display: block;
}

.marquee-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Fade en los bordes */
.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--warg-bg-white), transparent);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--warg-bg-white), transparent);
}


/* Servicios styles moved to assets/css/servicios.css */

/* ==========================================
   DOTACIONES — Sección estrella
   ========================================== */
.dotaciones-section {
    background: var(--warg-blue-navy);
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
}

.dotaciones-bg-shapes {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 30%, rgba(27, 117, 188, 0.06) 30%, rgba(27, 117, 188, 0.06) 33%, transparent 33%),
        linear-gradient(225deg, transparent 50%, rgba(27, 117, 188, 0.04) 50%, rgba(27, 117, 188, 0.04) 53%, transparent 53%);
    pointer-events: none;
}

.dotaciones-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* — Showcase gallery — */
.dotaciones-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dotaciones-showcase-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    border: 1px solid rgba(27, 117, 188, 0.15);
    transition: var(--warg-transition);
}

.dotaciones-showcase-item--large {
    grid-column: 1 / -1;
    aspect-ratio: 16/8;
}

.dotaciones-showcase-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/6;
}

.dotaciones-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dotaciones-showcase-item:hover {
    border-color: var(--warg-blue-vibrant);
    box-shadow: 0 0 20px rgba(27, 117, 188, 0.25);
}

.dotaciones-showcase-item:hover img {
    transform: scale(1.06);
}

.dotaciones-showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 43, 78, 0.85));
    padding: 24px 16px 10px;
}

.dotaciones-showcase-technique {
    font-family: var(--warg-font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warg-blue-vibrant);
    background: rgba(10, 43, 78, 0.7);
    border: 1px solid rgba(27, 117, 188, 0.3);
    padding: 4px 12px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* — Content right — */
.dotaciones-content {
    color: var(--warg-text-light);
}

.dotaciones-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--warg-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--warg-blue-vibrant);
    border: 1px solid rgba(27, 117, 188, 0.3);
    background: rgba(27, 117, 188, 0.08);
    padding: 8px 16px;
    margin-bottom: 20px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.dotaciones-content-title {
    font-family: var(--warg-font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--warg-text-light);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dotaciones-content-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

/* Stats */
.dotaciones-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(27, 117, 188, 0.15);
}

.dotaciones-stat strong {
    display: block;
    font-family: var(--warg-font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warg-blue-vibrant);
    line-height: 1;
    margin-bottom: 4px;
}

.dotaciones-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* Technique chips */
.dotaciones-techniques {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.dotaciones-technique-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--warg-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(27, 117, 188, 0.1);
    border: 1px solid rgba(27, 117, 188, 0.2);
    padding: 8px 14px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    transition: var(--warg-transition);
}

.dotaciones-technique-chip:hover {
    background: rgba(27, 117, 188, 0.2);
    border-color: var(--warg-blue-vibrant);
    color: var(--warg-text-light);
}

.dotaciones-technique-chip svg {
    color: var(--warg-blue-vibrant);
    flex-shrink: 0;
}

/* CTA */
.dotaciones-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #25D366;
    color: var(--warg-text-light);
    font-family: var(--warg-font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--warg-transition);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.dotaciones-cta:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* ==========================================
   NOSOTROS
   ========================================== */
.nosotros-section {
    background: var(--warg-bg-white);
    padding: 100px 48px;
    position: relative;
}

.nosotros-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
    align-items: start;
}

/* — Header side (left) — */
.nosotros-header-side {
    position: sticky;
    top: 140px;
}

.nosotros-main-title {
    font-family: var(--warg-font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--warg-text-primary);
    line-height: 1.12;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.nosotros-main-title span {
    color: var(--warg-blue-vibrant);
}

.nosotros-main-desc {
    font-size: 1rem;
    color: var(--warg-text-body);
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 28px;
}

.nosotros-accent-line {
    width: 60px;
    height: 3px;
    background: var(--warg-blue-vibrant);
    clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

/* — Cards grid (right) — */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nosotros-card {
    background: rgba(27, 117, 188, 0.1);
    padding: 1px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    transition: transform 0.35s ease, background 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 2px 6px rgba(10, 43, 78, 0.06));
    position: relative;
}

.nosotros-card-inner {
    background: var(--warg-bg-white);
    padding: 32px 28px;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
    height: 100%;
}

.nosotros-card:hover {
    transform: translateY(-4px);
    background: var(--warg-blue-vibrant);
    filter:
        drop-shadow(0 0 8px rgba(27, 117, 188, 0.3)) drop-shadow(0 0 18px rgba(27, 117, 188, 0.12)) drop-shadow(0 8px 16px rgba(10, 43, 78, 0.08));
}

.nosotros-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 117, 188, 0.06);
    border: 1px solid rgba(27, 117, 188, 0.12);
    color: var(--warg-blue-vibrant);
    margin-bottom: 16px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: var(--warg-transition);
}

.nosotros-card:hover .nosotros-card-icon {
    background: var(--warg-blue-vibrant);
    color: var(--warg-text-light);
    border-color: var(--warg-blue-vibrant);
}

.nosotros-card-inner {
    position: relative;
}

.nosotros-card-number {
    font-family: var(--warg-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(27, 117, 188, 0.07);
    line-height: 1;
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.nosotros-card-title {
    font-family: var(--warg-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--warg-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.nosotros-card p {
    font-size: 0.88rem;
    color: var(--warg-text-body);
    line-height: 1.65;
}

/* ==========================================
   CTA
   ========================================== */
.cta-section {
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
    margin: -30px 0;
    padding: 110px 48px;
}

.cta-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 43, 78, 0.88);
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--warg-font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--warg-text-light);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: #25D366;
    color: var(--warg-text-light);
    font-family: var(--warg-font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--warg-transition);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-cta:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.cta-contact {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--warg-transition);
}

.cta-contact a:hover {
    color: var(--warg-text-light);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: #061A30;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 48px;
    position: relative;
    overflow: hidden;
}

.footer-accent-line {
    height: 3px;
    background: linear-gradient(90deg, var(--warg-blue-vibrant), rgba(27, 117, 188, 0.2), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 0 48px;
    position: relative;
    z-index: 1;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 1;
}

.footer-slogan {
    font-family: var(--warg-font-display);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(27, 117, 188, 0.2);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--warg-transition);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.footer-social a:hover {
    background: var(--warg-blue-vibrant);
    border-color: var(--warg-blue-vibrant);
    color: var(--warg-text-light);
    box-shadow: 0 4px 12px rgba(27, 117, 188, 0.3);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-family: var(--warg-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--warg-text-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(27, 117, 188, 0.2);
    display: inline-block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--warg-transition);
}

.footer-links a:hover {
    color: var(--warg-text-light);
    padding-left: 6px;
}

.footer-contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact-list svg {
    color: rgba(27, 117, 188, 0.5);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--warg-transition);
}

.footer-contact-list a:hover {
    color: var(--warg-text-light);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(27, 117, 188, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1280px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
}

.footer-bottom-tagline {
    font-family: var(--warg-font-display);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.15);
}

/* Watermark logo */
.footer-watermark {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 10px auto 0;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.footer-watermark img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(10);
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 99;
    transition: var(--warg-transition);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--warg-shadow-lg);
}

.wa-tooltip {
    position: absolute;
    right: 68px;
    background: var(--warg-blue-navy);
    color: var(--warg-text-light);
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--warg-transition);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* ------------------------------------------
   TABLET — max-width: 1024px
   ------------------------------------------ */
@media (max-width: 1024px) {

    /* Header */
    .header-topbar {
        display: none;
    }

    .header-main {
        padding: 0 24px;
    }

    .header-main-inner {
        height: 60px;
    }

    .header-contact {
        display: none;
    }

    .header-cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--warg-bg-white);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--warg-transition);
        z-index: 105;
    }

    .header-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header-nav .nav-menu {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .header-nav .nav-menu a {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero-inner {
        height: 480px;
        padding: 0 32px;
    }

    .hero-product {
        bottom: -40px;
    }

    .hero-product-img {
        height: 100%;
        max-width: 60%;
    }

    .hero-info {
        right: 32px;
        width: 260px;
    }

    .hero-watermark {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .hero-arrow--prev,
    .hero-arrow--next {
        display: none;
    }

    /* Trust bar */
    .trust-bar {
        padding: 0 24px;
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-bottom: 1px solid rgba(27, 117, 188, 0.15);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid rgba(27, 117, 188, 0.15);
    }

    .trust-item:nth-child(even) {
        border-right: none;
    }

    /* Clients marquee */
    .marquee-logo {
        height: 240px;
    }

    /* Dotaciones */
    .dotaciones-section {
        padding: 80px 32px;
    }

    .dotaciones-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Nosotros */
    .nosotros-section {
        padding: 80px 32px;
    }

    .nosotros-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nosotros-header-side {
        position: static;
        text-align: center;
    }

    .nosotros-main-desc {
        max-width: 100%;
    }

    .nosotros-accent-line {
        margin: 0 auto;
    }

    .nosotros-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .cta-section {
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
        padding: 90px 32px;
    }

    /* Footer */
    .site-footer {
        padding: 0 24px;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    /* All sections — reduce horizontal padding */
    .header-topbar,
    .clients-marquee .section-header {
        padding-left: 24px;
        padding-right: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* ------------------------------------------
   MOBILE LANDSCAPE — max-width: 768px
   ------------------------------------------ */
@media (max-width: 768px) {

    /* Hero — stacked vertical on mobile */
    .hero-inner {
        height: auto;
        padding: 0 20px 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .hero-slide {
        position: relative;
        inset: auto;
        display: none;
    }

    .hero-slide.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-watermark {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        font-size: clamp(2.5rem, 12vw, 4rem);
        text-align: center;
        margin-top: 20px;
    }

    .hero-product {
        position: relative;
        bottom: auto;
        width: 100%;
        justify-content: center;
        margin: -20px 0 10px;
    }

    .hero-product-img {
        height: auto;
        max-height: 400px;
        width: auto;
        max-width: 112%;
    }

    .hero-info {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
    }

    .hero-slide.active .hero-info {
        opacity: 1;
    }

    .hero-info-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .hero-info-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    /* Hide arrows on mobile — use swipe instead */
    .hero-arrow {
        display: none;
    }

    /* Trust bar */
    .trust-bar {
        padding: 0 16px;
        overflow: hidden;
    }

    .trust-item {
        padding: 16px 12px;
        gap: 10px;
        overflow: hidden;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .trust-text {
        overflow: hidden;
    }

    .trust-text strong {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .trust-text span {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Google reviews — wrap and center */
    .clients-reviews {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    /* Clients marquee */
    .marquee-logo {
        height: 200px;
    }

    .clients-marquee::before,
    .clients-marquee::after {
        width: 60px;
    }

    .clients-marquee {
        padding: 40px 0 20px;
    }

    /* Servicios */
    .servicios-section {
        padding: 64px 20px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    /* Dotaciones */
    .dotaciones-section {
        padding: 64px 20px;
    }

    .dotaciones-inner {
        gap: 36px;
    }

    .dotaciones-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .dotaciones-stat strong {
        font-size: 1.5rem;
    }

    .dotaciones-techniques {
        gap: 8px;
    }

    .dotaciones-cta {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .dotaciones-showcase-item {
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    }

    /* Nosotros */
    .nosotros-section {
        padding: 64px 20px;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nosotros-card {
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    }

    .nosotros-card-inner {
        clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
        padding: 24px 20px;
    }

    /* CTA */
    .cta-section {
        clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
        padding: 80px 20px;
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .btn-cta {
        padding: 14px 32px;
        font-size: 0.85rem;
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }

    /* Footer */
    .site-footer {
        padding: 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 0;
    }

    /* Shared sections — smaller padding */
    .section-diagonal-top {
        height: 40px;
        margin-top: -40px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* Buttons — smaller clip-path on mobile */
    .btn {
        clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    /* WhatsApp float — slightly smaller */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .wa-tooltip {
        display: none;
    }
}

/* ------------------------------------------
   MOBILE PORTRAIT — max-width: 480px
   ------------------------------------------ */
@media (max-width: 480px) {

    /* Hero — tighter on small phones */
    .hero-inner {
        padding: 0 16px 24px;
    }

    .hero-watermark {
        font-size: clamp(2rem, 12vw, 3rem);
        margin-top: 16px;
    }

    .hero-product-img {
        max-height: 320px;
        max-width: 135%;
    }

    .hero-info-title {
        font-size: 1.2rem;
    }

    .hero-info-desc {
        font-size: 0.8rem;
    }

    .hero-cta {
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    /* Trust bar — single column */
    .trust-bar {
        padding: 0 16px;
    }

    .trust-inner {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(27, 117, 188, 0.15);
        padding: 16px 12px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
    }

    .trust-text strong {
        font-size: 1.1rem;
    }

    /* Clients marquee */
    .marquee-logo {
        height: 160px;
    }

    .clients-marquee::before,
    .clients-marquee::after {
        width: 40px;
    }

    .clients-marquee {
        padding: 32px 0 16px;
    }

    .clients-reviews-text {
        font-size: 0.8rem;
    }

    /* Servicios */
    .servicios-section {
        padding: 48px 16px;
    }

    /* Dotaciones */
    .dotaciones-section {
        padding: 48px 16px;
    }

    .dotaciones-content-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .dotaciones-content-desc {
        font-size: 0.9rem;
    }

    .dotaciones-stats {
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .dotaciones-stat strong {
        font-size: 1.4rem;
    }

    .dotaciones-stat span {
        font-size: 0.75rem;
    }

    .dotaciones-techniques {
        margin-bottom: 24px;
    }

    .dotaciones-technique-chip {
        font-size: 0.75rem;
        padding: 6px 10px;
        clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 4px 100%, 0 calc(100% - 4px));
    }

    .dotaciones-cta {
        padding: 12px 24px;
        font-size: 0.75rem;
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }

    .dotaciones-showcase-grid {
        gap: 6px;
    }

    /* Nosotros */
    .nosotros-section {
        padding: 48px 16px;
    }

    .nosotros-card-inner {
        padding: 20px 16px;
    }

    .nosotros-card-title {
        font-size: 0.95rem;
    }

    .nosotros-card p {
        font-size: 0.82rem;
    }

    .nosotros-card-number {
        font-size: 2.4rem;
    }

    /* CTA */
    .cta-section {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
        padding: 60px 16px;
        margin: -16px 0;
    }

    .cta-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .cta-subtitle {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .btn-cta {
        padding: 12px 28px;
        font-size: 0.8rem;
    }

    .cta-contact {
        font-size: 0.82rem;
        margin-top: 16px;
    }

    /* Footer */
    .site-footer {
        padding: 0 16px;
    }

    .footer-main {
        padding: 32px 0 24px;
        gap: 28px;
    }

    .footer-heading {
        font-size: 0.75rem;
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-contact-list p {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.72rem;
    }

    .footer-bottom-tagline {
        font-size: 0.72rem;
    }

    /* Shared — smallest padding */
    .section-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    /* Header — tighter on small screens */
    .header-main {
        padding: 0 16px;
    }

    .mobile-menu-toggle {
        right: 16px;
    }

    .header-logo-img {
        height: 36px;
    }

    .site-title {
        font-size: 1.2rem;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 46px;
        height: 46px;
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}