:root {
    --mk-navy: #132a52;
    --mk-navy-dark: #0d1e3d;
    --mk-orange: #f2a33c;
    --mk-orange-dark: #d98a1f;
    --mk-cream: #fdf8f2;
    --mk-text: #1c2733;
    --mk-muted: #5c6b7a;
    --mk-font-heading: var(--font-heading, 'Playfair Display', serif);
    --mk-font-body: var(--font-body, 'Montserrat', sans-serif);
}

body {
    font-family: var(--mk-font-body);
    color: var(--mk-text);
    background-color: var(--mk-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mk-font-heading);
    color: var(--mk-navy);
}

/* Navbar */
.navbar-masetika {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(19, 42, 82, 0.08);
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand img {
    display: block;
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--mk-navy);
}

.brand-text small {
    display: block;
    font-size: .6rem;
    letter-spacing: .15em;
    color: var(--mk-orange);
    font-weight: 600;
}

.brand-text-etika {
    color: #8a94a3;
}

.text-white .brand-text-etika {
    color: rgba(255, 255, 255, .55);
}

.navbar-nav .nav-link {
    color: var(--mk-text);
    font-weight: 500;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--mk-orange-dark);
}

.btn-cta {
    background-color: var(--mk-orange);
    border-color: var(--mk-orange);
    color: #fff;
    font-weight: 600;
    border-radius: .5rem;
}

.btn-cta:hover {
    background-color: var(--mk-orange-dark);
    border-color: var(--mk-orange-dark);
    color: #fff;
}

.btn-outline-masetika {
    border: 1px solid var(--mk-navy);
    color: var(--mk-navy);
    font-weight: 600;
    border-radius: .5rem;
}

.btn-outline-masetika:hover {
    background-color: var(--mk-navy);
    color: #fff;
}

/* Hero */
.hero-section {
    padding: 4rem 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--mk-orange-dark);
    font-weight: 700;
    font-size: .85rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
}

.text-accent {
    color: var(--mk-orange);
}

.hero-lead {
    color: var(--mk-muted);
    font-size: 1.1rem;
    max-width: 32rem;
}

.hero-image-wrap img {
    width: 100%;
    object-fit: cover;
}

/* Hero fusionado: imagen de fondo a todo lo ancho, texto montado sobre el espacio
   crema que ya trae la fotografía del lado izquierdo */
.hero-fusion {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--mk-cream);
}

.hero-fusion .container {
    z-index: 2;
}

.hero-fusion-content {
    padding: 4rem 0;
}

.hero-fusion-content .eyebrow {
    color: var(--mk-orange-dark);
}

.hero-fusion-content .hero-title {
    color: var(--mk-navy);
}

.hero-fusion-content .hero-lead {
    color: var(--mk-muted);
    max-width: 28rem;
}

.hero-fusion-content p {
    color: var(--mk-text);
}

/* Section titles */
.section-title {
    font-weight: 700;
    font-size: 2rem;
}

.section-subtitle {
    color: var(--mk-muted);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-start,
.section-subtitle.text-start {
    margin-left: 0;
    margin-right: 0;
}

.page-header {
    background-color: var(--mk-navy);
    color: #fff;
    padding: 4rem 0 3rem;
}

.page-header h1 {
    color: #fff;
    font-weight: 700;
}

.page-header p {
    color: rgba(255, 255, 255, .75);
}

/* Retos */
.section-retos {
    background-color: #fff4e4;
    padding: 3.5rem 0;
}

.reto-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(19, 42, 82, .06);
}

.reto-icono {
    width: 2rem;
    height: 2rem;
    color: var(--mk-orange);
}

.reto-card p {
    margin-top: .75rem;
    margin-bottom: 0;
    font-size: .9rem;
    color: var(--mk-text);
}

/* Servicios */
.section-servicios {
    padding: 4rem 0;
}

.servicio-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(19, 42, 82, .06);
    transition: transform .2s ease;
}

.servicio-card:hover {
    transform: translateY(-4px);
}

