/* ── VARIABLES ── */
:root {
    --primary:        #FF7A1A;   /* Naranja Energy Tech */
    --primary-alt:    #FF9550;   /* Fire Orange Glow */
    --bg-main:        #0D0905;   /* Dark Ember */
    --bg-secondary:   #110C07;   /* Deep Ember */
    --cyan:           #4CFF9E;   /* Pink Signal */
    --graphite:       #1E1409;   /* Burnt Carbon */
    --violet:         #A067FF;   /* Purple Signal */
    --text-main:      #E6E8EF;
    --text-secondary: #9BA1B7;
    --border:         #2E1E0E;   /* Warm Ember Border */
}

/* ── RESET ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    background-color: var(--bg-main);
    color: var(--text-main);
}

section, div, header, nav {
    max-width: 100%;
}

/* ── NAVBAR ── */
nav {
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(24px, 8vw, 150px);
    border-bottom: 1px solid var(--border);
    background: rgba(13, 9, 5, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 3px 24px rgba(0, 0, 0, 0.4);
}

#logo-img {
    height: 65px;  /* antes era 38px, prueba con este valor */
    width: auto;
}

nav div ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav div ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 16px;
    transition: color 0.2s ease;
}

nav div ul li a:hover {
    color: var(--text-main);
}

/* Ocultar menú completo en desktop */
.nav-mobile {
  display: none;
}

/* Hamburguesa */
.hamburger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 4px;
  transition: 0.3s ease;
}

/* Animación al abrir */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100vh;
  background: #0d0d0d;
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: 0.35s ease-in-out;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: 0.2s ease;
}

.mobile-menu a:hover {
  color: #ff7a1a;
}

/* Botón dentro del menú */
.cta-mobile {
  margin-top: 30px;
  padding: 12px 20px;
  background: #ff7a1a;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* Mostrar solo en móvil */
@media(max-width: 768px) {
  .nav-mobile {
    display: block;
  }
}

/* Botón X */
.close-menu {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s ease;
}

.close-menu:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Estado inicial */
#hamburger, #closeMenu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ocultar suave */
.hidden-soft {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* Mostrar suave */
.visible-soft {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ── BTN NAV ── */
button {
    border: none;
    background-color: var(--primary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    background-color: var(--primary-alt);
    box-shadow: 0 0 22px rgba(255, 122, 26, 0.45);
}


/* ── HERO SECTION ── */
.main {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: clamp(120px, 20vh, 260px) clamp(24px, 10vw, 200px);
    color: var(--text-main);
    text-align: center;
    align-content: center;
    overflow: hidden;

    background: #090603;

    contain: layout paint style;

    animation: bgFadeIn 2.5s ease forwards;
}

@keyframes bgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─────────────────────────────────────────────
   ONDA SUPERIOR
───────────────────────────────────────────── */
.main::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 80%;
    top: -30%;
    left: -30%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse 55% 55% at 55% 55%,
        rgba(255, 122, 26, 0.72) 0%,
        rgba(200,  80, 10, 0.48) 35%,
        rgba( 90,  30,  5, 0.22) 60%,
        transparent 80%
    );
    transform: rotate(-22deg) translateZ(0);
    transform-origin: center center;
    filter: blur(18px);
    will-change: transform;
    animation: wave1 14s ease-in-out infinite alternate;
}

@keyframes wave1 {
    0%   { transform: rotate(15deg) translate(0px, 0px) scale(1); }
    33%  { transform: rotate(6deg) translate(160px, -60px) scale(1.03); }
    66%  { transform: rotate(2deg) translate(-40px, 60px) scale(0.99); }
    100% { transform: rotate(-4deg) translate(210px, -40px) scale(1.55); }
}

/* ─────────────────────────────────────────────
   ONDA INFERIOR
───────────────────────────────────────────── */
.main-fade {
    position: absolute;
    width: 160%;
    height: 80%;
    bottom: -30%;
    right: -30%;
    background: radial-gradient(
        ellipse 55% 55% at 45% 45%,
        rgba(255, 122, 26, 0.72) 0%,
        rgba(200,  80, 10, 0.48) 35%,
        rgba( 90,  30,  5, 0.22) 60%,
        transparent 80%
    );
    transform: rotate(-22deg) translateZ(0);
    transform-origin: center center;
    filter: blur(18px);
    will-change: transform;
    pointer-events: none;
    z-index: 0;
    animation: wave2 18s ease-in-out infinite alternate;
}

@keyframes wave2 {
    0%   { transform: rotate(10deg) translate(0px, 0px) scale(1); }
    33%  { transform: rotate(-4deg) translate(-150px, 35px) scale(1.03); }
    66%  { transform: rotate(-12deg) translate(80px, -45px) scale(0.99); }
    100% { transform: rotate(-8deg) translate(45px, 60px) scale(1.45); }
}

/* ─────────────────────────────────────────────
   CAPA DE PROFUNDIDAD
───────────────────────────────────────────── */
.main::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;

    background:
        radial-gradient(
            ellipse 60% 40% at 52% 50%,
            rgba(7, 4, 1, 0.90) 0%,
            rgba(7, 4, 1, 0.42) 45%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 100% 100% at 50% 50%,
            transparent 35%,
            rgba(0, 0, 0, 0.65) 100%
        ),
        linear-gradient(
            to bottom,
            transparent 60%,
            rgba(9, 6, 3, 0.85) 85%,
            #090603 100%
        );

    animation: depthPulse 12s ease-in-out infinite alternate;
}

@keyframes depthPulse {
    from { opacity: 0.85; }
    to   { opacity: 1; }
}

/* ── HERO CONTENT ── */
.main > * {
    position: relative;
    z-index: 3;
}

.main > .main-fade {
    z-index: 0;
}


/* Tag — premium */
h5 {
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 220, 190, 0.9);

    background: rgba(255, 122, 26, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 149, 80, 0.3);
    box-shadow:
        0 0 18px rgba(255, 122, 26, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Puntos verdes entre palabras del badge */
h5 .dot {
    color: #4CFF9E !important;
    -webkit-text-fill-color: #4CFF9E !important;
    text-shadow: 0 0 8px rgba(76, 255, 158, 0.6);
}

/* Punto luminoso — ahora en pink */
h5::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(255, 103, 196, 0.5);
    flex-shrink: 0;
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 6px var(--cyan), 0 0 12px rgba(255, 103, 196, 0.5); }
    50%      { opacity: 0.5; box-shadow: 0 0 3px var(--cyan), 0 0 6px  rgba(255, 103, 196, 0.2); }
}

