/* ===========================================================
   PROSOGAS — Hoja de estilos principal
   Paleta: Azul #0D47A1 · Rojo #E53935 · Naranja #FB8C00
   =========================================================== */

/* ---------- Variables y reset ---------- */
:root {
    --blue: #0D47A1;
    --blue-dark: #07306b;
    --blue-light: #1565c0;
    --red: #E53935;
    --red-dark: #b71c1c;
    --orange: #FB8C00;
    --orange-dark: #e67e00;
    --orange-light: #ffa726;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(13, 71, 161, 0.08);
    --shadow-lg: 0 10px 30px rgba(13, 71, 161, 0.15);
    --shadow-xl: 0 20px 50px rgba(13, 71, 161, 0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;

    --container: 1200px;
    --transition: 0.3s ease;

    --font-heading: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--blue);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--blue-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.topbar a {
    color: var(--white);
    margin-right: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar a:last-child {
    margin-right: 0;
}

.topbar a:hover {
    color: var(--orange-light);
}

.topbar .social a {
    margin-right: 0.75rem;
    font-size: 1rem;
}

/* ---------- Header / Navbar ---------- */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.navbar .logo img {
    height: 60px;
    width: auto;
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.navbar .logo-text strong {
    color: var(--blue);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.navbar .logo-text span {
    color: var(--orange);
    font-size: 0.7rem;
    font-style: italic;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue);
}

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

/* Botón "Solicitar Delivery" dentro del navbar */
.nav-menu .btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.nav-menu .btn::after {
    display: none;
}

.nav-menu .btn.btn-primary {
    color: var(--white);
}

.nav-menu .btn.btn-primary:hover {
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blue);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(251, 140, 0, 0.35);
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(251, 140, 0, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

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

.btn-red {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(229, 57, 53, 0.35);
}

.btn-red:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Hero principal (Home) ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
    color: var(--white);
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--orange-light);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image .logo-card {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.hero-image .logo-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-image .logo-card img {
    max-width: 320px;
    width: 100%;
}

/* Stack de fotos del hero */
.hero-photos {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 460px;
    margin: 0 auto;
}

.hero-photos .photo {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    border: 6px solid var(--white);
    transition: transform 0.5s ease;
}

.hero-photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photos .photo-main {
    width: 75%;
    height: 75%;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-photos .photo-sub {
    width: 55%;
    height: 55%;
    bottom: 0;
    left: 0;
    z-index: 3;
    border-color: var(--white);
}

.hero-photos .badge-float {
    position: absolute;
    bottom: 30px;
    right: -10px;
    z-index: 4;
    background: var(--orange);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-photos .badge-float i {
    font-size: 1.25rem;
}

.hero-photos:hover .photo-main {
    transform: rotate(2deg) translateY(-5px);
}

.hero-photos:hover .photo-sub {
    transform: rotate(-3deg) translateY(5px);
}

/* ---------- Page hero (subpáginas) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--orange-light);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ---------- Sección genérica ---------- */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3.5rem 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .eyebrow {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- Bienvenida ---------- */
.welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.welcome-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.25rem;
}

.welcome-content p {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.brand-strip {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.brand-chip {
    background: var(--white);
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.brand-chip:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}

.welcome-visual {
    position: relative;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.welcome-visual::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--orange-light);
    line-height: 1;
}

.stat .label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Servicios (cards) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    box-shadow: 0 8px 20px rgba(251, 140, 0, 0.35);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, var(--red) 0%, #ef5350 100%);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--orange) 100%);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ---------- ¿Por qué elegirnos? ---------- */
.why-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.why-item {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-left: 4px solid var(--orange);
}

.why-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.why-item .icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    font-size: 1rem;
}

.why-item h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin: 0;
}

.why-visual {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-visual::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.why-visual::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.why-visual i {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.why-visual h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.why-visual p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '\f06d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 5%;
    font-size: 12rem;
    color: rgba(251, 140, 0, 0.08);
    transform: translateY(-50%);
}

.cta-banner::after {
    content: '\f0d1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 5%;
    font-size: 10rem;
    color: rgba(229, 57, 53, 0.08);
    transform: translateY(-50%);
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Testimonios ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.testimonial {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: -15px;
    left: 25px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--orange);
}

.testimonial .stars {
    color: var(--orange);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.testimonial p {
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.testimonial .author strong {
    color: var(--blue);
    font-family: var(--font-heading);
    display: block;
    font-size: 0.95rem;
}

.testimonial .author span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--orange);
}

.faq-question .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: all var(--transition);
}

.faq-item.open .faq-question .icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-700);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ---------- Banner promocional ---------- */
.promo-banner {
    background: linear-gradient(90deg, var(--orange) 0%, var(--red) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.promo-banner i {
    margin-right: 0.5rem;
}

.promo-banner::before,
.promo-banner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-25deg);
}

.promo-banner::before { left: -50px; }
.promo-banner::after { right: -50px; }

/* ---------- Nosotros: misión, visión, valores ---------- */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 3rem;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-block h2 i {
    color: var(--orange);
}

.about-block p {
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.8;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border-top: 5px solid var(--orange);
}

.mv-card:nth-child(2) {
    border-top-color: var(--blue);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mv-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.mv-card:nth-child(2) .icon {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.mv-card p {
    color: var(--gray-700);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.value {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-bottom: 3px solid var(--orange);
}

.value:nth-child(2) { border-bottom-color: var(--red); }
.value:nth-child(3) { border-bottom-color: var(--blue); }
.value:nth-child(4) { border-bottom-color: var(--orange); }
.value:nth-child(5) { border-bottom-color: var(--red); }
.value:nth-child(6) { border-bottom-color: var(--blue); }

.value:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value i {
    font-size: 1.75rem;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.value:nth-child(2) i { color: var(--red); }
.value:nth-child(3) i { color: var(--blue); }
.value:nth-child(5) i { color: var(--red); }
.value:nth-child(6) i { color: var(--blue); }

.value h4 {
    font-size: 1rem;
    color: var(--gray-900);
}

/* ---------- Servicios página detallada ---------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
}

.service-detail:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-text {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-text h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.service-detail-text h2 i {
    color: var(--orange);
    font-size: 1.4rem;
    background: rgba(251, 140, 0, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-text p {
    color: var(--gray-700);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.benefits-list {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.benefits-list li i {
    color: var(--orange);
    background: rgba(251, 140, 0, 0.12);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
}

.service-visual {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail:nth-child(even) .service-visual {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
}

.service-visual::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.service-visual i {
    font-size: 6rem;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

/* Variante con foto real */
.service-visual.has-photo {
    padding: 0;
    background: var(--gray-100);
    min-height: 320px;
}

.service-visual.has-photo::before {
    display: none;
}

.service-visual.has-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-visual.has-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.15) 0%, rgba(13, 71, 161, 0) 60%);
    pointer-events: none;
    z-index: 2;
}

.service-detail:nth-child(even) .service-visual.has-photo::after {
    background: linear-gradient(135deg, rgba(251, 140, 0, 0.2) 0%, rgba(229, 57, 53, 0.05) 60%);
}

.service-detail:hover .service-visual.has-photo img {
    transform: scale(1.05);
}

.service-visual.has-photo .photo-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    color: var(--blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.service-visual.has-photo .photo-badge i {
    color: var(--orange);
}

/* Visual con imagen en bienvenida / why-us */
.image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.image-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 48, 107, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.image-card .overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.image-card .overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.image-card .floating-stat {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--orange);
    color: var(--white);
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Welcome con foto principal + chip stat */
.welcome-photos {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto 30px;
    padding-right: 15px;
}

.welcome-photos .photo-main-large {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: var(--gray-100);
}

.welcome-photos .photo-main-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.welcome-photos .photo-main-large:hover img {
    transform: scale(1.05);
}

.welcome-photos .photo-inset {
    position: absolute;
    bottom: -30px;
    left: -25px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
    background: var(--white);
    z-index: 2;
}

.welcome-photos .photo-inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-photos .stat-overlay {
    position: absolute;
    top: 25px;
    right: -15px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 3;
    border-left: 5px solid var(--orange);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.welcome-photos .stat-overlay i {
    font-size: 1.75rem;
    color: var(--orange);
}

.welcome-photos .stat-overlay .stat-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--blue);
    line-height: 1;
}

.welcome-photos .stat-overlay .stat-text span {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7, 48, 107, 0.7) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item .caption {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover::after,
.gallery-item:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item.span-2 {
    grid-column: span 2;
    grid-row: span 2;
}

/* Why-us visual con foto */
.why-visual.has-photo {
    padding: 0;
    overflow: hidden;
    min-height: 380px;
    background: none;
}

.why-visual.has-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.why-visual.has-photo::before {
    background: linear-gradient(135deg, rgba(7, 48, 107, 0.85) 0%, rgba(229, 57, 53, 0.6) 100%);
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: var(--radius-lg);
}

.why-visual.has-photo > * {
    position: relative;
    z-index: 3;
}

.why-visual.has-photo {
    padding: 3rem 2rem;
}

/* ---------- Contacto ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-card h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.contact-info-card > p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-list {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-light);
    flex-shrink: 0;
    font-size: 1.05rem;
}

.contact-item .info strong {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-item .info a,
.contact-item .info span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.contact-item .info a:hover {
    color: var(--orange-light);
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.contact-hours h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-hours h4 i {
    color: var(--orange-light);
}

.contact-hours p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ---------- Formulario de contacto ---------- */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.contact-form-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--gray-500);
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label .req {
    color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-900);
    background: var(--white);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(251, 140, 0, 0.15);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-status {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    display: none;
    font-size: 0.95rem;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(229, 57, 53, 0.12);
    color: var(--red-dark);
    border: 1px solid rgba(229, 57, 53, 0.3);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand img {
    height: 70px;
    background: var(--white);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--gray-300);
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--gray-300);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-col ul li a i {
    color: var(--orange);
    font-size: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--orange);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--orange);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 99;
    cursor: pointer;
    transition: all var(--transition);
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    background: #1ebe5d;
}

.whatsapp-float.open {
    animation: none;
    background: var(--gray-700);
    transform: rotate(90deg);
}

.whatsapp-float.open:hover {
    background: var(--gray-800);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.75), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* Indicador de notificación */
.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--red);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    animation: bounceIn 0.5s ease;
}

.whatsapp-float.open .whatsapp-badge {
    display: none;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ====== Widget de chat ====== */
.wa-widget {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 360px;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 130px);
    background: #ECE5DD;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Cabecera */
.wa-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.wa-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), transparent);
}

.wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #4FC757;
    border: 2px solid var(--white);
    border-radius: 50%;
}

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

.wa-info strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.wa-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.wa-info span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4FC757;
    border-radius: 50%;
    display: inline-block;
}

.wa-close {
    background: transparent;
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}

.wa-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Cuerpo del chat */
.wa-body {
    padding: 1.25rem 1rem 1rem;
    flex: 1;
    overflow-y: auto;
    background-color: #ECE5DD;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
        repeating-linear-gradient(-45deg, rgba(0,0,0,0.02) 0 2px, transparent 2px 12px);
    min-height: 280px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wa-message {
    background: var(--white);
    padding: 0.7rem 0.9rem;
    border-radius: 0 12px 12px 12px;
    max-width: 85%;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #303030;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
    align-self: flex-start;
    position: relative;
    animation: msgIn 0.3s ease;
}

.wa-message.sent {
    background: #DCF8C6;
    border-radius: 12px 0 12px 12px;
    align-self: flex-end;
    color: #303030;
}

.wa-message-time {
    display: block;
    font-size: 0.68rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 0.25rem;
}

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

/* Indicador escribiendo */
.wa-typing {
    background: var(--white);
    padding: 0.7rem 0.9rem;
    border-radius: 0 12px 12px 12px;
    align-self: flex-start;
    display: inline-flex;
    gap: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
}

.wa-typing span {
    width: 7px;
    height: 7px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Botones de respuesta rápida */
.wa-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
    align-self: stretch;
}

.wa-quick-reply {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--blue);
    padding: 0.6rem 0.85rem;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.wa-quick-reply:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateX(3px);
}