.servicio-icono {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mk-navy);
    color: var(--mk-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.servicio-card h3 {
    font-size: 1.15rem;
}

.servicio-card p {
    color: var(--mk-muted);
    font-size: .95rem;
    margin-bottom: .75rem;
}

.btn-link-cta {
    display: inline-flex;
    align-items: center;
    color: var(--mk-orange-dark);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}

.btn-link-cta:hover {
    color: var(--mk-navy);
}

/* Nosotros: razones */
.razones-lista {
    margin: 1.75rem 0;
}

.razones-lista li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.razones-lista i {
    font-size: 1.4rem;
    color: var(--mk-orange);
    margin-top: .2rem;
}

.razones-lista strong {
    display: block;
    color: var(--mk-navy);
    font-family: var(--mk-font-heading);
}

.razones-lista p {
    color: var(--mk-muted);
    margin-bottom: 0;
    font-size: .95rem;
}

/* Servicios: bloques detallados (página /servicios) */
.section-servicios-detalle {
    padding: 3rem 0;
}

.servicio-bloque {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(19, 42, 82, .08);
}

.servicio-bloque:last-child {
    border-bottom: none;
}

.servicio-numero {
    display: inline-block;
    font-family: var(--mk-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: var(--mk-navy);
    border-radius: .5rem;
    padding: .25rem .75rem;
    margin-bottom: 1rem;
}

.servicio-resumen {
    color: var(--mk-orange-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.subservicios-grid .subservicio-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.subservicios-grid i {
    color: var(--mk-orange);
    font-size: 1.1rem;
    margin-top: .2rem;
}

.subservicios-grid strong {
    display: block;
    color: var(--mk-navy);
    font-size: .95rem;
}

.subservicios-grid p {
    color: var(--mk-muted);
    font-size: .875rem;
    margin-bottom: 0;
}

/* Por qué */
.section-porque {
    background: linear-gradient(135deg, var(--mk-navy) 0%, var(--mk-navy-dark) 100%);
    color: #fff;
    padding: 4rem 0;
}

.razon-card {
    text-align: center;
}

.razon-card i {
    font-size: 2rem;
    color: var(--mk-orange);
}

.razon-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-top: 1rem;
}

.razon-card p {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

/* Nosotros */
.section-nosotros {
    padding: 4rem 0;
}

.valor-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 16px rgba(19, 42, 82, .06);
    height: 100%;
}

.valor-card h4 {
    font-size: 1.1rem;
}

.valor-card p {
    color: var(--mk-muted);
    margin-bottom: 0;
}

/* CTA final */
.section-cta-final {
    background-color: var(--mk-navy);
    padding: 4rem 0;
}

/* Formulario */
.form-contacto .form-control {
    border-radius: .5rem;
    padding: .65rem .9rem;
    border: 1px solid #d7dde4;
}

.form-error {
    color: #d64545;
    font-size: .8rem;
    margin-top: .25rem;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.grecaptcha-badge {
    opacity: .4;
    transition: opacity .2s ease;
}

.grecaptcha-badge:hover {
    opacity: 1;
}

/* Legal (aviso de privacidad, términos y condiciones) */
.section-legal {
    padding: 3.5rem 0 5rem;
}

.legal-contenido {
    max-width: 46rem;
    margin: 0 auto;
    color: var(--mk-text);
}

.legal-contenido h2 {
    font-size: 1.3rem;
    margin-top: 2.25rem;
    margin-bottom: .75rem;
}

.legal-contenido p,
.legal-contenido li {
    color: var(--mk-muted);
    line-height: 1.7;
}

.legal-contenido ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-contenido li {
    margin-bottom: .35rem;
}

.legal-contenido strong {
    color: var(--mk-navy);
}

/* Blog */
.section-blog,
.section-blog-detalle {
    padding: 4rem 0;
}

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(19, 42, 82, .06);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-fecha {
    color: var(--mk-muted);
    font-size: .8rem;
}

/* Contacto */
.contacto-header {
    background-color: var(--mk-cream);
    padding: 4rem 0;
}

.contacto-header-title {
    font-size: 3rem;
}

.contacto-header-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--mk-navy);
}

.contacto-header-desc {
    color: var(--mk-muted);
    max-width: 32rem;
}

.contacto-header-img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.section-contacto {
    padding: 4rem 0;
}

.contacto-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(19, 42, 82, .06);
}

.contacto-datos li {
    margin-bottom: .75rem;
    color: var(--mk-text);
}

.contacto-datos i {
    color: var(--mk-orange);
    margin-right: .5rem;
}

.contacto-info-lista .contacto-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacto-info-icono {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: #fff4e4;
    color: var(--mk-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contacto-info-label {
    display: block;
    color: var(--mk-muted);
    font-size: .85rem;
}

.contacto-info-item strong {
    color: var(--mk-navy);
}

.contacto-trust-card {
    background: #fff4e4;
    border-radius: 1rem;
    padding: 1.75rem;
    margin-top: 1rem;
}

.contacto-trust-titulo {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.contacto-trust-lista li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .9rem;
    color: var(--mk-text);
    font-size: .9rem;
}

.contacto-trust-lista li:last-child {
    margin-bottom: 0;
}

.contacto-trust-lista i {
    color: var(--mk-orange-dark);
    margin-top: .15rem;
}

.oficina-bloque {
    padding-top: 1rem;
    border-top: 1px solid rgba(19, 42, 82, .08);
}

.oficina-ciudad {
    font-size: 1.05rem;
    color: var(--mk-navy);
    margin-bottom: .35rem;
}

.oficina-ciudad i {
    color: var(--mk-orange);
}

.oficina-direccion {
    color: var(--mk-muted);
    margin-bottom: 1rem;
}

/* Footer */
.footer-masetika {
    background-color: var(--mk-navy-dark);
    color: rgba(255, 255, 255, .7);
}

.footer-tagline {
    color: rgba(255, 255, 255, .6);
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}

.footer-links li {
    margin-bottom: .5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--mk-orange);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .15);
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-fusion {
        background-position: top center;
    }

    .hero-fusion-content {
        background: rgba(253, 248, 242, .93);
        border-radius: 1rem;
        padding: 1.75rem;
        margin: 1.5rem 0;
    }
}

/* Contacto: gracias */
.section-gracias {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.section-gracias .gracias-icono {
    font-size: 4rem;
    color: var(--mk-orange);
}

.section-gracias .gracias-lead {
    max-width: 560px;
    margin: 0 auto;
    color: var(--mk-muted);
    font-size: 1.1rem;
}
