* {
    box-sizing: border-box;
}

/* Encabezado */
.site-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Navegación superior */
.top-nav {
    background-color: #0078D4;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.top-nav ul li {
    margin-left: 20px;
}

.top-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.top-nav ul li a:hover {
    text-decoration: underline;
}

/* Logo y nombre */
.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-right: 10px;
}

.company-name {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* añadido para alinear columnas */
    background-color: #106EBE;
    padding: 30px 20px;
    font-size: 14px;
    color: #FFFFFF;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer a {
    color: #FFFFFF;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Footer columns alignment */
.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    min-width: 200px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Tipografía */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #333;
    background-image: url('images/fondo3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Capa blanca semitransparente opcional */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

/* Encabezado con degradado */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0078D7, #6A5ACD);
    color: white;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Botones en naranja suave */
button,
.footer-center a {
    background-color: #FFA500;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
}

button:hover,
.footer-center a:hover {
    background-color: #FF8C00;
}

/* Servicios (cards 2x2) */
.services-layout {
    display: flex;
    gap: 60px;
    padding: 60px 40px;
    align-items: flex-start;
}

.services-title {
    flex: 1;
    text-align: left;
}

.services-title h2 {
    font-size: 2em;
    margin-top: 0;
}

.services-boxes {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.service-box h3 {
    margin-top: 0;
    color: #333;
}

.service-box p {
    color: #555;
}

/* Featured Services */
.featured-services {
    padding: 60px 40px;
}

.services-heading {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #0078D7;
}

.services-columns {
    display: flex;
    gap: 40px;
    padding: 20px 40px;
    align-items: flex-start;
}

.services-left {
    flex: 1;
    text-align: left;
    padding-top: 10px;
}

.services-left ul {
    list-style: none;
    padding: 0;
}

.services-left li {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #333;
}

.services-right {
    flex: 2;
}

.service-detail {
    margin-bottom: 40px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.service-detail p {
    margin: 0;
    color: #555;
}

/* Línea divisoria */
.section-divider {
    margin: 28px auto;
    /* menos espacio vertical */
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    /* más suave y elegante */
    width: 70%;
    /* más equilibrado */
}

/* What We Do (2 columnas) */
.what-heading {
    text-align: center;
    /* 👈 cambio clave */
    font-size: 2em;
    margin-bottom: 40px;
    /* un poco más de aire */
    color: #0078D7;
}

.what-columns {
    display: flex;
    gap: 40px;
    padding: 20px 40px;
    align-items: flex-start;
}

.what-left {
    flex: 2;
    text-align: left;
    color: #333;
    font-size: 1.1em;
}

.what-right {
    flex: 1;
    text-align: left;
    color: #555;
    font-style: italic;
}

/* Why Choose Us */
.why-heading {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #0078D7;
}


.why-benefits {
    text-align: center;
}

.why-benefits ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.why-benefits li {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-left: 20px;
}

.why-benefits li::before {
    content: "✔";
    color: #0078D7;
    position: absolute;
    left: 0;
}

/* Call to Action */
.call-to-action {
    text-align: center;
    padding: 40px 20px;
}

.call-to-action h2 {
    font-size: 2em;
    margin-bottom: 24px;
    color: #0078D7;
    /* ✅ azul coherente */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.what-heading,
.why-heading,
.services-heading {
    text-align: center;
}

.service-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
    /* 👈 separación clave */
    color: #333;
}

.section-divider {
    margin: 28px auto;
    /* antes 60px */
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    /* más suave */
    width: 75%;
    /* un poco más elegante */
}

.what-we-do,
.featured-services,
.why-choose-us,
.call-to-action {
    padding: 40px 40px;
    /* si antes era 60px */
}

.what-we-do,
.featured-services,
.why-choose-us,
.call-to-action {
    padding: 32px 40px;
}

.what-heading,
.services-heading,
.why-heading {
    margin: 0 0 18px 0;
    /* antes 40px */
}

.site-footer {
    padding: 24px 20px;
    /* antes 30px */
}

/* Página Our Service */
.service-page {
    width: 100%;
    padding: 80px 20px;
}

.service-container {
    max-width: 1100px;
    /* igual sensación que el Home */
    margin: 0 auto;
    /* centra todo */
    text-align: center;
}

/* Títulos */
.service-main-title {
    font-size: 2.2em;
    color: #0078D7;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 1.6em;
    margin-bottom: 30px;
    color: #333;
}

/* Texto */
.service-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
}

/* ===== FIX SERVICES PAGE LAYOUT (PASTE AT END) ===== */

/* Make the whole section centered like Home */
.services-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* Limit content width and center it */
.services-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

/* Titles centered */
.services-title {
    font-size: 2.2em;
    color: #0078D7;
    margin: 0 0 10px 0;
    text-align: center;
}

.services-subtitle {
    font-size: 1.6em;
    color: #333;
    margin: 0 0 25px 0;
    text-align: center;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 35px auto;
    color: #555;
    line-height: 1.5;
}

/* Section headings */
.services-section-title {
    font-size: 1.35em;
    color: #0078D7;
    margin: 35px 0 15px 0;
    text-align: center;
}

/* Lists: keep them readable and aligned */
.services-list,
.services-steps {
    max-width: 760px;
    margin: 0 auto 25px auto;
    text-align: left;
    line-height: 1.6;
    color: #333;
    padding-left: 22px;
    /* keeps bullets/numbering nice */
}

/* Benefit */
.service-benefit {
    max-width: 900px;
    margin: 30px auto 0 auto;
    font-size: 1.05em;
    color: #333;
    text-align: center;
}

/* CTA */
.service-cta {
    margin-top: 25px;
    text-align: center;
}

.services-section-title {
    margin-top: 45px;
}

.service-cta {
    margin-top: 40px;
}

/* Service images under "Who this service is for" */
.service-images {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px auto 40px;
    max-width: 600px;
}

.service-images img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .service-images {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .service-images img {
        width: 90%;
        max-width: 260px;
        height: auto;
    }
}

.service-images {
    margin: 18px auto 34px;
    gap: 28px;
    max-width: 520px;
}

.service-images img {
    width: 190px;
    /* antes 200 */
    height: 120px;
    /* antes 130 */
}

.service-images img {
    filter: brightness(0.98) contrast(1.02);
}

.img-barber {
    filter: brightness(0.98) contrast(1.02);
}

.img-barber {
    filter: brightness(1.05) contrast(1.02);
}

.service-images img {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-images img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* ===== Service images (final) ===== */
.service-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 18px auto 34px;
    max-width: 520px;
}

.service-images img {
    width: 190px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(0.98) contrast(1.02);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-images img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Optional: slightly brighten the barber image if it feels too dark */
.service-images img.img-barber {
    filter: brightness(1.05) contrast(1.02);
}

/* Responsive */
@media (max-width: 600px) {
    .service-images {
        flex-direction: column;
        gap: 16px;
    }

    .service-images img {
        width: 90%;
        max-width: 260px;
        height: auto;
    }
}

.hero-cta {
    margin-top: 28px;
}

.hero-cta .btn-primary {
    background-color: #FFA500;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.services-container {
    font-size: 1.05em;
}

.services-section-title {
    margin-top: 50px;
}

/* ===== Unified check-list style for Services ===== */
.service-checklist {
    list-style: none;
    padding-left: 0;
    margin: 0 auto 28px auto;
    max-width: 760px;
    text-align: left;
}

.service-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 1.05em;
    color: #333;
    line-height: 1.5;
}

.service-checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: bold;
}

/* ===== Unified blue check bullets for Services ===== */
.service-checklist {
    list-style: none;
    /* removes bullets */
    padding-left: 0;
    margin: 0 auto 26px auto;
    max-width: 760px;
    text-align: left;
}

.service-checklist li {
    position: relative;
    padding-left: 28px;
    /* space for the check */
    margin-bottom: 14px;
    font-size: 1.05em;
    color: #333;
    line-height: 1.6;
}

.service-checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: 700;
    font-size: 18px;
    /* keeps check size consistent */
    line-height: 1;
}

.main-benefit-title {
    font-size: 1.35em;
    color: #0078D7;
    margin: 36px 0 10px 0;
    text-align: center;
    font-weight: 600;
}

/* Contact page fix – ensure footer is visible */
.contact-page {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Contact title styling */
.contact-title {
    font-size: 2.2em;
    color: #0078D7;
    /* azul corporativo */
    text-align: center;
    margin: 20px 0 16px 0;
    font-weight: 600;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.05em;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

.contact-title {
    font-size: 2.2em;
    color: #0078D7;
    text-align: center;
    margin: 20px 0 16px 0;
    font-weight: 600;
}

.contact-page {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.contact-details {
    margin-top: 18px;
}

.contact-details a {
    color: #0078D7;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

/* Fix hero buttons when using <a> instead of <button> */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}

/* Make links look like buttons */
.hero-buttons a.orange-btn,
.hero-buttons a.outline-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    /* removes underline */
    cursor: pointer;
}

/* Orange primary */
.hero-buttons a.orange-btn {
    background-color: #FFA500;
    color: #FFFFFF;
    border: none;
}

.hero-buttons a.orange-btn:hover {
    background-color: #FF8C00;
}

/* Outline secondary */
.hero-buttons a.outline-btn {
    background-color: transparent;
    color: #FFFFFF;
    /* white text on hero background */
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.hero-buttons a.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* HERO BUTTONS – unified orange style */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Orange button (works for <a> and <button>) */
.hero-buttons .orange-btn {
    display: inline-block;
    background-color: #FFA500;
    color: #FFFFFF;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero-buttons .orange-btn:hover {
    background-color: #FF8C00;
    transform: translateY(-1px);
}

.schedule-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.schedule-form label {
    font-weight: 600;
    color: #333;
}

.schedule-form input,
.schedule-form textarea {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.schedule-form input:focus,
.schedule-form textarea:focus {
    outline: none;
    border-color: #0078D7;
}

/* Schedule form */
.schedule-form {
    max-width: 520px;
    margin: 18px auto 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.schedule-form label {
    font-weight: 600;
    color: #333;
    margin-top: 6px;
}

.schedule-form input,
.schedule-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.92);
}

.schedule-form input:focus,
.schedule-form textarea:focus {
    outline: none;
    border-color: #0078D7;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.18);
}

.req {
    color: #0078D7;
}

.form-note {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.outline-btn {
    background-color: #f6a500;
    /* mismo naranja */
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.outline-btn:hover {
    background-color: #e69500;
}


@formspree.io
/* =========================
   SCHEDULE FORM (Formspree)
   ========================= */

.schedule-form {
    width: 100%;
    max-width: 520px;
    margin: 18px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.schedule-form input,
.schedule-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
}

.schedule-form textarea {
    min-height: 120px;
    resize: vertical;
}

.schedule-form input:focus,
.schedule-form textarea:focus {
    border-color: #0a5fd8;
}

/* Botón del form (alineado y tamaño consistente) */
.schedule-form .form-submit {
    width: 100%;
    max-width: 220px;
    margin: 6px auto 0 auto;
    display: inline-block;
}

/* Texto oculto accesible (screen readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.orange-btn {
    display: inline-block;
    background: #f5a000;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #f5a000;
    cursor: pointer;
}

.orange-btn:hover {
    filter: brightness(0.95);
}

.outline-btn {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #ffffff;
}

form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
}

.service-checklist li::before,
.services-list li::before,
.service-benefit::before {
    content: "✔";
    color: #0a5fd8;
    /* azul principal */
    font-weight: 600;
    margin-right: 8px;
}

/* Fix anchor offset for sticky navigation */
#how-it-works {
    scroll-margin-top: 110px;
    /* altura del top-nav */
}

#how-it-works {
    padding-top: 10px;
}

/* Force hero buttons to match (prevents overrides) */
.hero .hero-buttons a.orange-btn {
    background-color: #FFA500 !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

.hero .hero-buttons a.orange-btn:hover {
    background-color: #FF8C00 !important;
}

/* Reduce spacing between sections */
.tight-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Reduce spacing around dividers */
.section-divider {
    margin: 25px auto !important;
}

/* Language switch button */
.lang-switch a {
    padding: 6px 12px;
    background-color: #1a73e8;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease-in-out;
}

.lang-switch a:hover {
    background-color: #1558b0;
}

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

@media (max-width: 768px) {

    .services-columns,
    .what-columns {
        flex-direction: column;
        gap: 20px;
    }
}

.orange-btn {
    padding: 12px 20px;
    font-size: 16px;
}

/* ===== Modern Service Boxes ===== */

.service-box {
    background: #f0f7ff;
    /* azul suave elegante */
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.service-box h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #0078D7;
}

.service-box p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .service-box {
        text-align: center;
        padding: 24px;
    }

    .service-icon {
        margin: 0 auto 16px auto;
    }
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #333;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: bold;
    font-size: 18px;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 0 auto 28px auto;
    max-width: 600px;
    text-align: left;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 1.05em;
    color: #333;
    line-height: 1.5;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    /* CENTRA EL TEXTO */
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #333;
    line-height: 1.5;
    display: inline-block;
    /* PERMITE CENTRAR CADA LÍNEA */
    text-align: left;
    /* EL TEXTO INTERNO QUEDA ORDENADO */
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0078D7;
    font-weight: 700;
    font-size: 18px;
}

.service-box {
    background-color: #E5E1F9;
    /* ← aquí puedes cambiar el color */
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* ===== Featured Services – Modern Microsoft Style ===== */

/* Color de fondo del recuadro */
.service-box {
    background-color: #E5E1F9;
    /* Lila Microsoft suave */
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease-out;
    text-align: left;

    /* Animación inicial (oculto y desplazado a la derecha) */
    opacity: 0;
    transform: translateX(60px);
}

/* Hover elegante */
.service-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Íconos */
.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Títulos */
.service-box h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #0078D7;
    /* Azul Microsoft */
}

/* Texto */
.service-box p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.6;
}

/* Cuando el recuadro entra en pantalla */
.service-box.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .service-box {
        text-align: center;
        padding: 24px;
    }

    .service-icon {
        margin: 0 auto 16px auto;
    }
}

/* Animación: los cuadros entran desde la derecha */
.service-box {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Cuando el cuadro entra en pantalla */
.service-box.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-box {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-box.visible {
    opacity: 1;
    transform: translateX(0);
}

.services-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ← Esto centra los recuadros */
    gap: 40px;
    padding: 20px 40px;
}

.service-box {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    /* ← Esto lo centra dentro del contenedor */
}

/* ===== AI Quick Assistant (no backend) ===== */
.ai-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    border: none;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Make the AI button match your orange style */
.ai-fab {
    background: #f4a300;
    color: #ffffff;
}

.ai-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
}

.ai-modal.is-open {
    display: block;
}

.ai-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.ai-modal__panel {
    position: absolute;
    right: 18px;
    bottom: 76px;
    width: min(420px, calc(100% - 36px));
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
    padding: 14px 14px 12px;
}

.ai-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.ai-modal__header h3 {
    margin: 0;
    font-size: 18px;
}

.ai-close {
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.ai-subtitle {
    margin: 0 0 10px;
    font-size: 13px;
    opacity: 0.85;
}

.ai-form {
    display: grid;
    gap: 10px;
}

.ai-label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.ai-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font: inherit;
    font-size: 14px;
}

.ai-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.ai-btn {
    width: 100%;
    justify-content: center;
}

.ai-status {
    margin: 6px 0 0;
    font-size: 13px;
}

/* ==========================
   FLOATING BUTTONS FIX (FINAL)
   WhatsApp: bottom-right
   Ask AI:   bottom-left
   Both: green
   ========================== */

/* 1) WhatsApp button (bottom-right) */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    right: 25px;
    bottom: 25px;
    background-color: #25D366;
    /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.30);
    z-index: 9998;
    /* keep below AI modal if needed */
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
}

