:root {
    --beige: #eee7d8;
    --beige-claro: #f6f2e9;
    --petroleo: #163e56;
    --petroleo-oscuro: #102e41;
    --negro: #20201e;
    --rojo: #b52a2f;
    --borde: #d7cfbf;
  --ocre:#c8963e; 
}
html,
body {
    min-height: 100%;
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(23, 76, 76, 0.07) 0%,
            transparent 38%
        ),
        linear-gradient(
            rgba(23, 76, 76, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 76, 76, 0.025) 1px,
            transparent 1px
        ),

        var(--beige);
    background-size:
        auto,
        45px 45px,
        45px 45px;
    color: var(--negro);
    font-family: "Public Sans", sans-serif;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0 0 0 200px;
    /*background: url("images/firma-bg.svg") center / cover no-repeat;*/
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: "";
    position: fixed;
    width: 650px;
    height: 650px;
    top: -320px;
    right: -220px;
    border: 1px solid rgba(23, 76, 76, 0.05);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(23, 76, 76, 0.015),
        0 0 0 180px rgba(23, 76, 76, 0.01);

    pointer-events: none;
    z-index: 0;
}
body > * {
    position: relative;
    z-index: 1;
}

/*nav*/
/* NAV */
.nav-firmafacil {
    position: sticky;
    top: 10px;
    z-index: 1000;
    min-height: 72px;
    padding: 10px 18px;
    background: rgba(255, 252, 244, 0.78);
    border: 1px solid rgba(23, 76, 76, 0.12);
    border-radius: 18px;
    box-shadow:
        0 8px 25px rgba(23, 76, 76, 0.07),
        0 2px 6px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

.nav-firmafacil .navbar-brand {
    color: var(--petroleo);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
}

.nav-firmafacil .nav-link {
    position: relative;
    padding: 12px 18px;
    color: var(--petroleo);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.nav-firmafacil .nav-link:hover {
    color: var(--rojo);
    background: rgba(23, 76, 76, 0.05);
}

.nav-firmafacil .nav-link.active {
    color: var(--beige);
    background: var(--petroleo);
    box-shadow: 0 4px 12px rgba(23, 76, 76, 0.18);
}

.nav-firmafacil .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--rojo);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* HAMBURGUESA */
.nav-firmafacil .navbar-toggler {
    padding: 7px 10px;
    color: var(--petroleo);
    border: 1px solid rgba(23, 76, 76, 0.2);
    border-radius: 10px;
    box-shadow: none;
    font-size: 1.5rem;
}

.nav-firmafacil .navbar-toggler:focus {
    box-shadow: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .nav-firmafacil {
        padding: 10px 14px;
    }

    .nav-firmafacil .navbar-collapse {
        padding-top: 12px;
    }

    .nav-firmafacil .navbar-nav {
        align-items: stretch !important;
        gap: 3px;
    }

    .nav-firmafacil .nav-link {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .nav-firmafacil .nav-link.active::after {
        display: none;
    }
}
 .img-laptop {
    border-radius: 18px;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.22),
        0 5px 15px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.img-laptop:hover {
    transform: translateY(-5px);
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.26),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.textpetroleo{
	 color: var(--petroleo);
	
}
.titulo {
    color: var(--petroleo-oscuro);
    font-weight: 700;
    letter-spacing: -.03em;
}
.descripcion {
    max-width: 900px;
    margin: 0 auto;
    color: var(--petroleo);
    font-size: 1.05rem;
}
.registro-card {
    background: var(--beige-claro);
    border: 1px solid var(--borde);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(32, 32, 30, .08);
    opacity: 0.8;
}
.form-label {
    color: var(--petroleo-oscuro);
    font-weight: 600;
    margin-bottom: .4rem;
}
.form-control,
.form-select {
    background: #fffdf8;
    border: 1px solid #cfc6b5;
    color: var(--negro);
    min-height: 46px;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--petroleo);
    box-shadow: 0 0 0 .2rem rgba(22, 75, 75, .12);
}
.form-text {
    color: #777267;
}
.btn-rojo {
    background: var(--rojo);
    border-color: var(--rojo);
    color: #fff;
    font-weight: 600;
    min-height: 46px;
}
.btn-rojo:hover {
    background: #982328;
    border-color: #982328;
    color: #fff;
}
.btn-outline-petroleo {
    border: 1px solid var(--petroleo);
    color: var(--petroleo);
    min-height: 46px;
}
.btn-outline-petroleo:hover {
    background: var(--petroleo);
    border-color: var(--petroleo);
    color: #fff;
}
.selector {
    display: flex;
    border-bottom: 1px solid var(--borde);
    margin-bottom: 28px;
}
.selector-btn {
    flex: 1;
    border: 0;
    background: transparent;
    color: #777267;
    padding: 12px 10px;
    font-weight: 600;
    position: relative;
}
.selector-btn.active {
    color: var(--petroleo);
}
.selector-btn.active::after {
    content: "";
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: -1px;
    height: 3px;
    background: var(--rojo);
    border-radius: 3px 3px 0 0;
}
.texto {
    color: #5d5a52;
}
.estado-icono {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--petroleo);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}
.alert-registro {
    background: #e8dfcd;
    border: 1px solid #d2c5ae;
    color: var(--negro);
}
footer {
    color: #777267;
}
@media (max-width: 576px) {
    .registro-card {
        padding: 22px;
    }
    .selector-btn {
        font-size: .9rem;
    }
}