.wa-quick-reply i {
    font-size: 0.85rem;
    color: var(--orange);
    flex-shrink: 0;
}

.wa-quick-reply:hover i {
    color: var(--white);
}

/* Footer con input */
.wa-footer {
    background: #F0F0F0;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.wa-input {
    flex: 1;
    border: none;
    background: var(--white);
    padding: 0.7rem 1rem;
    border-radius: 22px;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    color: #303030;
    resize: none;
    max-height: 80px;
    line-height: 1.3;
}

.wa-input::placeholder {
    color: #999;
}

.wa-send {
    background: #128C7E;
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}

.wa-send:hover {
    background: #075E54;
    transform: scale(1.05);
}

.wa-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.wa-poweredby {
    text-align: center;
    padding: 0.4rem;
    background: #F0F0F0;
    font-size: 0.7rem;
    color: var(--gray-500);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.wa-poweredby i {
    color: #25D366;
}

/* Responsive */
@media (max-width: 480px) {
    .wa-widget {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 90px;
        max-height: calc(100vh - 110px);
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
    }
}

/* ---------- Animaciones ---------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.7s ease both;
}

/* Mapa de ubicación */
.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.map-card {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 320px;
    border-left: 5px solid var(--orange);
    z-index: 2;
}

.map-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-card h4 i {
    color: var(--orange);
}

.map-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.map-card .btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--orange);
    color: var(--white);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.map-card .btn-mini:hover {
    background: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* About con foto */
.about-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-photo-stack {
    position: relative;
    aspect-ratio: 1;
}

.about-photo-stack .photo-main,
.about-photo-stack .photo-accent {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--white);
}

