

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --ink: #11181f;
    --ink-2: #1a2733;
    --ink-3: #243341;

    --brass: #b08a46;
    --brass-light: #cda75f;
    --brass-deep: #8f6f34;

    --cream: #f6f1e8;
    --paper: #fdfbf6;
    --white: #ffffff;

    --text: #2b2922;
    --text-soft: #5f5849;
    --text-muted: #8a8170;
    --on-dark: #d8d0c2;
    --on-dark-soft: #9aa3ad;

    --line: rgba(43, 41, 34, 0.12);
    --line-dark: rgba(205, 167, 95, 0.22);
    --shadow: 0 18px 50px -22px rgba(17, 24, 31, 0.35);
    --shadow-soft: 0 12px 30px -18px rgba(17, 24, 31, 0.28);

    --radius: 4px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, Arial, sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.2px;
    color: var(--ink);
}

.dorado {
    color: var(--brass);
    font-style: italic;
    font-weight: 600;
}

.centrado {
    text-align: center;
}

.etiqueta-seccion {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--brass-deep);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.etiqueta-seccion::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--brass);
}

.etiqueta-seccion.centrado {
    justify-content: center;
}

.etiqueta-seccion.centrado::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--brass);
}

.navbar {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px -10px rgba(17, 24, 31, 0.12);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}

.nav-contenedor {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.emblema {
    position: relative;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(205,167,95,0.10), transparent 70%);
}

.emblema::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(205, 167, 95, 0.35);
    border-radius: 50%;
}

.emblema-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--brass-light);
    line-height: 1;
}

.emblema-no {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    color: var(--brass);
    margin-right: 1px;
    align-self: flex-start;
    margin-top: 8px;
}

.emblema-no sup {
    font-size: 9px;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-nombre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-ciudad {
    font-size: 10.5px;
    color: var(--on-dark-soft);
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.navbar .logo-nombre { color: var(--ink); }
.navbar .logo-ciudad { color: var(--text-muted); }
.navbar .emblema-num { color: var(--brass); }

.nav-lista {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-lista li a {
    position: relative;
    display: block;
    color: var(--text);
    padding: 26px 16px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.25s;
}

.nav-lista li a i {
    margin-right: 7px;
    font-size: 11px;
    color: var(--brass);
    transition: color 0.25s;
}

.nav-lista li a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-lista li a:hover::after,
.nav-lista a.nav-activo::after {
    transform: scaleX(1);
}

.nav-lista li a:hover,
.nav-lista a.nav-activo {
    color: var(--brass-deep) !important;
}

.btn-whatsapp {
    background-color: #1f9d57 !important;
    color: var(--white) !important;
    border-radius: var(--radius);
    margin-left: 14px;
    padding: 11px 18px !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 6px 16px -8px rgba(31, 157, 87, 0.8);
}

.btn-whatsapp::after {
    display: none !important;
}

.btn-whatsapp:hover {
    background-color: #1ab863 !important;
    color: var(--white) !important;
}

.btn-whatsapp i {
    color: var(--white) !important;
    font-size: 14px !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brass);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: url('images/notaria.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, var(--cream) 0%, var(--cream) 40%, rgba(246, 241, 232, 0.80) 60%, rgba(246, 241, 232, 0.35) 100%),
        linear-gradient(0deg, rgba(246, 241, 232, 0.55) 0%, rgba(246, 241, 232, 0) 35%);
}

.hero-contenido {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 56px 56px 56px 0;
    margin-left: 8.5%;
}

.hero-contenido::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 56px;
    bottom: 56px;
    width: 2px;
    background: linear-gradient(var(--brass), rgba(176, 138, 70, 0));
}

.hero-subtitulo {
    color: var(--brass-deep);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(44px, 7vw, 86px);
    color: var(--ink);
    line-height: 1.04;
    font-weight: 600;
    margin-bottom: 26px;
    letter-spacing: 0.5px;
}

.hero-descripcion {
    color: var(--text-soft);
    font-size: 19px;
    font-weight: 300;
    margin-bottom: 12px;
}

.hero-descripcion strong {
    color: var(--brass-deep);
    font-weight: 600;
}

.hero-ubicacion {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-ubicacion i {
    color: var(--brass);
    margin-right: 8px;
}

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

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--brass-deep);
    font-size: 14px;
}

.hero-scroll span {
    display: block;
    width: 1px;
    height: 38px;
    background: linear-gradient(rgba(176,138,70,0), var(--brass));
}

.hero-scroll i {
    animation: flota 2s ease-in-out infinite;
}

@keyframes flota {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(5px); opacity: 1; }
}

