/* =====================================================
   LÁMINAS DUROCK PREFABRICADO HRO - Stylesheet
   Paleta inspirada en el logo: verde profundo + dorado
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand colors from logo */
    --green-900: #143822;
    --green-800: #1f4d2b;
    --green-700: #2a6238;
    --green-600: #357548;
    --green-500: #4a8a5d;
    --green-50:  #e8f0ea;

    --gold-700: #8a6e23;
    --gold-600: #a8862d;
    --gold-500: #c9a449;
    --gold-400: #d6b863;
    --gold-300: #e6cc88;
    --gold-50:  #faf3e0;

    --charcoal: #1a1a1a;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray-500: #adb5bd;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f1f3f5;
    --gray-50:  #f8f9fa;
    --white:    #ffffff;
    --cream:    #faf8f3;

    /* Typography */
    --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(20, 56, 34, 0.06);
    --shadow: 0 8px 24px rgba(20, 56, 34, 0.10);
    --shadow-lg: 0 20px 50px rgba(20, 56, 34, 0.18);
    --shadow-gold: 0 12px 30px rgba(168, 134, 45, 0.30);

    /* Transitions */
    --t-fast: .2s ease;
    --t: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--cream);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 800;
    color: var(--green-900);
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.text-gold {
    color: var(--gold-600);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    transition: all var(--t);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(168, 134, 45, 0.40);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-700));
}

.btn--whatsapp {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background: #1faa53;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn--outline:hover {
    background: var(--green-800);
    color: var(--white);
}

.btn--small {
    padding: 10px 20px;
    font-size: 13px;
}

.btn--large {
    padding: 18px 36px;
    font-size: 17px;
}

.btn--full {
    width: 100%;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    transition: all var(--t);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--gray-200);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 56px;
    width: auto;
    transition: transform var(--t);
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
}

/* ---------- Navigation ---------- */
.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    display: inline-block;
    padding: 10px 18px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--green-900);
    border-radius: 50px;
    transition: all var(--t-fast);
    position: relative;
}

.nav__link:hover,
.nav__link--active:not(.nav__link--cta) {
    color: var(--gold-600);
    background: var(--gold-50);
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: var(--white) !important;
    padding: 11px 24px;
    box-shadow: 0 6px 18px rgba(31, 77, 43, 0.30);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(31, 77, 43, 0.40);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--green-900);
    border-radius: 3px;
    transition: all var(--t);
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 88vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(201, 164, 73, 0.12), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(31, 77, 43, 0.10), transparent 50%),
        linear-gradient(135deg, #ffffff 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 77, 43, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 77, 43, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gold-50);
    color: var(--gold-700);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 22px;
    border: 1px solid rgba(201, 164, 73, 0.3);
}

.hero__title {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -1.4px;
}

.hero__subtitle {
    font-size: 17px;
    color: var(--gray-700);
    margin-bottom: 28px;
    max-width: 580px;
    line-height: 1.7;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 34px;
}

.hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: var(--green-900);
    font-weight: 600;
}

.hero__feature i {
    color: var(--gold-600);
    font-size: 16px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero visual - main image + floating card */
.hero__visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero__main-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
    transform: rotate(-1deg);
    transition: transform var(--t);
}

.hero__main-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(20, 56, 34, 0.55) 100%);
    z-index: 1;
}

.hero__main-image::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 3px solid var(--gold-500);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.4;
}

.hero__main-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 14px 18px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    box-shadow: var(--shadow);
}

.hero__image-badge i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero__image-badge strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--green-900);
}

.hero__image-badge span {
    font-size: 12.5px;
    color: var(--gray-700);
}

.hero__floating-card {
    position: absolute;
    top: -20px;
    right: -16px;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    border: 1px solid var(--gray-200);
    animation: float 5s ease-in-out infinite 1s;
}

.hero__floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hero__floating-card strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--green-900);
    line-height: 1.1;
}

.hero__floating-card span {
    font-size: 12.5px;
    color: var(--gray-700);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero__scroll {
    display: none;
}

.hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--green-800);
    border-radius: 4px;
    margin: 8px auto 0;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ---------- Coverage Banner ---------- */