.about-photo-stack .photo-main {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
}

.about-photo-stack .photo-accent {
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.about-photo-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-stack .experience-badge {
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 3;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transform: translateY(-50%);
    font-family: var(--font-heading);
}

.about-photo-stack .experience-badge strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
}

.about-photo-stack .experience-badge span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- ZONAS DE COBERTURA ---------- */
.coverage-section {
    background: var(--gray-50);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.coverage-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 140, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.coverage-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.coverage-section .container {
    position: relative;
    z-index: 2;
}

/* Grid de 3 tarjetas */
.coverage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.coverage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--orange);
}

.coverage-card:nth-child(2) {
    border-top-color: var(--blue);
}

.coverage-card:nth-child(3) {
    border-top-color: var(--red);
}

.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.coverage-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.coverage-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(251, 140, 0, 0.3);
}

.coverage-card:nth-child(2) .coverage-card-icon {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    box-shadow: 0 6px 16px rgba(13, 71, 161, 0.3);
}

.coverage-card:nth-child(3) .coverage-card-icon {
    background: linear-gradient(135deg, var(--red) 0%, #ef5350 100%);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.3);
}

.coverage-card-title h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.coverage-card-title span {
    color: var(--gray-500);
    font-size: 0.82rem;
    font-weight: 500;
}

.coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.coverage-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: default;
    border: 1px solid transparent;
}

.coverage-card:nth-child(1) .coverage-tag:hover {
    background: rgba(251, 140, 0, 0.15);
    color: var(--orange-dark);
    border-color: var(--orange);
    transform: translateY(-2px);
}