.btn-primario,
.btn-secundario,
.btn-whatsapp-grande {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primario {
    background-color: var(--brass);
    color: var(--ink);
    box-shadow: 0 10px 24px -12px rgba(176, 138, 70, 0.9);
}

.btn-primario:hover {
    background-color: var(--brass-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(176, 138, 70, 0.95);
}

.btn-secundario {
    background-color: transparent;
    color: var(--ink);
    border: 1px solid rgba(43, 41, 34, 0.30);
}

.btn-secundario:hover {
    border-color: var(--brass);
    color: var(--brass-deep);
    background-color: rgba(176, 138, 70, 0.07);
}

.franja-apertura {
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 17px 30px;
    color: var(--on-dark);
    font-size: 13.5px;
    letter-spacing: 0.4px;
    text-align: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.franja-apertura strong {
    color: var(--brass-light);
    font-weight: 600;
}

.franja-apertura .dorado {
    font-size: 9px;
    font-style: normal;
    opacity: 0.85;
}

.contenedor-central {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

section h2 {
    font-size: clamp(32px, 4.5vw, 50px);
    margin-bottom: 18px;
    color: var(--ink);
}

.subtitulo-seccion {
    color: var(--text-soft);
    font-size: 16px;
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 60px;
    text-align: center;
}

.seccion-nosotros {
    padding: 120px 0;
    background-color: var(--paper);
}

.seccion-nosotros .contenedor-central {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
}

.nosotros-imagen {
    position: relative;
}

.nosotros-imagen::before {
    content: "";
    position: absolute;
    inset: -18px -18px 18px 18px;
    border: 1px solid var(--brass);
    border-radius: 4px;
    z-index: 0;
}

.nosotros-imagen img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.sello-anio {
    position: absolute;
    z-index: 2;
    right: -22px;
    bottom: 42px;
    background: var(--ink);
    color: var(--on-dark);
    border: 1px solid var(--brass);
    border-radius: 50%;
    width: 104px;
    height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.sello-anio strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--brass-light);
    letter-spacing: 1px;
}

.nosotros-texto p {
    color: var(--text-soft);
    margin-bottom: 16px;
    font-size: 15.5px;
}

.valores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    margin: 30px 0 36px;
    border-top: 1px solid var(--line);
    padding-top: 30px;
}

.valor {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
}

.valor i {
    color: var(--brass);
    font-size: 15px;
}

.seccion-servicios {
    padding: 120px 0;
    background-color: var(--cream);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
    margin-top: 14px;
}

.tarjeta-servicio {
    position: relative;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 42px 30px 38px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.tarjeta-servicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brass-deep), var(--brass-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.tarjeta-servicio:hover::before {
    transform: scaleX(1);
}

.icono-servicio {
    width: 76px;
    height: 76px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: background-color 0.35s ease;
}

.icono-servicio i {
    font-size: 27px;
    color: var(--brass);
    transition: color 0.35s ease;
}

.tarjeta-servicio:hover .icono-servicio {
    background-color: var(--brass);
}

.tarjeta-servicio:hover .icono-servicio i {
    color: var(--white);
}

.tarjeta-servicio h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}

.tarjeta-servicio p {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
}

.banner-cta {
    position: relative;
    background: url('images/derecho.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    padding: 110px 20px;
    text-align: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(11, 17, 23, 0.9), rgba(17, 24, 31, 0.82));
}

.banner-contenido {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-contenido::before {
    content: "\2767";
    display: block;
    color: var(--brass);
    font-size: 26px;
    margin-bottom: 18px;
}

.banner-contenido h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    color: var(--white);
    margin-bottom: 14px;
}

.banner-contenido p {
    color: var(--on-dark);
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 38px;
}

.banner-botones {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-whatsapp-grande {
    background-color: #1f9d57;
    color: var(--white);
    box-shadow: 0 10px 24px -12px rgba(31, 157, 87, 0.85);
}

.btn-whatsapp-grande:hover {
    background-color: #1ab863;
    transform: translateY(-2px);
}

.seccion-contacto {
    padding: 120px 0;
    background-color: var(--paper);
}

.grid-contacto {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 56px;
    margin-top: 56px;
    align-items: start;
}

.info-contacto {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contacto-item:last-child {
    border-bottom: none;
}

.contacto-icono {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-icono i {
    color: var(--brass);
    font-size: 18px;
}

.contacto-item h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contacto-item p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

.contacto-item a {
    color: var(--brass-deep);
    font-weight: 500;
}

.contacto-item a:hover {
    color: var(--brass);
    text-decoration: underline;
}

.mapa-contenedor {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.mapa-contenedor iframe {
    display: block;
    filter: grayscale(0.25) contrast(1.02);
}

.footer {
    background-color: var(--ink);
    color: var(--on-dark-soft);
    border-top: 2px solid var(--brass);
}

.footer-contenido {
    max-width: var(--container);
    margin: 0 auto;
    padding: 72px 32px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.footer-logo .logo-nombre {
    font-size: 20px;
}

.footer-marca p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--on-dark-soft);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass-light);
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.25s;
}

.footer-social a:hover {
    background-color: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contacto h4 {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--on-dark-soft);
    font-size: 13.5px;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-links ul li a:hover {
    color: var(--brass-light);
    padding-left: 6px;
}

.footer-contacto p {
    font-size: 13.5px;
    margin-bottom: 13px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--on-dark-soft);
}

.footer-contacto p i {
    color: var(--brass);
    margin-top: 4px;
    min-width: 14px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.35);
    text-align: center;
    padding: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--on-dark-soft);
    border-top: 1px solid rgba(205, 167, 95, 0.1);
}

#btnArriba {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--brass);
    color: var(--ink);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 17px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 22px -6px rgba(176, 138, 70, 0.7);
    transition: background-color 0.3s, transform 0.25s;
}

#btnArriba:hover {
    background-color: var(--brass-light);
    transform: translateY(-3px);
}

