/* ========================
   1. VARIABLES & RESET
   ======================== */
:root {
    --primary: #006133;
    --primary-dark: #004d28;
    --secondary: #797C75;
    --white: #ffffff;
    --light: #f8fafb;
    --dark: #1a1a2e;
    --text: #2d3748;
    --text-light: #718096;
    --border: rgba(0, 97, 51, 0.1);
    --shadow: rgba(0, 97, 51, 0.1);
    --shadow-hover: rgba(0, 97, 51, 0.22);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
    --nav-height: 72px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================
   2. SCROLL REVEAL
   ======================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   3. UTILITIES
   ======================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* !important: debe ganarle a cualquier display de componente (flex, grid, etc.) */
.section-hidden {
    display: none !important;
}

.section {
    padding: 100px 0;
    background: var(--white);
}

.section-alt {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

/* ========================
   4. NAVBAR
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================
   5. HERO
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 16, 0.72) 0%,
        rgba(10, 22, 16, 0.55) 55%,
        rgba(10, 22, 16, 0.78) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 7px 18px;
    margin-bottom: 36px;
    backdrop-filter: blur(4px);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

/* Isotipo en verde + nombre en blanco, imitando la tipografía del logo */
.hero-mark {
    width: min(170px, 38vw);
    height: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero-name {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-sub {
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 7px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-slogan {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.5px;
    max-width: 540px;
    margin-bottom: 18px;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 44px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color var(--transition), background var(--transition);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ========================
   6. SERVICIOS
   ======================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 97, 51, 0.3);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 97, 51, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 4px;
    transition: background var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(0, 97, 51, 0.15);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}

.service-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    transition: gap var(--transition);
}

.service-card:hover .service-more {
    gap: 10px;
}

.precios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.precio-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.precio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 97, 51, 0.3);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.precio-card:hover .service-icon {
    background: rgba(0, 97, 51, 0.15);
}

.precio-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.precio-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
}

.precio-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.precio-card:hover .service-more {
    gap: 10px;
}

.services-pending {
    margin-top: 48px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 1px dashed rgba(0, 97, 51, 0.25);
    border-radius: var(--radius-sm);
}

.services-pending i {
    color: var(--primary);
}

/* ========================
   7. MODAL SERVICIOS
   ======================== */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInModal {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInOverlay 0.25s ease forwards;
}

.modal-overlay.is-open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    max-width: 520px;
    width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: slideInModal 0.3s ease forwards;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
    background: rgba(0, 97, 51, 0.08);
    color: var(--primary);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 97, 51, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    color: var(--primary);
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.modal p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.modal-list {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--primary);
    border: 1px dashed rgba(0, 97, 51, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 0;
}

/* ========================
   8. EN VENTA
   ======================== */
.venta-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.venta-filter {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 9px 22px;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.venta-filter:hover {
    color: var(--primary);
    border-color: rgba(0, 97, 51, 0.3);
}

.venta-filter.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.venta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.venta-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.venta-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 97, 51, 0.3);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.venta-card.hidden {
    display: none;
}

.venta-img {
    height: 190px;
    background: linear-gradient(135deg, rgba(0, 97, 51, 0.08), rgba(121, 124, 117, 0.12));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.venta-img i {
    font-size: 2.6rem;
    color: rgba(0, 97, 51, 0.3);
}

.venta-img-note {
    font-size: 0.75rem;
    color: var(--secondary);
}

.venta-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.venta-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(0, 97, 51, 0.08);
    border-radius: 100px;
    padding: 4px 12px;
}

.venta-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.venta-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.venta-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.venta-meta i {
    color: var(--primary);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.venta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 4px;
}

.venta-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.venta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: #25D366;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    transition: background var(--transition), transform var(--transition);
}

.venta-btn:hover {
    background: #1eb958;
    transform: translateY(-2px);
}

/* ========================
   9. NOSOTROS
   ======================== */
.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.nosotros-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px var(--shadow);
}

.nosotros-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 20px;
}

.nosotros-content h2 span {
    color: var(--primary);
}

.nosotros-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nosotros-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.nosotros-value > i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(0, 97, 51, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 2px;
}

.nosotros-value div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nosotros-value strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.nosotros-value span {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* ========================
   9b. CARRUSEL NOSOTROS
   ======================== */
.nosotros-carousel-wrap {
    margin-top: 80px;
}

.nosotros-carousel-header {
    text-align: center;
    margin-bottom: 32px;
}

.nosotros-carousel-header h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: var(--dark);
    margin-top: 6px;
}

.carousel {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 50px var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: background var(--transition), color var(--transition);
}

.carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.carousel-arrow--prev { left: 14px; }
.carousel-arrow--next { right: 14px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 97, 51, 0.2);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.25);
}

/* ========================
   9c. HISTORIA
   ======================== */
.historia-feature {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 18px 50px var(--shadow);
    margin-bottom: 56px;
}

.historia-feature img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.historia-feature-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 24px 18px;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    background: linear-gradient(to top, rgba(10, 22, 16, 0.78), rgba(10, 22, 16, 0));
}