.coverage {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}

.coverage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(201, 164, 73, 0.25) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.4;
}

.coverage__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.coverage__item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.coverage__item i {
    font-size: 28px;
    color: var(--gold-400);
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: rgba(201, 164, 73, 0.12);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.coverage__item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.coverage__item span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Section Header ---------- */
.section__header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 64px;
}

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-50);
    color: var(--green-700);
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.section__subtitle {
    font-size: 16.5px;
    color: var(--gray-700);
    line-height: 1.7;
}

.section__header--light .section__tag {
    background: rgba(201, 164, 73, 0.18);
    color: var(--gold-300);
}

.section__header--light .section__title,
.section__header--light .section__subtitle {
    color: var(--white);
}

.section__header--light .section__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- About ---------- */
.about {
    background: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.about__card {
    padding: 38px 30px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--t);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.about__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    opacity: 0;
    transition: opacity var(--t);
    z-index: 0;
}

.about__card > * {
    position: relative;
    z-index: 1;
}

.about__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-700);
}

.about__card:hover::before {
    opacity: 1;
}

.about__card:hover h3,
.about__card:hover p {
    color: var(--white);
}

.about__card:hover .about__icon {
    transform: scale(1.1) rotate(-5deg);
}

.about__icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    font-size: 32px;
    color: var(--white);
    transition: all var(--t);
}

.about__icon--green {
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
}

.about__icon--gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.about__card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    transition: color var(--t);
}

.about__card p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    transition: color var(--t);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    border-radius: var(--radius-xl);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about__stats::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 164, 73, 0.15), transparent 70%);
    border-radius: 50%;
}

.stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat__number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--gold-400);
    line-height: 1;
    display: inline-block;
}

.stat__plus {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--gold-400);
}

.stat__label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ---------- Services ---------- */
.services {
    background: var(--cream);
    position: relative;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service {
    padding: 38px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--t);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}

.service:hover::after {
    transform: scaleX(1);
}

.service__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    font-size: 30px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    transition: all var(--t);
}

.service:hover .service__icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    transform: rotate(-5deg) scale(1.05);
}

.service h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service__link {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--green-800);
    transition: gap var(--t);
    margin-top: auto;
}

.service__link:hover {
    color: var(--gold-600);
    gap: 14px;
}

.service .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* ---------- Service Price Badge ---------- */
.service__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    background: linear-gradient(135deg, var(--gold-50), #fff5dc);
    border: 1.5px solid var(--gold-400);
    padding: 10px 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-family: var(--font-display);
    position: relative;
    transition: all var(--t);
    width: fit-content;
    max-width: 100%;
}

.service:hover .service__price {
    background: linear-gradient(135deg, #fff5dc, var(--gold-300));
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(168, 134, 45, 0.15);
}

.service__price-from {
    font-size: 11.5px;
    color: var(--gray-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service__price-amount {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold-700);
    line-height: 1;
    letter-spacing: -0.5px;
}

.service__price-unit {
    font-size: 12.5px;
    color: var(--gray-700);
    font-weight: 600;
}

.service__price--free {
    background: linear-gradient(135deg, var(--green-50), #d4f0d9);
    border-color: var(--green-600);
}

.service__price--free i {
    color: var(--green-700);
    font-size: 15px;
    margin-right: 4px;
}

.service__price--free .service__price-amount {
    color: var(--green-800);
    font-size: 15px;
    font-weight: 700;
}

/* Variantes para tarjeta destacada (verde) */
.service--featured .service__price {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold-400);
    backdrop-filter: blur(8px);
}

.service--featured .service__price-from,
.service--featured .service__price-unit {
    color: rgba(255, 255, 255, 0.85);
}

.service--featured .service__price-amount {
    color: var(--gold-300);
}

/* ---------- Service Options List (modalidades casa) ---------- */
.service__options {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service__options li {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    transition: all var(--t-fast);
}

.service__options li:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--gold-400);
}

.service__options li > div {
    flex: 1;
    min-width: 0;
}

.service__options strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--white);
    line-height: 1.2;
}