.nosotros-card {
    position: relative;
    border-radius: 18px;
    color: var(--petroleo-oscuro);
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(23, 76, 76, 0.07) 0%,
            transparent 38%
        ),
        #fafbfd;
    overflow: hidden;
}
.nosotros-card::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -350px;
    top: -125px;
    border-radius: 50%;
border: 110px solid rgba(150, 125, 90, 0.035);   
 background: transparent;
}
.nosotros-card::after {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    right: -340px;
    bottom: -500px;
    border-radius: 50%;
border: 110px solid rgba(150, 125, 90, 0.05);
  background: transparent;
}
.nosotros-card h2 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    color: var(--petroleo-oscuro);
}
.nosotros-card .lead {
    position: relative;
    z-index: 1;
    color: var(--petroleo-oscuro);
}
/* firmador.php*/
.firma-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    color: var(--petroleo);
    background: rgba(23, 76, 76, 0.07);
    border: 1px solid rgba(23, 76, 76, 0.12);
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
}

.firma-info-card {
    padding: 22px;
    background: rgba(255, 252, 244, .72);
    border: 1px solid rgba(23, 76, 76, .10);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(23, 76, 76, .06);
    backdrop-filter: blur(8px);
}

.firma-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.firma-info-item > i {
    font-size: 25px;
    color: var(--petroleo);
}

.firma-info-item small {
    display: block;
    color: #777;
    font-size: .78rem;
}

.firma-info-item strong {
    display: block;
    color: var(--petroleo);
    font-size: .95rem;
}

.firma-section {
    padding: 50px 0;
}

.firma-section h2,
.firma-instructivo h2,
.firma-guia h2,
.firma-soporte h2 {
    color: var(--petroleo);
    font-weight: 700;
}

.firma-section p {
    color: #5f6462;
    line-height: 1.7;
}

.firma-section-number {
    display: block;
    margin-bottom: 8px;
    color: var(--rojo);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.firma-ilustracion {
    max-width: 750px;
    margin: auto;
}

.firma-ilustracion img {
    width: 100%;
    height: auto;
}

.btn-rojo {
    color: #fff;
    background: var(--rojo);
    border-color: var(--rojo);
    padding: 11px 20px;
    font-weight: 600;
    border-radius: 10px;
}

.btn-rojo:hover {
    color: #fff;
    background: #c9161d;
    border-color: #c9161d;
}

.firma-paso {
    height: 100%;
    padding: 28px 22px;
    background: rgba(255, 252, 244, .68);
    border: 1px solid rgba(23, 76, 76, .10);
    border-radius: 16px;
}

.firma-paso-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--petroleo);
    background: rgba(23, 76, 76, .08);
    border-radius: 12px;
    font-size: 23px;
}

.firma-paso > span {
    color: var(--rojo);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.firma-paso h3 {
    margin-top: 7px;
    color: var(--petroleo);
    font-size: 1.05rem;
    font-weight: 700;
}

.firma-paso p {
    margin-bottom: 0;
    color: #686d6b;
    font-size: .9rem;
    line-height: 1.6;
}

.firma-guia {
    padding: 45px 0;
}

.firma-guia .accordion-item {
    background: rgba(255, 252, 244, .65);
    border-color: rgba(23, 76, 76, .10);
}

.firma-guia .accordion-button {
    color: var(--petroleo);
    background: transparent;
    font-weight: 600;
}

.firma-guia .accordion-button:not(.collapsed) {
    color: var(--petroleo);
    background: rgba(23, 76, 76, .05);
    box-shadow: none;
}

.firma-guia .accordion-button:focus {
    box-shadow: none;
}

.firma-soporte {
    padding: 45px 25px;
    margin-bottom: 30px;
    background: rgba(23, 76, 76, .045);
    border-radius: 20px;
}

.firma-soporte > i {
    color: var(--petroleo);
    font-size: 38px;
}

.firma-soporte p {
    max-width: 600px;
    margin: 10px auto 20px;
    color: #666;
}

.btn-petroleo {
    color: #fff;
    background: var(--petroleo);
    border-color: var(--petroleo);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
}

.btn-petroleo:hover {
    color: #fff;
    background: #123f3f;
    border-color: #123f3f;
}

/*updates*/
.panel{background:#fff;border:1px solid var(--borde);border-radius:.5rem}
.panel-aviso{border-left:4px solid var(--ocre)}
.paso-n{width:2rem;height:2rem;border-radius:50%;background:var(--petroleo);color:#fff;
        display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.etiqueta{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--petroleo)}
.badge-ver{background:var(--petroleo);color:#fff}
.badge-ok{background:var(--petroleo-oscuro);color:#fff}
.badge-nueva{background:var(--ocre);color:var(--negro)}



/* seccion informacion para seo
:root { --ff-rojo: #ed1c24; }

/* Fondos de sección */
.seccion-info { background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%); }
#preguntas-frecuentes { background: #f6f7f9; }

/* Títulos con subrayado rojo */
.seccion-info h2::after,
#preguntas-frecuentes > .container > h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: .5rem;
  border-radius: 2px;
  background: var(--ff-rojo);
}
#preguntas-frecuentes > .container > h2::after { margin-inline: auto; }

/* Cards */
.seccion-info .card,
#preguntas-frecuentes .card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.seccion-info .card::after,
#preguntas-frecuentes .card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--ff-rojo);
}
.seccion-info .card:hover,
#preguntas-frecuentes .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .12) !important;
}

