/* =========================================
   VARIABLES Y BASE
   ========================================= */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --text-main: #ffffff;
    --text-muted: #d1d5db;
    --brand-orange: #ee7b1c;
    --brand-orange-strong: #ff5500;
    --brand-red: #ea1a22;
    --brand-yellow: #faea0a;
    --font-heading: 'Arial Black', Impact, sans-serif;
    --font-body: 'Arial', sans-serif;
    --transition-smooth: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); }

/* =========================================
   NAVBAR
   ========================================= */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.9375rem 3.125rem; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: fixed; top: 0; width: 100%; z-index: 1000; transition: transform 0.3s ease-in-out; }
.navbar-hidden { transform: translateY(-100%); }
.logo img { height: 60px; margin: .5rem;}
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }
.header-right { display: flex; flex-direction: row; align-items: center; gap: 0.9375rem; }
.nav-links { display: flex; align-items: center; }
.nav-links > a, .dropbtn { color: var(--text-main); text-decoration: none; margin-left: 1.5625rem; font-family: inherit; font-size: 1rem; text-transform: uppercase; transition: color var(--transition-smooth); cursor: pointer; }
.nav-links > a:hover, .dropdown:hover .dropbtn { color: var(--brand-orange); }
.dropdown { position: relative; display: inline-block; padding-bottom: 0.625rem; top: 0.3125rem;}
.arrow { font-size: 0.7rem; margin-left: 0.1875rem; transition: transform var(--transition-smooth); }
.dropdown:hover .arrow { transform: rotate(180deg); display: inline-block; }
.dropdown-content { opacity: 0; visibility: hidden; transform: translateY(0.9375rem); position: absolute; top: 100%; left: 0; background-color: #111111; min-width: 20rem; box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,0.8); border-top: 3px solid var(--brand-orange); transition: all var(--transition-smooth); z-index: 1; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a { color: var(--text-main); padding: 0.9375rem 1.25rem; text-decoration: none; display: block; font-size: 0.85rem; font-weight: bold; border-bottom: 1px solid rgba(255,255,255,0.05); transition: all var(--transition-smooth); margin-left: 0; }
.dropdown-content a:hover { background-color: rgba(234, 26, 34, 0.1); color: var(--brand-orange-strong); padding-left: 1.5625rem; }
.btn-phone { background-color: var(--brand-orange); color: #ffffff; padding: 0.875rem 1.75rem; border-radius: 1.875rem; text-decoration: none; font-size: 1.1rem; font-weight: bold; transition: transform var(--transition-smooth); }
.btn-phone:hover { transform: translateX(-0.1875rem); background-color: var(--brand-orange);}

.btn-primary-red { background-color: var(--brand-orange); color: white; border: 2px solid var(--brand-orange); padding: 1rem 2.5rem; font-size: 1rem; font-weight: bold; border-radius: 0.5rem; text-decoration: none; text-transform: capitalize; transition: all var(--transition-smooth); cursor: pointer; }
.btn-primary-red:hover { background-color: transparent; color: var(--brand-orange-strong); box-shadow: 0 0 1.25rem rgba(234, 26, 34, 0.3); }

/* =========================================
   HERO SECTION
   ========================================= */
.testimonials-hero { padding: 8.75rem 0 0 0; background-color: var(--bg-dark); }
.testimonials-hero-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-text-content { padding: 3.75rem 5vw; }
.section-subtitle-small { font-family: var(--font-heading); font-size: 0.85rem; color: var(--brand-orange); letter-spacing: 0.125rem; text-transform: uppercase; display: block; margin-bottom: 1.25rem; }
.hero-text-content h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase; }
.hero-text-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 37.5rem; }
.social-title { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text-main); display: block; margin-bottom: 1rem; }
.social-icons-hero { display: flex; gap: 0.625rem; }
.social-icons-hero a { width: 2.5rem; height: 2.5rem; background-color: var(--brand-orange); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; transition: transform 0.3s, background 0.3s; }
.social-icons-hero a:hover { transform: scale(1.1); background-color: var(--brand-orange); }
.hero-image-content { height: 100%; min-height: 31.25rem; }
.hero-image-content img { width: 100%; height: 100%; object-fit: cover; border-radius: 6.25rem 0 0 6.25rem; }

/* =========================================
   REVIEWS GRID
   ========================================= */
.reviews-grid-section { padding: 5rem 5vw; background-color: #050505; }
.reviews-header { text-align: center; margin-bottom: 3.75rem; }
.section-subtitle hr { width: 3.125rem; border: none; border-top: 2px solid var(--brand-orange-strong); margin: 0 0.9375rem; }
.section-subtitle.justify-center { display: flex; align-items: center; justify-content: center; margin-bottom: 0.9375rem; }
.section-subtitle span { color: var(--brand-orange-strong); font-size: 0.85rem; font-weight: bold; letter-spacing: 0.125rem; }
.reviews-header h2 { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 2.5rem); text-transform: uppercase; }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 90rem; margin: 0 auto 3.75rem auto; }

