:root {
    --verde: #2E8B57;
    --verde2: #4CAF50;
    --negro: #1A1A1A;
    --gris: #666;
    --fondo: #F2F2F2;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--fondo);
    color: var(--negro);
}

/* NAV */
.custom-nav {
    background: rgba(0,0,0,0.8);
    padding: 10px 0;
}

.navbar-brand span {
    color: white;
    font-weight: 600;
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

/* SECCIONES */
.section {
    padding-top: 1rem;   /* 16px */
padding-bottom: 1rem;
}

.section.alt {
    background: white;
}

h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

/* BOTONES */
.btn-main {
    background: var(--verde);
    color: white;
    border-radius: 8px;
}

.btn-main:hover {
    background: var(--verde2);
}

/* SLIDER INFINITO */
.slider {
    overflow: hidden;
    width: 100%;
}

.slide-track {
    display: flex;
    width: max-content;
}

.slide-track img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    margin: 0 10px;
    border-radius: 10px;
}

/* ANIMACIONES */
.left {
    animation: scrollLeft 25s linear infinite;
}

.right {
    animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    height: 100%;
    position: relative;

    /* Marco elegante */
    border: 2px solid rgba(46, 139, 87, 0.15);

    /* Sombra suave */
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);

    /* Detalle interno */
    overflow: hidden;
}

/* Línea decorativa superior */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--verde), var(--verde2));
}

/* Detalle esquina elegante */
.testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid var(--verde);
    border-right: 3px solid var(--verde);
    border-radius: 0 0 15px 0;
    opacity: 0.3;
}

.testimonial-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--negro);
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--gris);
}

/* FORMULARIO */
a {
    color: #1A1A1A;
    text-decoration: none;
}

a:hover {
    color: #4CAF50;
    text-decoration: none;
}

form input, form select, form textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: var(--verde);
    box-shadow: 0 0 5px rgba(46,139,87,0.3);
}

/* MAPA */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 3px solid rgba(46, 139, 87, 0.2);
}

/* FOOTER */
.footer {
    background: var(--negro);
    color: white;
    padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .slide-track img {
        width: 180px;
        height: 120px;
    }
}

/* LOGO */
.footer-logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--verde);
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* TEXTO */
.footer h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.footer p {
    font-size: 0.9rem;
    color: #ccc;
}

/* CONTACTO LINKS */
.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* PARTE FINAL */
.footer-bottom p {
    font-size: 0.85rem;
    color: #aaa;
}

.row {
    margin-left: 0;
    margin-right: 0;
}