.service__options span:not(.service__option-price) {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
}

.service__option-price {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    padding: 6px 11px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(168, 134, 45, 0.35);
    flex-shrink: 0;
}

/* ---------- Services note ---------- */
.services__note {
    margin: 36px auto 0;
    padding: 16px 22px;
    background: var(--white);
    border: 1px dashed var(--gold-400);
    color: var(--gray-700);
    border-radius: var(--radius);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: max-content;
    text-align: center;
}

.services__note i {
    color: var(--gold-600);
    font-size: 16px;
}

.service--featured {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    color: var(--white);
    border-color: var(--green-900);
    position: relative;
}

.service--featured::after {
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
    transform: scaleX(1);
}

.service--featured h3 {
    color: var(--white);
}

.service--featured p {
    color: rgba(255, 255, 255, 0.85);
}

.service--featured .service__icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

.service--featured:hover .service__icon {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.service--featured .service__link {
    color: var(--gold-400);
}

.service--featured .service__link:hover {
    color: var(--gold-300);
}

.service__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-500);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service--cta {
    background: linear-gradient(135deg, var(--gold-50), var(--cream));
    border: 2px dashed var(--gold-400);
}

.service--cta .service__icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}

/* ---------- Gallery ---------- */
.gallery {
    background: var(--white);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--t);
}

.filter-btn:hover {
    background: var(--green-50);
    color: var(--green-800);
}

.filter-btn--active {
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gallery__item {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.gallery__item.hidden {
    display: none;
}

.gallery__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}

.gallery__media,
.gallery__placeholder {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.gallery__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.gallery__media::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: var(--gold-500);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    opacity: 0;
    transition: all var(--t);
    box-shadow: var(--shadow-gold);
    z-index: 2;
}

.gallery__item:hover .gallery__media img {
    transform: scale(1.1);
}

.gallery__item:hover .gallery__media::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery__placeholder {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold-400);
    text-align: center;
    padding: 20px;
}

.gallery__placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(201, 164, 73, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(201, 164, 73, 0.05) 25%, transparent 25%);
    background-size: 30px 30px;
}

.gallery__placeholder i {
    font-size: 54px;
    position: relative;
    z-index: 1;
    transition: transform var(--t);
}

.gallery__item:hover .gallery__placeholder i {
    transform: scale(1.15) rotate(5deg);
}

.gallery__placeholder span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.gallery__item figcaption {
    padding: 18px 20px;
}

.gallery__item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--green-900);
}

.gallery__item p {
    font-size: 13px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery__item p::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold-600);
}

.gallery__note {
    margin: 40px auto 0;
    padding: 18px 24px;
    background: var(--gold-50);
    color: var(--gold-700);
    border-radius: var(--radius);
    font-size: 14px;
    border: 1px dashed var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: max-content;
    text-align: center;
}

/* ---------- Videos Section ---------- */
.videos {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.videos::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 164, 73, 0.10), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all var(--t);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-300);
}

.video-card__player {
    position: relative;
    background: var(--charcoal);
    aspect-ratio: 9 / 16;
    max-height: 560px;
    overflow: hidden;
}

.video-card__player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--charcoal);
}

.video-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.video-card__badge i {
    color: #ff3b3b;
    font-size: 8px;
    animation: blinkDot 1.4s ease-in-out infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.video-card__info {
    padding: 24px 26px 28px;
}

.video-card__info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--green-900);
}

.video-card__info p {
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.65;
    margin: 0;
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--cream);
}

.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq__item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--t);
}

.faq__item:hover {
    border-color: var(--gold-300);
    box-shadow: var(--shadow-sm);
}

.faq__item[open] {
    border-color: var(--green-700);
    box-shadow: var(--shadow);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--green-900);
    list-style: none;
    transition: all var(--t-fast);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question:hover {
    color: var(--gold-600);
}

.faq__question i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-50);
    color: var(--green-800);
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: all var(--t);
    flex-shrink: 0;
}