.animar {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.animar.animar-izq { transform: translateX(-46px); }
.animar.animar-der { transform: translateX(46px); }
.animar.animar-zoom { transform: scale(0.94); }

.animar.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .animar {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-scroll i { animation: none !important; }
}

.btn-tramite {
    border: 1px solid var(--brass) !important;
    color: var(--brass-deep) !important;
    border-radius: var(--radius);
    margin-left: 10px;
    padding: 10px 16px !important;
}

.btn-tramite::after {
    display: none !important;
}

.btn-tramite:hover {
    background-color: var(--brass) !important;
    color: var(--ink) !important;
}

.btn-tramite:hover i {
    color: var(--ink) !important;
}

.mt-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 6vh 20px 40px;
    overflow-y: auto;
    background: rgba(11, 17, 23, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mt-overlay.abierto {
    display: flex;
    animation: mt-fade 0.3s ease;
}

@keyframes mt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mt-modal {
    position: relative;
    width: min(560px, 100%);
    background: var(--paper);
    border-radius: var(--radius);
    border-top: 3px solid var(--brass);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
    padding: 44px 40px 38px;
    animation: mt-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mt-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.mt-cerrar {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.25s, color 0.25s;
}

.mt-cerrar:hover {
    background: rgba(43, 41, 34, 0.08);
    color: var(--ink);
}

.mt-head {
    text-align: center;
    margin-bottom: 26px;
}

.mt-emblema {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border: 1px solid var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brass);
    font-size: 24px;
}

.mt-head h2 {
    font-size: 36px;
    margin-bottom: 14px;
}

.mt-desc {
    color: var(--text-soft);
    font-size: 14.5px;
    font-weight: 300;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.7;
}

.mt-desc strong {
    color: var(--brass-deep);
    font-weight: 600;
    letter-spacing: 1px;
}

.mt-fila {
    display: flex;
    gap: 12px;
    margin-bottom: 6px;
}

#codigo {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink);
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s;
}

#codigo::placeholder {
    color: #b8b0a0;
    letter-spacing: 3px;
    font-weight: 400;
}

#codigo:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(176, 138, 70, 0.15);
}

.mt-fila .btn-primario {
    white-space: nowrap;
}