/* 2) Ask AI floating button (bottom-left) */
.ai-fab {
    position: fixed;
    left: 25px;
    /* ⬅️ move to left */
    right: auto;
    /* ⬅️ cancel right */
    bottom: 25px;
    /* align with WhatsApp */
    z-index: 9999;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    background: #25D366;
    /* green */
    color: #ffffff;
}

.ai-fab:hover {
    filter: brightness(0.95);
}

/* 3) AI modal container */
.ai-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    /* above both buttons */
    display: none;
}

.ai-modal.is-open {
    display: block;
}

.ai-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* 4) AI panel (opens from bottom-left, not right) */
.ai-modal__panel {
    position: absolute;
    left: 18px;
    /* ⬅️ open near Ask AI */
    right: auto;
    /* ⬅️ cancel right */
    bottom: 100px;
    /* ⬅️ above Ask AI button */
    width: min(420px, calc(100% - 36px));
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
    padding: 14px 14px 12px;
}

/* 5) Make AI primary button in modal also green */
.ai-btn.orange-btn,
.ai-btn {
    background: #25D366 !important;
    border: 2px solid #25D366 !important;
    color: #ffffff !important;
}

.ai-btn:hover {
    filter: brightness(0.95);
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }

    .ai-fab {
        left: 16px;
        bottom: 16px;
    }

    .whatsapp-icon {
        width: 34px;
        height: 34px;
    }
}

.ai-modal__panel {
    margin-bottom: 6px;
}

.ai-modal__panel {
    margin-bottom: 6px;
}