:root {
    --color-bg: #eef2f7;
    --color-primary: #1f3a5f;
    --color-primary-dark: #0f243d;
    --color-text: #102a43;
    --color-muted: #6b7280;
    --white: #fff;

    --radius-lg: 18px;
    --shadow: 0 14px 35px rgba(15,30,60,0.15);
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

.container {
    max-width: 1140px;
    margin: auto;
    padding: 0 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(238,242,247,0.95);
    border-bottom: 1px solid #d1d5db;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-size: 0.85rem;
}

.nav-cta {
    background: var(--color-primary);
    color: white !important;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
}

.hero {
    background: radial-gradient(circle at top, #dbeafe, #eef2f7);
    padding: 3rem 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

.hero-media img {
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: #f8fafc;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.experience-carousel {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.experience-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 40s linear infinite;
}

.experience-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.section-cta {
    background: linear-gradient(135deg,#1f3a5f,#0f243d);
    color: white;
    padding: 3rem 0;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 1.5rem 0;
    text-align: center;
}
/* ================= FOOTER ================= */

.site-footer {
    background-color: #0b1b25;
    color: #e5e7eb;
    padding-top: 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 2rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.site-footer p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 25px;
}

/* ================= MENÚ MÓVIL ================= */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #eef2f7;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s ease;
    }

    .nav-menu.is-open {
        max-height: 300px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0.6rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}
.contacto {
  background: linear-gradient(135deg, #0e3a2f, #146b57);
  padding: 80px 10%;
  color: #fff;
}

.contacto-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.contacto-info h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contacto-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.95;
}

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contacto-card {
  background: #ffffff;
  color: #222;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.contacto-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contacto-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
}

.contacto-card a {
  text-decoration: none;
  font-weight: 600;
  color: #146b57;
}

.contacto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contacto-cta {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.contacto-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contacto-cta p {
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-contacto {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #146b57;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-contacto:hover {
  background: #dff3ec;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }
}
.contacto {
  background: #f5f6f8;
  padding: 90px 10%;
}

.contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* CUADROS PRINCIPALES */
.contacto-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* IZQUIERDA */
.contacto-info h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #1f2933;
}

.contacto-info p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 35px;
}

.contacto-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contacto-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.contacto-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.contacto-card h4 {
  margin-bottom: 8px;
  color: #111827;
}

.contacto-card p {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.contacto-card a {
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.contacto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* DERECHA */
.contacto-cta {
  background: linear-gradient(135deg, #1f2933, #111827);
  color: #ffffff;
  text-align: center;
}

.contacto-cta h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contacto-cta p {
  line-height: 1.6;
  margin-bottom: 35px;
  opacity: 0.95;
}

.btn-contacto {
  display: inline-block;
  padding: 15px 35px;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contacto:hover {
  transform: scale(1.05);
  background: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contacto-wrapper {
    grid-template-columns: 1fr;
  }
}
.cta-box {
    position: relative;
    background: linear-gradient(135deg, #1f2933, #111827);
    border: 2px solid #2563eb;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    overflow: hidden;
    margin: 0px 50px;
}

/* detalle decorativo */
.cta-box::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,.25), transparent 70%);
}

/* badge superior */
.cta-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* título */
.cta-box h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

/* texto */
.cta-box p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* botón */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    transition: all .3s ease;
}

.cta-button:hover {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    transform: translateY(-3px);
}
.hero {
    background: linear-gradient(135deg, #0f1f3a, #162c55);
    color: #fff;
    padding: 60px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #8fb3ff;
    font-weight: 600;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #dbe3f5;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: #25d366;
    color: #0b1a2f;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25d366;
    border: 2px solid #25d366;
}

.btn-email {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-email:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

/* IMAGEN */
.hero-image img {
    width: 100%;
    max-width: 450px;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }
}
.hero-image img {
    width: 100%;
    max-width: 520px;
    display: block;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ================= FIX RESPONSIVE GENERAL ================= */

/* Evitar scroll horizontal global */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Carruseles: solo full width en desktop */
@media (max-width: 768px) {
    .experience-carousel {
        width: 100%;
        margin-left: 0;
        padding-left: 1rem;
    }

    .experience-track {
        animation-duration: 25s; /* más fluido en móvil */
    }
}

/* HERO */
@media (max-width: 900px) {
    .hero {
        padding: 48px 20px;
    }

    .hero-container {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* SECCIONES GENERALES */
@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .container {
        padding: 0 1.2rem;
    }
}

/* SERVICIOS */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* CONTACTO */
@media (max-width: 900px) {
    .contacto {
        padding: 60px 1.2rem;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .contacto-box {
        padding: 32px;
    }

    .contacto-info h2 {
        font-size: 1.8rem;
    }

    .contacto-cta h3 {
        font-size: 1.7rem;
    }

    .contacto-cards {
        grid-template-columns: 1fr;
    }
}

/* CTA BOX */
@media (max-width: 768px) {
    .cta-box {
        margin: 0 1rem;
        padding: 32px;
    }

    .cta-box h3 {
        font-size: 22px;
    }
}

/* FOOTER */
@media (max-width: 768px) {
    .footer-inner {
        text-align: center;
    }
}
/* ================= SOBRE NOSOTROS ================= */

#sobre {
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo suave */
#sobre::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
    z-index: 0;
}

/* Grid */
#sobre .grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Texto */
#sobre h2 {
    font-size: 2.3rem;
    margin-bottom: 18px;
    color: #111827;
}

#sobre p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 16px;
}

/* Caja derecha */
.highlight-list {
    list-style: none;
    margin: 0;
    padding: 32px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Items */
.highlight-list li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #1f2933;
}

/* Icono check */
.highlight-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Último sin margen */
.highlight-list li:last-child {
    margin-bottom: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    #sobre .grid-2 {
        grid-template-columns: 1fr;
    }

    #sobre h2 {
        text-align: center;
    }

    #sobre p {
        text-align: center;
    }
}
/* ================= SERVICIOS ================= */

#servicios {
    position: relative;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* Header */
#servicios .section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

#servicios .section-header p {
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* Grid */
#servicios .cards-grid {
    gap: 2rem;
}

/* Card */
#servicios .card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

/* detalle decorativo */
#servicios .card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(37,99,235,.15), transparent 70%);
}

/* Hover */
#servicios .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 65px rgba(0,0,0,0.15);
}

/* Icono */
.service-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1f3a5f);
    color: #fff;
    margin-bottom: 20px;
}

/* Título */
#servicios .card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #111827;
}

/* Texto */
#servicios .card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    #servicios .cards-grid {
        grid-template-columns: 1fr;
    }

    #servicios .card {
        padding: 30px;
    }
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Tablets */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}
.card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cards-grid::before {
    content: "";
    grid-column: 1 / -1;
}
.card i {
    font-size: 2.8rem;
    color: var(--accent-color); /* tu azul metalizado */
    margin-bottom: 1rem;
}
.trabajos img {
    width: 300px;
    height: 200px;
}
.trabajos {
    gap: 30px;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon {
    font-size: 26px;
    color: #fff;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.45);
}
@media (max-width: 480px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-icon {
        font-size: 24px;
    }
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2.5s infinite;
}