.faq__item[open] .faq__question i {
    transform: rotate(45deg);
    background: var(--gold-500);
    color: var(--white);
}

.faq__answer {
    padding: 0 26px 24px;
    animation: faqOpen .4s ease;
}

.faq__answer p {
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.7;
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact ---------- */
.contact {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 164, 73, 0.10), transparent 70%);
    border-radius: 50%;
}

.contact::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 138, 93, 0.18), transparent 70%);
    border-radius: 50%;
}

.contact > .container {
    position: relative;
    z-index: 1;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    align-items: start;
}

.contact__info {
    color: var(--white);
}

.contact__info h3 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 14px;
}

.contact__info > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15.5px;
    margin-bottom: 30px;
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact__list li,
.contact__list li a {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    transition: all var(--t-fast);
    width: 100%;
}

.contact__list li a:hover {
    transform: translateX(4px);
}

.contact__list li a:hover strong {
    color: var(--gold-400);
}

.contact__list i {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(201, 164, 73, 0.15);
    color: var(--gold-400);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact__list strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 2px;
    transition: color var(--t-fast);
}

.contact__list span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.contact__social {
    display: flex;
    gap: 12px;
}

.contact__social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: all var(--t);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact__social a:hover {
    background: var(--gold-500);
    color: var(--white);
    transform: translateY(-3px) rotate(-8deg);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-gold);
}

/* ---------- Form ---------- */
.contact__form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact__form h3 {
    font-size: 24px;
    margin-bottom: 26px;
    color: var(--green-900);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form__group {
    margin-bottom: 18px;
}

.form__group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--green-900);
    margin-bottom: 8px;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: all var(--t-fast);
    font-weight: 500;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--green-700);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(74, 138, 93, 0.12);
}

.form__group input.error,
.form__group select.error,
.form__group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form__group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-body);
}

.form__note {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--gray-700);
}

.form__note i {
    color: var(--green-700);
    margin-right: 4px;
}

/* Success message */
.form__success {
    background: linear-gradient(135deg, var(--green-50), #d4f0d9);
    border: 1.5px solid var(--green-600);
    color: var(--green-900);
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown .4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form__success i {
    font-size: 20px;
    color: var(--green-700);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background:
        linear-gradient(135deg, rgba(201, 164, 73, 0.95), rgba(168, 134, 45, 0.95)),
        linear-gradient(135deg, var(--gold-500), var(--gold-600));
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
}

.cta-banner__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 6px;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 70px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer__col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer__col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
}

.footer__logo {
    height: 70px;
    margin-bottom: 18px;
    background: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    width: max-content;
    max-width: 100%;
}

.footer__col--about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--t-fast);
    display: inline-block;
}

.footer__col ul li a:hover {
    color: var(--gold-400);
    transform: translateX(4px);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer__contact li i {
    color: var(--gold-400);
    width: 18px;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: all var(--t);
}

.footer__social a:hover {
    background: var(--gold-500);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ======================================
   WHATSAPP CHAT WIDGET — Estilo profesional
   ====================================== */

:root {
    --wa-green: #25d366;
    --wa-green-dark: #128c7e;
    --wa-green-deep: #075e54;
    --wa-bg: #e5ddd5;
    --wa-bubble-in: #ffffff;
    --wa-bubble-out: #dcf8c6;
    --wa-text-time: #667781;
    --wa-input-bg: #f0f0f0;
}

.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* ---------- FAB (botón flotante) ---------- */
.wa-fab {
    position: relative;
    width: 64px;
    height: 64px;
    background: var(--wa-green);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    transition: all var(--t);
    animation: waPulse 2.4s ease-in-out infinite;
    margin-left: auto;
}

.wa-fab:hover {
    transform: scale(1.08);
    background: #1faa53;
}

.wa-fab__icon,
.wa-fab__close {
    position: absolute;
    font-size: 30px;
    transition: all var(--t);
}

.wa-fab__close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    font-size: 24px;
}

.wa-widget.is-open .wa-fab {
    animation: none;
    background: var(--wa-green-deep);
    box-shadow: 0 10px 30px rgba(7, 94, 84, 0.4);
}

.wa-widget.is-open .wa-fab__icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.wa-widget.is-open .wa-fab__close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.wa-fab__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #ff3b3b;
    color: var(--white);
    border-radius: 11px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
    border: 2px solid var(--white);
    animation: waPop 0.4s ease-out 0.6s both;
}