/* Headline */
h1 {
    font-size: clamp(2.8rem, 6vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
}

#h1-2 {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-alt) 60%, #FF7A1A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.15em;
    display: inline-block;
}

/* Subtext */
p {
    font-weight: 300;
    margin-top: 20px;
    font-size: clamp(14px, 1.4vw, 17px);
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

/* ── BUTTONS ── */
.btns {
    margin-top: 28px;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

#btn1 {
    text-decoration: none;
    border: none;
    background: var(--primary);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(255, 122, 26, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#btn1:hover {
    background: var(--primary-alt);
    box-shadow: 0 0px 32px rgba(255, 122, 26, 0.55);
    transform: translateY(-1px);
}

#btn2 {
    text-decoration: none;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-main);
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#btn2:hover {
    box-shadow: 0 0px 32px rgba(255, 122, 26, 0.55);
}

/* ═══════════════════════════════════════════════════
   SECCIONES GENERALES — base compartida
═══════════════════════════════════════════════════ */

section {
    width: 100%;
    background: var(--bg-main);
    padding: 100px clamp(24px, 8vw, 120px);
}

section + section {
    border-top: 1px solid var(--border);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 16px;
}

#container-h3 {
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    line-height: 1.5;
    align-items: center;
}

h3 {
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
    line-height: 1.5;
    max-width: 800px;
    width: 90%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* ═══════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════ */

.features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
    text-align: left;
}