/* FAQ numeradas */
#preguntas-frecuentes .row.g-4 { counter-reset: faq; }
#preguntas-frecuentes .card { counter-increment: faq; }
#preguntas-frecuentes .card::before {
  content: counter(faq, decimal-leading-zero);
  position: absolute;
  top: .75rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(237, 28, 36, .12);
}
#preguntas-frecuentes .card h3 { padding-right: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  .seccion-info .card,
  #preguntas-frecuentes .card { transition: none; }
  .seccion-info .card:hover,
  #preguntas-frecuentes .card:hover { transform: none; }
}
  /* FIRMA LEGAL */
.firma-legal {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 32px;
    margin: 25px auto;
    border: 1px solid var(--borde);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(23, 76, 76, .06);
}

/* Semicírculos decorativos */
.firma-legal::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    top: -280px;
    right: -120px;
    border-radius: 50%;
    border: 65px solid rgba(150, 125, 90, .07);
    background: transparent;
}

.firma-legal::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 380px;
    height: 380px;
    bottom: -280px;
    left: -130px;
    border-radius: 50%;
    border: 60px solid rgba(181, 42, 47, .045);
    background: transparent;
}

.firma-legal-header {
    position: relative;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--borde);
}

.firma-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    color: var(--rojo);
    background: rgba(181, 42, 47, .07);
    border: 1px solid rgba(181, 42, 47, .16);
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.firma-legal-header h2 {
    position: relative;
    padding-left: 14px;
}

.firma-legal-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 4px;
    background: var(--rojo);
}

.firma-legal-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(23, 76, 76, .10);
    border-radius: 13px;
    transition: all .25s ease;
}

.firma-legal-item:hover {
    transform: translateY(-3px);
    border-color: rgba(181, 42, 47, .35);
    box-shadow: 0 7px 18px rgba(32, 32, 30, .06);
}

.firma-legal-item > i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: var(--rojo);
    background: rgba(181, 42, 47, .07);
    border: 1px solid rgba(181, 42, 47, .12);
    border-radius: 12px;
    font-size: 23px;
}

.firma-legal-item strong {
    display: block;
    margin-bottom: 7px;
    color: var(--petroleo);
    font-size: .98rem;
}

.firma-legal-item p {
    margin: 0;
    color: #686d6b;
    font-size: .88rem;
    line-height: 1.65;
}

@media (max-width: 576px) {
    .firma-legal {
        padding: 22px 16px;
    }

    .firma-legal-item {
        padding: 15px;
    }
}
.firma-info-card,
.firma-paso {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.firma-info-card:hover,
.firma-paso:hover {
    transform: translateY(-5px);
    border-color: rgba(181, 42, 47, 0.45);
    box-shadow: 0 12px 28px rgba(22, 62, 86, 0.12);
}
.firma-info-card i,
.firma-paso i {
    transition: transform 0.3s ease;
}

.firma-info-card:hover i,
.firma-paso:hover i {
    transform: scale(1.12);
}
 /* Cards informativas y preguntas frecuentes */
.seccion-info .card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    background: rgba(255, 252, 244, 0.75);
    border: 1px solid var(--borde) !important;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(22, 62, 86, 0.045) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Semicírculo decorativo */
.seccion-info .card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    top: -95px;
    right: -65px;
    border: 22px solid rgba(22, 62, 86, 0.055);
    border-radius: 50%;
    pointer-events: none;
}

/* Acento rojo */
.seccion-info .card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 38px;
    height: 3px;
    background: var(--rojo);
    border-radius: 0 0 4px 4px;
}

.seccion-info .card:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 42, 47, 0.35) !important;
    box-shadow: 0 12px 25px rgba(22, 62, 86, 0.09) !important;
}

/* Títulos */
.seccion-info .card h2,
.seccion-info .card h3 {
    color: var(--petroleo);
    font-weight: 650;
    letter-spacing: -0.3px;
}

/* Texto */
.seccion-info .card p {
    color: #55534e;
    line-height: 1.75;
    font-size: 0.96rem;
}

/* Enlaces */
.seccion-info .card a {
    color: var(--rojo);
    font-weight: 600;
    text-decoration: none;
}

.seccion-info .card a:hover {
    text-decoration: underline;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .seccion-info .card {
        transition: none;
    }

    .seccion-info .card:hover {
        transform: none;
    }
}