.mt-error {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(168, 58, 50, 0.07);
    border-left: 3px solid #a83a32;
    border-radius: 2px;
    color: #8f322b;
    font-size: 13.5px;
}

.mt-resultado {
    display: none;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.mt-res-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.mt-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}

.mt-tipo {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 2px;
}

.mt-pill {
    flex-shrink: 0;
    background: var(--ink);
    color: var(--brass-light);
    border: 1px solid var(--brass);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.mt-etapas {
    position: relative;
    padding-left: 4px;
}

.mt-etapa {
    position: relative;
    display: flex;
    gap: 16px;
    padding-bottom: 22px;
}

.mt-etapa:last-child {
    padding-bottom: 0;
}

.mt-etapa::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 26px;
    bottom: -4px;
    width: 1px;
    background: var(--line);
}

.mt-etapa:last-child::before {
    display: none;
}

.mt-dot {
    position: relative;
    z-index: 1;
    width: 25px;
    height: 25px;
    min-width: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.mt-etapa.ok .mt-dot {
    background: var(--brass);
    color: var(--white);
}

.mt-etapa.pend .mt-dot {
    background: var(--white);
    border: 1px solid var(--line);
}

.mt-nom {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
}

.mt-etapa.pend .mt-nom {
    color: var(--text-muted);
    font-weight: 400;
}

.mt-fec {
    font-size: 12.5px;
    color: var(--text-soft);
    margin-top: 2px;
}

.mt-etapa.pend .mt-fec {
    color: #aaa295;
}

.mt-nota {
    margin-top: 24px;
    padding: 14px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .mt-modal {
        padding: 40px 22px 30px;
    }
    .mt-fila {
        flex-direction: column;
    }
    .mt-fila .btn-primario {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .seccion-nosotros .contenedor-central {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    .nosotros-imagen img {
        height: 360px;
    }
    .grid-contacto {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-contenido {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-marca {
        grid-column: 1 / -1;
    }
    .banner-cta {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-lista {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 8px 0 14px;
        box-shadow: 0 14px 26px -12px rgba(17, 24, 31, 0.22);
        border-bottom: 1px solid var(--line);
    }
    .nav-lista.activo {
        display: flex;
    }
    .nav-lista li a {
        padding: 15px 28px;
        border-bottom: 1px solid var(--line);
    }
    .nav-lista li a::after {
        display: none;
    }
    .btn-whatsapp {
        margin: 12px 28px 4px !important;
        justify-content: center;
    }
    .hero-contenido {
        margin-left: 0;
        padding: 44px 24px;
    }
    .hero-contenido::before {
        display: none;
    }
    .hero-scroll {
        display: none;
    }
    .sello-anio {
        right: 16px;
        bottom: 16px;
        width: 88px;
        height: 88px;
    }
    .valores {
        grid-template-columns: 1fr;
    }
    .seccion-nosotros,
    .seccion-servicios,
    .seccion-contacto {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .grid-servicios {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 82vh;
    }
    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nosotros-imagen::before {
        inset: -10px -10px 10px 10px;
    }
}

/* ===== Imagen enmarcada dentro de Servicios ===== */
.servicios-foto {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}
.servicios-foto::before {
    content: "";
    position: absolute;
    inset: -16px -16px 16px 16px;
    border: 1px solid var(--brass);
    border-radius: 4px;
    z-index: 0;
}
.servicios-foto figure {
    position: relative;
    z-index: 1;
    margin: 0;
    background: var(--white);
    padding: 12px;
    border-radius: 4px;
    box-shadow: var(--shadow);
}
.servicios-foto img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}
.servicios-foto figcaption {
    text-align: center;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 14px 8px 4px;
}

/* ===== Seccion Galeria / Nuestras Instalaciones ===== */
.seccion-galeria {
    padding: 120px 0;
    background-color: var(--paper);
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 46px;
    justify-content: center;
}
.marco-foto {
    position: relative;
    background: var(--white);
    padding: 12px 12px 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.marco-foto::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid var(--brass);
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}
.marco-foto .foto-recorte {
    overflow: hidden;
    border-radius: 2px;
}
.marco-foto img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.marco-foto figcaption {
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-soft);
    padding: 14px 6px 2px;
}
.marco-foto:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.marco-foto:hover img {
    transform: scale(1.05);
}
@media (max-width: 900px) {
    .seccion-galeria {
        padding: 80px 0;
    }
    .servicios-foto img {
        height: 320px;
    }
}
@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .marco-foto img {
        height: 300px;
    }
    .servicios-foto img {
        height: 240px;
    }
}

/* ===== Logo sin emblema: acento "No. 1" ===== */
.logo-num {
    color: var(--brass-light);
    font-weight: 700;
}
.navbar .logo-num {
    color: var(--brass-deep);
}

/* ===== Encuadre de la foto de recepcion ===== */
.marco-foto img.pos-derecha {
    object-position: right center;
}

/* ===== Medallones de iconos mas premium ===== */
.icono-servicio {
    position: relative;
    background: radial-gradient(circle at 50% 30%, rgba(205,167,95,0.18), rgba(205,167,95,0.02) 72%);
    border: 1px solid rgba(176,138,70,0.55);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 20px -14px rgba(143,111,52,0.8);
    transition: transform .45s cubic-bezier(.2,.7,.2,1), background .35s ease, box-shadow .45s ease, border-color .35s ease;
}
.icono-servicio::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(205,167,95,0.32);
    border-radius: 50%;
    transition: inset .45s ease, border-color .35s ease;
}
.icono-servicio i {
    position: relative;
    z-index: 1;
    transition: color .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.tarjeta-servicio:hover .icono-servicio {
    background: linear-gradient(145deg, var(--brass-light), var(--brass-deep));
    border-color: var(--brass-deep);
    transform: translateY(-5px) scale(1.07);
    box-shadow: 0 18px 32px -14px rgba(143,111,52,0.95);
}
.tarjeta-servicio:hover .icono-servicio::after {
    inset: 7px;
    border-color: rgba(255,255,255,0.5);
}
.tarjeta-servicio:hover .icono-servicio i {
    color: #fff;
    transform: scale(1.12);
}

.contacto-icono {
    background: radial-gradient(circle at 50% 30%, rgba(205,167,95,0.18), rgba(205,167,95,0.02) 72%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 6px 16px -12px rgba(143,111,52,0.8);
    transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}
.contacto-item:hover .contacto-icono {
    background: linear-gradient(145deg, var(--brass-light), var(--brass-deep));
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 24px -12px rgba(143,111,52,0.9);
}
.contacto-item:hover .contacto-icono i {
    color: #fff;
}

/* ===== Botones mas llamativos: barrido de brillo + respuesta al toque ===== */
.btn-primario,
.btn-secundario,
.btn-whatsapp-grande {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease,
                background-color .3s ease, background-position .55s ease, color .3s ease, border-color .3s ease;
}
.btn-primario::before,
.btn-whatsapp-grande::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-18deg);
    transition: left .6s ease;
    z-index: 2;
    pointer-events: none;
}
.btn-primario:hover::before,
.btn-whatsapp-grande:hover::before {
    left: 140%;
}
.btn-primario {
    background: linear-gradient(135deg, var(--brass-light), var(--brass-deep));
    background-size: 180% 180%;
    background-position: 0% 50%;
    border: none;
}
.btn-primario:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 34px -12px rgba(176,138,70,0.95);
}
.btn-whatsapp-grande {
    background: linear-gradient(135deg, #27b96c, #147a46);
    background-size: 180% 180%;
    background-position: 0% 50%;
}
.btn-whatsapp-grande:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 34px -12px rgba(31,157,87,0.9);
}
.btn-secundario:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 26px -14px rgba(43,41,34,0.45);
}
.btn-primario:active,
.btn-secundario:active,
.btn-whatsapp-grande:active,
.btn-whatsapp:active,
.btn-tramite:active {
    transform: scale(0.95);
    box-shadow: 0 4px 12px -8px rgba(0,0,0,0.4);
}
.btn-whatsapp {
    transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .3s ease, box-shadow .3s ease !important;
}
.btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 22px -8px rgba(31,157,87,0.9) !important;
}
.btn-tramite {
    transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn-tramite:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 22px -10px rgba(176,138,70,0.85);
}
@media (hover: none) {
    .btn-primario:hover, .btn-whatsapp-grande:hover, .btn-secundario:hover,
    .btn-whatsapp:hover, .btn-tramite:hover { transform: none; }
}