.features-cards .cards {
    background: var(--graphite);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-cards .cards::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-cards .cards:hover::before {
    opacity: 1;
}

.features-cards .cards:hover {
    border-color: rgba(255, 122, 26, 0.35);
    box-shadow: 0 8px 40px rgba(255, 122, 26, 0.12);
    transform: translateY(-4px);
}

.icons {
    width: 52px;
    height: 52px;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid rgba(255, 122, 26, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.features-cards .cards h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.features-cards .cards p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

/* Link dentro de las cards */
.card-link {
    margin-top: 22px;
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.card-link:hover {
    color: var(--primary-alt);
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════
   NOSOTROS
═══════════════════════════════════════════════════ */

.nosotros-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    justify-items: center;
    background: var(--bg-secondary) !important;
}

.nosotros-img img {
    width: 650px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.container-2 {
    text-align: left;
}

.container-2 h5 {
    margin-bottom: 16px;
}

.container-2 h2 {
    margin-bottom: 4px;
}

#h2-2 {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-alt) 60%, #FF7A1A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 28px;
}

.container-subtexto {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.subtexto {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.container-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.bullet-points {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bullet-points p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
    max-width: 100%;
    width: 100%;
    font-weight: 400;
}

.container-2 button {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(255, 122, 26, 0.3);
}

.container-2 button:hover {
    box-shadow: 0 6px 32px rgba(255, 122, 26, 0.5);
}


/* ═══════════════════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════════════════ */

.container-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
    text-align: left;
}

.container-cards .cards {
    background: var(--graphite);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.container-cards .cards::before {
    content: '"';
    position: absolute;
    top: 12px; right: 24px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 122, 26, 0.07);
    line-height: 1;
    pointer-events: none;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.container-cards .cards:hover {
    border-color: rgba(255, 122, 26, 0.3);
    box-shadow: 0 8px 40px rgba(255, 122, 26, 0.1);
}

.container-cards .cards h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.container-cards .cards h6 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.container-cards .cards p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    max-width: 100%;
    width: 100%;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */

.faq-section {
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.faq-header {
    text-align: left;
    position: sticky;
    top: 100px;
}

.faq-header h5 {
    margin-bottom: 16px;
}

.faq-header h2 {
    margin-bottom: 16px;
}

.faq-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 36px 0;
    max-width: 100%;
    width: 100%;
}

.btn-cotizar {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(255, 122, 26, 0.3);
}

.btn-cotizar:hover {
    box-shadow: 0 6px 32px rgba(255, 122, 26, 0.5);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--graphite);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(255, 122, 26, 0.35);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-size: 0.97rem;
    font-weight: 500;
    gap: 16px;
    box-shadow: none;
}

.faq-question:hover {
    background: rgba(255, 122, 26, 0.04);
    box-shadow: none;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-alt);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.55s cubic-bezier(0.16,1,0.3,1),
                opacity 0.45s cubic-bezier(0.16,1,0.3,1);
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    margin-top: 10px;
    max-width: 100%;
    width: 100%;
}

.faq-answer.faq-open {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════ */

.container-contact {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 64px;
}

.contact-header h5 {
    margin-bottom: 16px;
}

.contact-header p {
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Formulario */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 16px;
    display: block;
}

.contact-form label:first-child {
    margin-top: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--graphite);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: "Inter", sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(155, 161, 183, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-alt);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}

.contact-form textarea {
    resize: none !important;
    min-height: 150px !important;
    max-height: 150px !important;
    height: 150px !important;
    overflow: hidden !important;
}

.contact-form br {
    display: none;
}

.contact-form button[type="submit"] {
    margin-top: 24px;
    padding: 13px 28px;
    font-size: 15px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(255, 122, 26, 0.3);
}

.contact-form button[type="submit"]:hover {
    box-shadow: 0 6px 32px rgba(255, 122, 26, 0.5);
}

/* Info lateral */
.contact-info {
    background: var(--graphite);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.info-email,
.info-telephone,
.info-ubication {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-email svg,
.info-telephone svg,
.info-ubication svg {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.info-email div h6,
.info-telephone div h6,
.info-ubication div h6 {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.info-email div p,
.info-telephone div p,
.info-ubication div p {
    font-size: 0.92rem;
    color: var(--text-main);
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.contact-info hr {
    border: none;
    border-top: 1px solid var(--border);
}

.contact-info h6 {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.contact-info > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rrss {
    width: 22px !important;
    height: 22px !important;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.contact-info a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 180, 80, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-info a:hover {
    border-color: rgba(255, 122, 26, 0.4);
    background: rgba(255, 122, 26, 0.08);
}

.contact-info a:hover .rrss {
    color: var(--primary-alt);
}

.span-contact {
    font-size: 13px;
    color: rgba(155, 161, 183, 0.5);
    font-style: italic;
}

/* ── BOTÓN WHATSAPP FLOTANTE ── */
#btn-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */

#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px clamp(24px, 8vw, 120px) 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* ---------- Brand ---------- */
.footer-brand img {
    width: 180px;
    margin-bottom:2px;
}

.footer-brand p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.6;
}

/* ---------- Links ---------- */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-alt);
}

/* ---------- Contact ---------- */
.footer-contact p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 4px 0;
}

/* ---------- Social ---------- */
.footer-social .social-icons {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,180,80,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-social a:hover {
    background: rgba(255, 122, 26, 0.1);
    border-color: rgba(255, 122, 26, 0.4);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.25s ease;
}

.footer-social a:hover svg {
    color: var(--primary-alt);
}

/* ---------- Bottom ---------- */
.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    
    nav div ul {
        display: none; /* Hasta que luego hagamos menú hamburguesa */
    }

    #btn1 {
        padding: 8px 14px;
        font-size: 14px;
    }

    /* HERO */
    .main {
        padding: 140px 24px 100px;
        text-align: center;
    }

    .main h1 {
        font-size: 2.5rem;
    }

    .main p {
        font-size: 14px;
        max-width: 100%;
    }

    .btns {
        flex-direction: column;
        gap: 16px;
    }

    /* SERVICIOS */
    .features-cards {
        grid-template-columns: 1fr;
    }

    /* NOSOTROS */
    .nosotros-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .nosotros-img img {
        width: 100%;
        max-width: 420px;
    }

    .container-2 {
        text-align: center;
    }

    .container-bullets {
        align-items: center;
    }

    /* TESTIMONIOS */
    .container-cards {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-header {
        position: static;
        text-align: center;
    }

    /* CONTACTO */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-top: 20px;
    }
}

/* ════════════════════════════════════════════════
   FOOTER — RESPONSIVE FIX
   Reemplaza el bloque @media (max-width: 768px) del footer en style.css
════════════════════════════════════════════════ */

@media (max-width: 768px) {
    #footer {
        text-align: center;
        padding: 48px 20px 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    /* Brand */
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand img {
        margin: 0 auto 12px;
    }

    .footer-brand p {
        margin: 0 auto;
        text-align: center;
        max-width: 280px;
    }

    /* Links */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-links ul li {
        text-align: center;
    }

    /* Contacto */
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact p {
        text-align: center;
        margin: 4px auto;
        max-width: 100%;
        width: 100%;
    }

    /* Síguenos */
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social h4 {
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
        margin: 0 auto;
    }

    /* Bottom */
    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        text-align: center;
        margin: 0 auto;
    }
}


/* Sección hero interna */
.service-hero {
    padding-top: 180px; /* evita que el nav tape el título */
    text-align: center;
    padding-bottom: 60px;
    background: var(--bg-main);
}

.service-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.service-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Contenido del servicio */
.service-content {
    background: var(--bg-secondary);
    padding: 80px clamp(24px, 8vw, 120px);
}

.container-service {
    max-width: 900px;
    margin: 0 auto;
}

.service-list ul {
    margin-top: 32px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
}

.service-list li {
    font-size: 1rem;
    line-height: 1.7;
}

/* ── Error por campo — aparece justo debajo del input ── */
.field-error {
    display: block;
    color: #FF6B6B;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 4px;
    padding-left: 4px;
    animation: fieldErrorIn 0.2s ease both;
}

@keyframes fieldErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Feedback debajo del botón submit ── */
.form-feedback {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: feedbackIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes feedbackIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-feedback svg {
    flex-shrink: 0 !important;
    display: block !important;
    align-self: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.form-feedback span {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: 1;
    color: inherit !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    text-align: left !important;
    align-self: center !important;
}

.form-feedback--success {
    background: rgba(76, 255, 158, 0.07);
    border: 1px solid rgba(76, 255, 158, 0.25);
    color: #4CFF9E;
}

.form-feedback--error {
    background: rgba(255, 107, 107, 0.07);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #FF6B6B;
}

/* ── Error por campo — aparece justo debajo del input ── */
.field-error {
    display: block;
    color: #FF6B6B;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 4px;
    padding-left: 4px;
    animation: fieldErrorIn 0.2s ease both;
}

@keyframes fieldErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Feedback debajo del botón submit ── */
.form-feedback {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: feedbackIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes feedbackIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-feedback svg {
    flex-shrink: 0;
    display: block;
    margin: 0;
    transform: translateY(2px);
}

.form-feedback span {
    flex: 1;
    color: inherit;
    font-size: 0.95rem;
    line-height: 22px;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.form-feedback--success {
    background: rgba(76, 255, 158, 0.07);
    border: 1px solid rgba(76, 255, 158, 0.25);
    color: #4CFF9E;
}

.form-feedback--error {
    background: rgba(255, 107, 107, 0.07);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #FF6B6B;
}

#testimonios .card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#testimonios .cards img.avatar {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    flex-shrink: 0 !important;
    border: 2px solid rgba(255, 122, 26, 0.35) !important;
}

#testimonios .card-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#testimonios .card-header-text h4 {
    margin: 0;
}

#testimonios .card-header-text h6 {
    margin: 0;
}