.coverage-card:nth-child(2) .coverage-tag:hover {
    background: rgba(13, 71, 161, 0.1);
    color: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.coverage-card:nth-child(3) .coverage-tag:hover {
    background: rgba(229, 57, 53, 0.1);
    color: var(--red-dark);
    border-color: var(--red);
    transform: translateY(-2px);
}

/* Banner inferior con CTA */
.coverage-cta {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.coverage-cta::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.coverage-cta-text {
    position: relative;
    z-index: 2;
    flex: 1;
}

.coverage-cta-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.coverage-cta-text span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.coverage-cta .btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ---------- BLOG / PROYECTOS ---------- */
.blog-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    align-items: stretch;
    border: 1px solid var(--gray-100);
}

.blog-featured .featured-image {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.blog-featured .featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-featured:hover .featured-image img {
    transform: scale(1.05);
}

.blog-featured .featured-image .badge-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: var(--orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-featured .featured-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.blog-featured .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-featured .post-meta i {
    color: var(--orange);
}

.blog-featured h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-featured h2 a {
    color: var(--blue);
}

.blog-featured h2 a:hover {
    color: var(--orange);
}

.blog-featured p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-featured .read-more {
    align-self: flex-start;
}

/* Grid de posts del blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card .card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.08);
}

.blog-card .category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: var(--blue);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.blog-card .category-tag.orange {
    background: var(--orange);
}

.blog-card .category-tag.red {
    background: var(--red);
}

.blog-card .card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.blog-card .post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card .post-meta i {
    color: var(--orange);
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--blue);
}

.blog-card h3 a {
    color: var(--blue);
}

.blog-card h3 a:hover {
    color: var(--orange);
}

.blog-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex: 1;
    line-height: 1.6;
}

.blog-card .read-more-link {
    color: var(--orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    transition: gap var(--transition);
}

.blog-card .read-more-link:hover {
    gap: 0.7rem;
    color: var(--orange-dark);
}

/* Sección "Suscríbete" o categorías */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.category-pill {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--gray-200);
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-pill:hover,
.category-pill.active {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero .container,
    .welcome,
    .why-us,
    .contact-grid,
    .service-detail,
    .service-detail.reverse,
    .about-with-photo {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }

    .service-detail-text {
        padding: 2rem 1.5rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .service-visual,
    .service-visual.has-photo {
        min-height: 260px;
    }

    .blog-featured {
        grid-template-columns: 1fr;
    }

    .blog-featured .featured-content {
        padding: 2rem 2rem 2.5rem;
    }

    .blog-featured h2 {
        font-size: 1.5rem;
    }

    .coverage-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .coverage-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.75rem;
    }

    .coverage-cta-text {
        text-align: center;
    }

    .hero {
        padding: 3rem 0 4rem;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image .logo-card {
        max-width: 360px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
        gap: 1.25rem;
        z-index: 99;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        width: 100%;
        font-size: 1.05rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-toggle {
        display: block;
        z-index: 100;
    }

    .nav-toggle.open i::before {
        content: '\f00d';
    }

    .topbar .container {
        flex-direction: column;
        font-size: 0.8rem;
    }

    .topbar .info a {
        margin-right: 0.85rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 3.5rem 0;
    }

    .navbar .logo img {
        height: 50px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 130px;
    }

    .gallery-item.span-2 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .hero-photos {
        height: 380px;
        max-width: 380px;
    }

    .about-photo-stack .experience-badge {
        right: 5px;
        padding: 0.75rem 1rem;
    }

    .about-photo-stack .experience-badge strong {
        font-size: 1.4rem;
    }

    .welcome-photos {
        padding: 0 10px 30px 10px;
    }

    .welcome-photos .photo-main-large {
        height: 320px;
    }

    .welcome-photos .photo-inset {
        width: 140px;
        height: 140px;
        bottom: -20px;
        left: 0;
    }

    .welcome-photos .stat-overlay {
        right: 0;
        padding: 0.75rem 1rem;
    }

    .welcome-photos .stat-overlay i {
        font-size: 1.25rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .map-card {
        position: static;
        max-width: none;
        border-radius: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn,
    .cta-banner-buttons .btn {
        width: 100%;
    }

    .welcome-stats {
        grid-template-columns: 1fr;
    }

    .why-list {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.75rem;
    }
}