.review-card { background-color: var(--bg-card); border-radius: 0.75rem; padding: 1.5625rem; border: 1px solid rgba(255, 255, 255, 0.05); transition: transform var(--transition-smooth), border-color var(--transition-smooth); display: flex; flex-direction: column; }
.review-card:hover { transform: translateY(-0.3125rem); border-color: rgba(255, 255, 255, 0.15); }
.review-card-header { display: flex; align-items: center; gap: 0.9375rem; margin-bottom: 0.9375rem; }
.reviewer-avatar { width: 2.8125rem; height: 2.8125rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; text-transform: uppercase; color: white; }
.reviewer-info h4 { font-size: 1rem; display: flex; align-items: center; gap: 0.3125rem; color: var(--text-main); }
.verified-icon { width: 1rem; color: #e74c3c; }
.reviewer-info span { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 0.125rem; }
.stars { color: var(--brand-yellow); font-size: 1.2rem; margin-bottom: 0.9375rem; letter-spacing: 0.125rem; }

/* Truncado de Texto y Botón */
.review-card p.review-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.9375rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.review-card p.review-text.expanded { -webkit-line-clamp: unset; }
.read-more-btn { color: var(--brand-red); text-decoration: none; font-size: 0.9rem; font-weight: bold; cursor: pointer; transition: color var(--transition-smooth); margin-top: auto; align-self: flex-start; }
.read-more-btn.is-hidden-state { color: var(--text-muted); font-weight: normal; }

.load-more-container { text-align: center; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background-color: #050505; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 3.75rem; }
.footer-container { max-width: 81.25rem; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3.125rem; padding: 0 5vw 3.125rem 5vw; }
.footer-logo { height: 3.75rem; margin-bottom: 1.25rem; }
.brand-col p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.footer-col h3 { font-family: var(--font-heading); color: white; margin-bottom: 1.5625rem; font-size: 1.1rem; letter-spacing: 0.0625rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.9375rem; display: flex; align-items: center; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: bold; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--brand-orange); }
.asterisks { color: var(--brand-red); margin-right: 0.9375rem; letter-spacing: 0.125rem;}
.contact-list li { color: var(--text-muted); font-size: 0.95rem; }
.social-icons { display: flex; gap: 0.9375rem; margin-top: 1.25rem; }
.social-icons a { width: 2.1875rem; height: 2.1875rem; background-color: var(--brand-red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; transition: transform 0.3s, background 0.3s; }
.social-icons a:hover { transform: scale(1.1); background-color: var(--brand-orange); }
.footer-bottom { background-color: #000; text-align: center; padding: 1.25rem; color: #777; font-size: 0.85rem; }

/* =========================================
   RESPONSIVE FINAL
   TESTIMONIALS PAGE
   ========================================= */

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 14px 28px;
  }

  .mobile-menu-btn {
    display: block !important;
    position: relative;
    z-index: 10001;
  }

  .header-right {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 10000;
    padding: 90px 24px 40px;
  }

  .header-right.active {
    transform: translateX(0);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-links > a,
  .nav-links .dropbtn,
  .dropdown {
    margin-left: 0;
    font-size: 1.15rem;
    text-align: center;
  }

  .dropdown {
    width: 100%;
    padding-bottom: 0;
    top: 0;
  }

  .dropdown-content {
    position: static;
    min-width: 100%;
    width: 100%;
    margin-top: 16px;
    background: transparent;
    border-top: 1px solid rgba(238, 123, 28, 0.35);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
  }

  .testimonials-hero-container {
    grid-template-columns: 1fr;
  }

  .testimonials-hero {
    padding-top: 110px;
  }

  .hero-text-content {
    text-align: center;
    padding: 50px 5vw;
  }

  .hero-text-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .social-icons-hero {
    justify-content: center;
  }

  .hero-image-content {
    min-height: 420px;
  }

  .hero-image-content img {
    border-radius: 40px 40px 0 0;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .navbar {
    padding: 12px 18px;
  }

  .logo img {
    height: 52px;
    margin: 0;
  }

  .testimonials-hero {
    padding-top: 95px;
  }

  .hero-text-content {
    padding: 40px 22px;
  }

  .hero-text-content h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .hero-text-content p {
    font-size: 1rem;
  }

  .hero-image-content {
    min-height: 330px;
  }

  .reviews-grid-section {
    padding: 60px 22px;
  }

  .reviews-header {
    margin-bottom: 40px;
  }

  .reviews-header h2 {
    font-size: 2rem;
  }

  .section-subtitle.justify-center {
    gap: 10px;
  }

  .section-subtitle hr {
    width: 35px;
    margin: 0;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .review-card {
    padding: 24px;
    border-top: 4px solid var(--brand-orange);
  }

  .review-card-header {
    align-items: flex-start;
  }

  .reviewer-avatar {
    min-width: 45px;
  }

  .btn-primary-red,
  .btn-phone {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .load-more-container {
    margin-top: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col ul li,
  .contact-list li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-text-content h1 {
    font-size: 2.2rem;
  }

  .hero-image-content {
    min-height: 280px;
  }

  .review-card {
    padding: 22px 18px;
  }

  .reviewer-info h4 {
    font-size: 0.95rem;
  }

  .review-card p.review-text {
    font-size: 0.92rem;
  }
}

@media (max-width: 1024px) {
    .dropdown-content {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        border-top: none;
        background-color: transparent;
        transition: all 0.3s ease;
    }

    .dropdown.open .dropdown-content {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 15px;
    }

    .dropdown.open .arrow {
        transform: rotate(180deg);
        display: inline-block;
    }
}