.wa-widget.is-open .wa-fab__badge,
.wa-widget.has-seen .wa-fab__badge {
    display: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
}

@keyframes waPop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ---------- Burbuja de invitación ---------- */
.wa-bubble {
    position: absolute;
    bottom: 78px;
    right: 0;
    background: var(--white);
    padding: 12px 36px 12px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    color: var(--charcoal);
    white-space: nowrap;
    animation: waBubbleIn 0.5s ease-out 2s both;
    cursor: pointer;
}

.wa-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 22px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: var(--white);
    border-bottom: 0;
    margin-bottom: -1px;
}

.wa-bubble p {
    margin: 0;
}

.wa-bubble__close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    display: grid;
    place-items: center;
    font-size: 10px;
    cursor: pointer;
    transition: background var(--t-fast);
}

.wa-bubble__close:hover {
    background: var(--gray-300);
}

.wa-bubble.is-hidden {
    display: none;
}

.wa-widget.is-open .wa-bubble {
    display: none;
}

@keyframes waBubbleIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Chat box ---------- */
.wa-chat {
    position: absolute;
    bottom: 84px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 120px);
    background: var(--wa-bg);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: scale(0.6) translateY(40px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-widget.is-open .wa-chat {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* ---------- Header del chat ---------- */
.wa-chat__header {
    background: linear-gradient(135deg, var(--wa-green-dark), var(--wa-green-deep));
    color: var(--white);
    padding: 18px 18px 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.wa-chat__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--t-fast);
}

.wa-chat__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.wa-chat__user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.wa-chat__avatar {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.wa-chat__status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #4caf50;
    border: 2px solid var(--wa-green-deep);
    border-radius: 50%;
}

.wa-chat__info {
    flex: 1;
    min-width: 0;
}

.wa-chat__info h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.wa-chat__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.wa-chat__online-dot {
    width: 7px;
    height: 7px;
    background: #4caf50;
    border-radius: 50%;
    animation: waBlink 2s ease-in-out infinite;
}

@keyframes waBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ---------- Body del chat (patrón whatsapp) ---------- */
.wa-chat__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 14px 8px;
    background-color: var(--wa-bg);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 60% 10%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.wa-chat__body::-webkit-scrollbar {
    width: 6px;
}

.wa-chat__body::-webkit-scrollbar-track {
    background: transparent;
}

.wa-chat__body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

/* ---------- Burbujas de mensaje ---------- */
.wa-chat__message {
    margin-bottom: 10px;
    animation: waMsgIn 0.4s ease-out;
}

.wa-chat__bubble {
    background: var(--wa-bubble-in);
    padding: 9px 12px 6px;
    border-radius: 0 8px 8px 8px;
    max-width: 85%;
    width: fit-content;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    position: relative;
    font-size: 14.5px;
    color: var(--charcoal);
    line-height: 1.45;
}

.wa-chat__bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: var(--wa-bubble-in);
    border-left: 0;
    border-top: 0;
}

.wa-chat__bubble p {
    margin: 0 0 4px 0;
}

.wa-chat__bubble p:last-of-type {
    margin-bottom: 6px;
}

.wa-chat__bubble strong {
    color: var(--wa-green-deep);
    font-weight: 700;
}

.wa-chat__time {
    display: block;
    font-size: 10.5px;
    color: var(--wa-text-time);
    text-align: right;
    margin-top: 2px;
}

/* Bubble "Herlon escribiendo..." */
.wa-chat__bubble--typing {
    padding: 14px 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
}

.wa-chat__bubble--typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-500);
    animation: waTyping 1.2s ease-in-out infinite;
}

