:root {
    --brand-red: #B20421;
    --brand-dark: #6b0d24;
    --nav-text: #505050;
    --white: #ffffff;
    --container: 1180px;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    scroll-behavior: smooth;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  /* ===== TOP NAV ===== */
  .topbar {
    background: #fff;
    height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .wrap {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
  }
  
  .brand img {
    height: 200px;
    width: auto;
    display: block;
  }
  
  /* ===== DESKTOP NAV ===== */
  .nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
  }
  
  .nav a,
  .nav button {
    font: 600 12.5px/1 "Montserrat", sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--nav-text);
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
  }
  
  .nav a:hover,
  .nav button:hover {
    color: var(--brand-red);
  }
  
  .caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--nav-text);
    transform: translateY(1px);
    opacity: .9;
    transition: transform 0.3s ease;
  }
  
  .dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  
  .dropdown[data-open="true"] .caret {
    transform: rotate(180deg);
  }
  
  .dropdown-panel {
    position: absolute;
    top: 46px;
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
  }
  
  .dropdown[data-open="true"] .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-panel a {
    display: flex;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 13px;
    color: #3f3f3f;
  }
  
  .dropdown-panel a:hover {
    background: rgba(178,4,33,.07);
    color: #2d2d2d;
  }
  
  /* ===== HAMBURGER BUTTON ===== */
  .hamburger {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    position: relative;
  }
  
  .hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #444;
    border-radius: 999px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .hamburger span:nth-child(1) {
    margin-bottom: 5px;
  }
  
  .hamburger span:nth-child(2) {
    margin-bottom: 5px;
  }
  
  /* Hamburger animation cuando está activo */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* ===== MOBILE MENU OVERLAY ===== */
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* ===== MOBILE MENU ===== */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    background: var(--brand-dark);
  }
  
  .mobile-menu-title {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.5px;
  }
  
  .mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 8px;
    transition: background 0.2s ease;
  }
  
  .mobile-menu-close:hover {
    background: rgba(255,255,255,.1);
  }
  
  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
  }
  
  .mobile-menu-link {
    display: block;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--nav-text);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
  }
  
  .mobile-menu-link:hover,
  .mobile-menu-link:focus {
    background: rgba(178,4,33,.05);
    color: var(--brand-red);
    border-left-color: var(--brand-red);
  }
  
  /* Mobile Dropdown */
  .mobile-dropdown {
    border-bottom: 1px solid rgba(0,0,0,.05);
  }
  
  .mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--nav-text);
    text-transform: uppercase;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
  }
  
  .mobile-dropdown-btn:hover,
  .mobile-dropdown-btn:focus {
    background: rgba(178,4,33,.05);
    color: var(--brand-red);
    border-left-color: var(--brand-red);
  }
  
  .mobile-dropdown-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  
  .mobile-dropdown-btn[aria-expanded="true"] .mobile-dropdown-icon {
    transform: rotate(180deg);
  }
  
  .mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,.02);
    transition: max-height 0.4s ease;
  }
  
  .mobile-dropdown-content.open {
    max-height: 500px;
  }
  
  .mobile-dropdown-content a {
    display: block;
    padding: 12px 24px 12px 40px;
    font-weight: 600;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
  }
  
  .mobile-dropdown-content a:hover,
  .mobile-dropdown-content a:focus {
    background: rgba(178,4,33,.08);
    color: var(--brand-red);
    border-left-color: var(--brand-red);
  }
  
  .mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(0,0,0,.08);
    background: #fafafa;
  }
  
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    border-radius: 10px;
    transition: all 0.2s ease;
  }
  
  .mobile-cta:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  }
  
  .mobile-cta i {
    font-size: 18px;
  }
  
  /* ===== HERO ===== */
  .hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.20) 70%, rgba(0,0,0,0.05) 100%),
      url("/assets/imagenes nuevo site/2.png") center center / cover no-repeat;
    overflow: hidden;
  }
  
  .hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 90px 64px 70px;
    display: flex;
    align-items: center;
    min-height: 520px;
  }
  
  .hero-left {
    width: min(520px, 100%);
    color: #fff;
  }
  
  .hero-logo {
    height: 50px;
    margin-bottom: 40px;
  }
  
  .hero h1 {
    margin: 0 0 18px 0;
    font-weight: 800;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -.3px;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
  }
  
  .hero p {
    margin: 0 0 26px 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.28;
    color: rgba(255,255,255,.92);
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
    max-width: 470px;
  }
  
  .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-red);
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 12.5px;
    padding: 14px 18px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(178,4,33,.28);
    transition: all 0.2s ease;
  }
  
  .cta:hover {
    filter: brightness(1.04);
    transform: translateY(-2px);
  }
  
  /* ===== BOTTOM STRIP ===== */
  .bottom-strip {
    background: var(--brand-red);
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
  }
  
  /* ===== SERVICES ===== */
  .services {
    background: #ffffff;
    padding: 90px 0 100px;
  }
  
  .services-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    text-align: center;
  }
  
  .services h2 {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
    color: #4b1c16;
    margin-bottom: 60px;
    text-transform: uppercase;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
  }
  
  .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  .service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  
  .service-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #8b1e1e;
    margin-bottom: 12px;
  }
  
  .service-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: #5a5a5a;
    max-width: 260px;
    margin: 0 auto;
  }
  
  /* ===== DIFFERENTIALS ===== */
  .differentials {
    background: var(--brand-dark);
    padding: 90px 0;
  }
  
  .differentials-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
  }
  
  .differentials-left h2 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 40px;
  }
  
  .diff-item {
    margin-bottom: 34px;
  }
  
  .diff-item h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
  }
  
  .diff-item p {
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
    max-width: 420px;
  }
  
  .differentials-right {
    display: flex;
    justify-content: center;
  }
  
  .quote-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 34px 42px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    text-align: center;
  }
  
  .quote-form h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 26px;
    line-height: 1.25;
    text-transform: uppercase;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 13.5px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 80px;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--brand-red);
  }
  
  .quote-form button {
    margin-top: 14px;
    background: var(--brand-red);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    width: 100%;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: filter 0.2s ease;
  }
  
  .quote-form button:hover {
    filter: brightness(1.05);
  }
  
  .quote-form button:disabled {
    cursor: not-allowed;
  }
  
  .form-message {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 20px;
  }
  
  .form-message.success {
    color: #25d366;
  }
  
  .form-message.error {
    color: #dc3545;
  }
  
  /* ===== ABOUT US ===== */
  .about-us {
    background: #ffffff;
    padding: 100px 0;
  }
  
  .about-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
  }
  
  .about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
  }
  
  .about-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 28px;
  }
  
  .about-text p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #6a6a6a;
    margin-bottom: 18px;
    max-width: 520px;
  }
  
  /* ===== CTA FINAL ===== */
  .final-cta {
    position: relative;
    width: 100%;
    height: 300px;
    background: url("/assets/imagenes nuevo site/6.png") center center / cover no-repeat;
    overflow: hidden;
  }
  
  .final-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .final-cta h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--brand-dark);
  }
  
  /* ===== FOOTER ===== */
  .site-footer {
    background: #ffffff;
    padding: 70px 0 80px;
  }
  
  .footer-container {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
  
  .footer-left h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 26px;
  }
  
  .footer-columns {
    display: flex;
    gap: 50px;
    margin-bottom: 28px;
  }
  
  .footer-columns p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--brand-dark);
  }
  
  .footer-columns a {
    color: var(--brand-dark);
    text-decoration: none;
  }
  
  .footer-social {
    display: flex;
    gap: 14px;
  }
  
  .footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .footer-social a:hover {
    background: var(--brand-red);
    transform: translateY(-2px);
  }
  
  .footer-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }
  
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  
  .footer-right img {
    width: 200px;
  }
  
  /* ===== WHATSAPP BUTTON ===== */
  .whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 997;
  }
  
  .whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
  }
  
  .whatsapp-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
      box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
  }
  
  /* ===============================
     RESPONSIVE - TABLET
  ================================ */
  @media (max-width: 1024px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 42px;
    }
  }
  
  @media (max-width: 980px) {
    .wrap {
      width: calc(100% - 32px);
    }
  
    /* Ocultar nav desktop, mostrar hamburger */
    .nav {
      display: none;
    }
  
    .hamburger {
      display: block;
    }
  
    .hero-inner {
      padding: 60px 32px;
    }
  
    .differentials-container {
      grid-template-columns: 1fr;
      gap: 60px;
    }
  
    .differentials-left h2 {
      text-align: center;
    }
  
    .diff-item p {
      max-width: 100%;
    }
  
    .about-container {
      grid-template-columns: 1fr;
      gap: 50px;
    }
  
    .about-image img {
      height: 360px;
    }
  
    .about-text h2 {
      text-align: center;
    }
  
    .about-text p {
      max-width: 100%;
      text-align: center;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
      gap: 50px;
    }
  
    .footer-right {
      align-items: center;
      text-align: center;
    }
  
    .footer-columns {
      flex-direction: column;
      gap: 22px;
    }
  }
  
  /* ===============================
     RESPONSIVE - MOBILE
  ================================ */
  @media (max-width: 600px) {
    .topbar {
      height: 70px;
    }
  
    .brand img {
      height: 40px;
    }
  
    .hero {
      min-height: 480px;
    }
  
    .hero-inner {
      padding: 44px 20px 38px;
      min-height: 480px;
    }
  
    .hero-logo {
      height: 40px;
    }
  
    .hero h1 {
      font-size: 28px;
      line-height: 1.15;
    }
  
    .hero p {
      font-size: 15px;
    }
  
    .cta {
      font-size: 11px;
      padding: 12px 16px;
    }
  
    .bottom-strip {
      height: auto;
      padding: 16px 12px;
      text-align: center;
      line-height: 1.2;
      font-size: 11px;
    }
  
    .services {
      padding: 70px 0 80px;
    }
  
    .services h2 {
      font-size: 24px;
      margin-bottom: 40px;
    }
  
    .services-grid {
      grid-template-columns: 1fr;
      gap: 46px;
    }
  
    .service-card img {
      height: 210px;
    }
  
    .differentials {
      padding: 70px 0;
    }
  
    .quote-form {
      padding: 32px 26px 36px;
    }
  
    .about-us {
      padding: 80px 0;
    }
  
    .about-image img {
      height: 280px;
    }
  
    .about-text h2 {
      font-size: 26px;
    }
  
    .about-text p {
      font-size: 14px;
    }
  
    .final-cta {
      height: 240px;
    }
  
    .final-cta h2 {
      font-size: 24px;
    }
  
    .site-footer {
      padding: 60px 0;
    }
  
    .whatsapp-btn {
      right: 16px;
      bottom: 16px;
    }
  
    .whatsapp-btn a {
      width: 52px;
      height: 52px;
    }
  }
  
  /* ===============================
     RESPONSIVE - MOBILE SMALL
  ================================ */
  @media (max-width: 400px) {
    .wrap {
      width: calc(100% - 24px);
    }
  
    .hero-inner {
      padding: 36px 16px 32px;
    }
  
    .hero h1 {
      font-size: 24px;
    }
  
    .hero p {
      font-size: 14px;
    }
  
    .mobile-menu {
      width: 100vw;
    }
  
    .services-container,
    .differentials-container,
    .about-container,
    .footer-container {
      width: calc(100% - 32px);
    }
  }
  