.historia-feature-caption i {
    color: var(--white);
}

.historia-body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: start;
}

.historia-timeline {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(0, 97, 51, 0.18);
}

.historia-step {
    position: relative;
    padding-bottom: 34px;
}

.historia-step:last-child {
    padding-bottom: 0;
}

.historia-step::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    z-index: 1;
}

.historia-step--now::before {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(0, 97, 51, 0.15);
}

.historia-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 97, 51, 0.08);
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: 10px;
}

.historia-step-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.historia-step-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
}

.historia-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.historia-aside img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 14px 40px var(--shadow);
}

.historia-quote {
    border-left: 3px solid var(--primary);
    padding: 6px 0 6px 22px;
}

.historia-quote p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 12px;
}

.historia-quote cite {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--primary);
}

/* ========================
   10. CONTACTO
   ======================== */
.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
    border-color: rgba(0, 97, 51, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--shadow);
}

.contact-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 97, 51, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 4px;
    transition: background var(--transition);
}

.contact-card:hover .contact-card__icon {
    background: rgba(0, 97, 51, 0.15);
}

.contact-card--wpp .contact-card__icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.contact-card--wpp:hover .contact-card__icon {
    background: rgba(37, 211, 102, 0.22);
}

.contact-card--ig .contact-card__icon {
    background: rgba(193, 53, 132, 0.1);
    color: #C13584;
}

.contact-card--ig:hover .contact-card__icon {
    background: rgba(193, 53, 132, 0.18);
}

.contact-card--fb .contact-card__icon {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.contact-card--fb:hover .contact-card__icon {
    background: rgba(24, 119, 242, 0.18);
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.contact-card__value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}

a.contact-card__value:hover {
    color: var(--primary);
}

.contact-hours {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-hours__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-hours__title i {
    font-size: 1rem;
    color: var(--primary);
}

.contact-hours__title h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.contact-schedule {
    display: flex;
    gap: 8px;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 12px 6px;
    background: rgba(0, 97, 51, 0.05);
    border: 1px solid rgba(0, 97, 51, 0.14);
    border-radius: var(--radius-sm);
    transition: background var(--transition), border-color var(--transition);
}

.schedule-item--closed {
    background: var(--light);
    border-color: rgba(0, 0, 0, 0.06);
}

.schedule-day {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-time {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.schedule-item--closed .schedule-day,
.schedule-item--closed .schedule-time {
    color: var(--text-light);
}

.schedule-item--today {
    background: var(--primary);
    border-color: var(--primary);
}

.schedule-item--today .schedule-day,
.schedule-item--today .schedule-time {
    color: var(--white);
}

.schedule-item--today.schedule-item--closed {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.35);
}

.schedule-item--today.schedule-item--closed .schedule-day,
.schedule-item--today.schedule-item--closed .schedule-time {
    color: #dc2626;
}

.contact-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-address i {
    color: var(--primary);
}

.contact-map {
    width: 100%;
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========================
   11. FOOTER
   ======================== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 28px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
}

/* Logo verde renderizado en blanco para que se lea sobre el fondo oscuro */
.footer-logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-slogan {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    margin-bottom: 11px;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.75);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 28px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================
   12. WHATSAPP BUTTON
   ======================== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ========================
   13. MEDIA QUERIES
   ======================== */

/* Tablet */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .venta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .precios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nosotros-img {
        max-width: 440px;
        margin: 0 auto;
    }

    .historia-body {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .historia-aside {
        position: static;
    }

    .contact-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 44px 20px 36px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-container {
        min-height: calc(100vh - var(--nav-height));
        min-height: calc(100svh - var(--nav-height));
        align-items: center;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 24px;
    }

    .hero-mark {
        width: min(120px, 34vw);
        margin-bottom: 12px;
    }

    .hero-name {
        letter-spacing: 2px;
    }

    .hero-sub {
        letter-spacing: 4px;
    }

    .hero-slogan {
        font-size: 1rem;
        max-width: 32ch;
        margin-bottom: 14px;
    }

    .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero .btn-primary,
    .hero .btn-ghost {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px var(--shadow);
        padding: 16px 0;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-carousel-wrap {
        margin-top: 56px;
    }

    .historia-feature img {
        aspect-ratio: 4 / 3;
    }

    .historia-feature-caption {
        font-size: 0.8rem;
        padding: 16px 16px 14px;
    }

    .venta-grid {
        grid-template-columns: 1fr;
    }

    .precios-grid {
        grid-template-columns: 1fr;
    }

    .venta-filter {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .modal {
        padding: 36px 22px;
    }

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .contact-hours {
        padding: 24px 20px;
    }

    .contact-schedule {
        flex-wrap: wrap;
    }

    .schedule-item {
        flex: 0 0 calc(25% - 6px);
    }

    .contact-address {
        text-align: center;
        padding: 0 12px;
    }

    .contact-map {
        height: 280px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo {
        height: 120px;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}