.wa-chat__bubble--typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.wa-chat__bubble--typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes waTyping {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes waMsgIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Quick replies ---------- */
.wa-chat__quick {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: waMsgIn 0.4s ease-out 0.1s both;
}

.wa-chat__quick-label {
    font-size: 12px;
    color: var(--wa-text-time);
    text-align: center;
    margin: 0 0 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.wa-chat__chip {
    background: var(--white);
    border: 1.5px solid var(--wa-green);
    color: var(--wa-green-deep);
    padding: 11px 14px;
    border-radius: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    text-align: left;
    transition: all var(--t-fast);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wa-chat__chip:hover {
    background: var(--wa-green);
    color: var(--white);
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.wa-chat__chip-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ---------- Footer (input + enviar) ---------- */
.wa-chat__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f0f2f5;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-chat__footer input {
    flex: 1;
    padding: 11px 18px;
    background: var(--white);
    border: none;
    border-radius: 22px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    outline: none;
    transition: box-shadow var(--t-fast);
    min-width: 0;
}

.wa-chat__footer input:focus {
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}

.wa-chat__footer input::placeholder {
    color: #8696a0;
}

.wa-chat__send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--wa-green);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--t-fast);
    flex-shrink: 0;
}

.wa-chat__send:hover {
    background: var(--wa-green-dark);
    transform: scale(1.08);
}

.wa-chat__send:active {
    transform: scale(0.95);
}

/* ---------- Brand footer ---------- */
.wa-chat__brand {
    background: var(--wa-green-deep);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 8px 12px;
    font-size: 11.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wa-chat__brand i {
    color: var(--wa-green);
    font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .wa-chat {
        width: calc(100vw - 24px);
        height: calc(100vh - 110px);
        max-height: 600px;
        bottom: 76px;
    }

    .wa-fab {
        width: 58px;
        height: 58px;
    }

    .wa-fab__icon {
        font-size: 28px;
    }

    .wa-bubble {
        bottom: 72px;
        font-size: 13px;
        padding: 10px 32px 10px 14px;
    }
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    background: var(--green-800);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--t);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--gold-600);
    transform: translateY(-4px);
}

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__features,
    .hero__cta {
        justify-content: center;
    }

    .hero__subtitle {
        margin-inline: auto;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .videos__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
        margin: 0 auto;
    }

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

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .container {
        padding-inline: 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: 90px 24px 30px;
        transition: right var(--t);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 14px 18px;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .nav__link--cta {
        margin-top: 14px;
        text-align: center;
        border-bottom: none;
        border-radius: 50px;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .header__logo-img {
        height: 48px;
    }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
        display: block;
    }

    /* Hero: sin overflow en móvil */
    .hero__container {
        gap: 32px;
    }

    .hero__badge {
        font-size: 12px;
        padding: 7px 14px;
    }

    .hero__title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        letter-spacing: -0.8px;
        line-height: 1.1;
    }

    .hero__subtitle {
        font-size: 15.5px;
    }

    .hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__cta .btn {
        flex: 1 1 auto;
        min-width: 160px;
        justify-content: center;
    }

    .hero__main-image {
        aspect-ratio: 4 / 3;
        transform: rotate(0deg);
    }

    .hero__main-image::after {
        inset: -4px;
        border-width: 2px;
    }

    .hero__floating-card {
        top: -12px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 14px;
        animation: none;
        white-space: nowrap;
    }

    /* Section titles más razonables en tablet/mobile */
    .section__title {
        font-size: clamp(1.7rem, 5vw, 2.2rem);
        letter-spacing: -0.8px;
    }

    .section__subtitle {
        font-size: 15px;
    }

    .hero__floating-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 11px;
    }

    .hero__floating-card strong {
        font-size: 14px;
    }

    .hero__floating-card span {
        font-size: 11.5px;
    }

    .hero__scroll {
        display: none;
    }

    .videos__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .video-card__info {
        padding: 20px 22px 24px;
    }

    .video-card__info h3 {
        font-size: 19px;
    }

    .about__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

    /* Servicios: padding reducido en móvil */
    .service {
        padding: 30px 24px;
    }

    .service h3 {
        font-size: 20px;
    }

    .service__icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
        margin-bottom: 18px;
    }

    /* Precio: más compacto */
    .service__price {
        padding: 9px 14px;
    }

    .service__price-amount {
        font-size: 20px;
    }

    /* Opciones de casa */
    .service__options li {
        padding: 12px 14px;
    }

    .service__option-price {
        font-size: 12.5px;
    }

    /* Galería: filtros más compactos */
    .gallery__filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

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

    .coverage__container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about__stats {
        padding: 36px 24px;
    }

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

    .contact__form {
        padding: 28px 22px;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: left;
    }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner__container {
        flex-direction: column;
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }

    .section__header {
        margin-bottom: 44px;
    }

    .btn {
        padding: 13px 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding-inline: 16px;
    }

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

    .about__stats {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero__badge {
        font-size: 11.5px;
        padding: 6px 12px;
    }

    .hero__title {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
        line-height: 1.15;
    }

    .hero__subtitle {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .hero__features {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero__feature {
        font-size: 13.5px;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
    }

    /* Tarjeta flotante encima de la imagen, centrada */
    .hero__floating-card {
        top: -14px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        padding: 8px 14px;
        white-space: nowrap;
    }

    .hero__visual {
        animation: none;
        max-width: 100%;
    }

    .hero__main-image {
        aspect-ratio: 16 / 11;
    }

    .hero__main-image::after {
        display: none;
    }

    .hero__image-badge {
        bottom: 14px;
        left: 14px;
        right: 14px;
        padding: 11px 14px;
        gap: 10px;
    }

    .hero__image-badge i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .hero__image-badge strong {
        font-size: 13.5px;
    }

    .hero__image-badge span {
        font-size: 11.5px;
    }

    .section__header {
        margin-bottom: 36px;
    }

    .section__title {
        font-size: 1.7rem;
    }

    .section__subtitle {
        font-size: 14.5px;
    }

    /* Servicios en móvil muy pequeño */
    .service {
        padding: 28px 22px;
    }

    .service__icon {
        width: 58px;
        height: 58px;
        font-size: 22px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .service h3 {
        font-size: 19px;
    }

    .service p {
        font-size: 14.5px;
    }

    /* Opciones de casa: stack vertical para que no se aprete */
    .service__options li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px;
    }

    .service__options li > div {
        width: 100%;
    }

    .service__option-price {
        align-self: stretch;
        text-align: center;
        font-size: 14px;
        padding: 8px 14px;
    }

    /* Badge "Más solicitado" */
    .service__badge {
        top: 14px;
        right: 14px;
        font-size: 10px;
        padding: 4px 10px;
    }

    /* FAQ */
    .faq__question {
        padding: 18px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .faq__answer {
        padding: 0 18px 20px;
        font-size: 14.5px;
    }

    .faq__answer p,
    .faq__answer ul {
        font-size: 14px;
    }

    /* Galería */
    .filter-btn {
        font-size: 12.5px;
        padding: 7px 14px;
    }

    .gallery__item h4 {
        font-size: 15px;
    }

    /* Stats: números más pequeños */
    .stat__number {
        font-size: 2.4rem;
    }

    /* Coverage banner */
    .coverage__item {
        gap: 12px;
    }

    .coverage__item i {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    /* Contact list */
    .contact__list i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Services note */
    .services__note {
        font-size: 12.5px;
        padding: 14px 18px;
    }

    .gallery__note {
        font-size: 12.5px;
        padding: 14px 18px;
    }

    /* CTA banner */
    .cta-banner {
        padding: 50px 0;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner p {
        font-size: 14.5px;
    }

    /* Hero CTA buttons fix */
    .hero__cta {
        align-items: stretch;
    }
}

/* ---------- Print ---------- */
@media print {
    .header,
    .wa-widget,
    .scroll-top,
    .hero__scroll,
    .nav__toggle,
    .gallery__filters,
    .cta-banner,
    .videos {
        display: none !important;
    }

    body {
        background: white;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}
