
/* =========================================
   OBSIDIAN DETAILING
   Diseño web — Vanto Digital
========================================= */

:root {
    --bg: #090909;
    --surface: #121212;
    --surface-light: #191919;
    --gold: #c5aa78;
    --gold-light: #e2cda5;
    --white: #f4f4f4;
    --muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.09);
    --font-main: 'Manrope', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.7;
}

body, button, input, select, textarea {
    font-family: var(--font-main);
}

::selection {
    background: var(--gold);
    color: #090909;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(90%, 1320px);
    margin: 0 auto;
}

.section {
    padding: 115px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.12;
}

h2 {
    font-size: clamp(36px, 4.7vw, 68px);
    font-weight: 600;
    letter-spacing: -0.045em;
}

h2 span {
    color: var(--gold);
}

p {
    color: var(--muted);
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin-bottom: 22px;
}

.section-header {
    max-width: 780px;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 580px;
    margin-top: 20px;
    font-size: 16px;
}

/* DEMOSTRACIÓN */

.demo-banner {
    text-align: center;
    background: #1c1914;
    border-bottom: 1px solid #403729;
    color: var(--gold);
    padding: 7px 15px;
    font-size: 10px;
    letter-spacing: 0.13em;
}

/* NAVEGACIÓN */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 9, 9, 0.91);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
    gap: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-symbol {
    color: var(--gold);
    font-size: 43px;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1;
}

.logo-text small {
    display: block;
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.42em;
    color: var(--muted);
    margin-top: 7px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

.nav a {
    color: #c5c5c5;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
}

/* BOTONES */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 53px;
    padding: 14px 27px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--gold);
    color: #101010;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(197, 170, 120, 0.17);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.nav-cta {
    min-height: 43px;
    padding: 10px 19px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    margin: 6px 0;
    transition: transform 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* PORTADA */

.hero {
    position: relative;
    min-height: 83vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;

    background-color: #191919;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.52) 50%,
            rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(0deg,
            rgba(0, 0, 0, 0.85),
            transparent 45%);
}

.hero-content {
    position: relative;
    padding-top: 80px;
    padding-bottom: 120px;
}

.hero h1 {
    max-width: 1000px;
    font-size: clamp(48px, 7.4vw, 110px);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 1.02;
}

.hero h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: clamp(15px, 1.3vw, 19px);
    max-width: 480px;
    color: #c4c4c4;
    margin: 28px 0 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-bottom {
    position: absolute;
    bottom: 26px;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b0b0b0;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.scroll-indicator {
    color: var(--gold);
    font-size: 12px;
}

/* VALORES */

.trust-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 35px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    padding: 12px 28px;
    border-right: 1px solid var(--border);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item span {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.trust-item h3 {
    font-size: 18px;
    margin: 9px 0;
}

.trust-item p {
    font-size: 12px;
}

/* SERVICIOS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.35s ease,
                border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold);
}

.service-image {
    height: 225px;
    position: relative;
    background-color: #242424;
    background-size: cover;
    background-position: center;
}

.exterior {
    background-image: url('images/exterior.webp');
}

.interior {
    background-image: url('images/interior.webp');
}

.correction {
    background-image: url('images/correction.webp');
}

.ceramic {
    background-image: url('images/ceramic.webp');
}

.service-number {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 12px;
    background: rgba(9, 9, 9, 0.8);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.15em;
}

.service-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 23px;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.service-info p {
    font-size: 13px;
    margin-bottom: 25px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

.service-footer > span {
    color: var(--muted);
    font-size: 11px;
}

.service-footer strong {
    color: var(--white);
    font-size: 21px;
}

.service-link {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
}

.service-link:hover {
    color: var(--gold-light);
}

.demo-note {
    font-size: 11px;
    color: #929292;
    margin-top: 23px;
}

/* SOBRE NOSOTROS */

.about {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image {
    min-height: 540px;
    background-color: #242424;
    background-image: url('images/about.webp');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
}

.about-content p {
    font-size: 15px;
    margin-top: 23px;
}

.about-list {
    list-style: none;
    margin: 28px 0 34px;
}

.about-list li {
    padding: 10px 0;
    color: #d1d1d1;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.about-list li::before {
    content: '✓';
    color: var(--gold);
    margin-right: 14px;
}

/* GALERÍA */

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-auto-rows: 330px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    background-color: #242424;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: var(--white);
    text-align: left;
    isolation: isolate;
    transition: border-color 0.3s ease;
}

.gallery-item::before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(
        transparent 35%,
        rgba(0, 0, 0, 0.85)
    );
    z-index: -1;
}

.gallery-item::after {
    content: '↗';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold);
    font-size: 22px;
}

.gallery-item:hover {
    border-color: var(--gold);
}

.gallery-1 {
    background-image: url('images/gallery-1.webp');
}

.gallery-2 {
    background-image: url('images/gallery-2.webp');
}

.gallery-3 {
    background-image: url('images/gallery-3.webp');
}

.gallery-4 {
    background-image: url('images/gallery-4.webp');
}

.gallery-caption {
    position: absolute;
    bottom: 28px;
    left: 28px;
}

.gallery-caption h3 {
    font-size: 28px;
}

.gallery-caption span {
    display: block;
    margin-top: 8px;
    color: var(--gold);
    font-size: 12px;
}

/* PROCESO */

.process {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.process-card {
    padding: 35px;
    border: 1px solid var(--border);
    background: var(--bg);
}

.process-number {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 30px;
}

.process-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.process-card p {
    font-size: 14px;
}

/* PRESUPUESTO */

.quote-section {
    position: relative;
    background: radial-gradient(
        ellipse at 0% 100%,
        #211b12 0%,
        #090909 50%
    );
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.quote-content > p {
    font-size: 17px;
    max-width: 460px;
    margin-top: 25px;
}

.quote-benefits {
    margin-top: 35px;
}

.quote-benefits p {
    color: var(--gold-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.quote-form {
    padding: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.quote-form h3 {
    font-size: 29px;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    min-width: 0;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #d4d4d4;
    margin-bottom: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #090909;
    color: var(--white);
    border: 1px solid #303030;
    border-radius: 3px;
    padding: 14px;
    font-size: 13px;
    outline: none;
    color-scheme: dark;
    transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #777;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 10px;
    text-align: center;
    margin-top: 15px;
    color: #929292;
}

.form-success {
    margin-top: 18px;
    background: rgba(72, 172, 111, 0.1);
    border: 1px solid rgba(72, 172, 111, 0.4);
    color: #91d6ac;
    padding: 15px;
    font-size: 13px;
}

/* PREGUNTAS FRECUENTES */

.faq {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.faq-list details {
    border-bottom: 1px solid var(--border);
}

.faq-list summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 24px 40px 24px 0;
    font-size: 16px;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    position: absolute;
    top: 20px;
    right: 0;
    font-size: 24px;
    color: var(--gold);
}

.faq-list details[open] summary::after {
    content: '−';
}

.faq-list details[open] summary {
    color: var(--gold);
}

.faq-list details p {
    font-size: 14px;
    line-height: 1.8;
    padding: 0 25px 25px 0;
}

/* CONTACTO */

.contact {
    text-align: center;
    padding: 140px 0;
    border-top: 1px solid var(--border);
    background: radial-gradient(
        ellipse at 50% 100%,
        #272015 0%,
        #090909 60%
    );
}

.contact h2 {
    font-size: clamp(46px, 7vw, 100px);
}

.contact p {
    margin-top: 25px;
    font-size: 17px;
}

.contact .btn {
    margin-top: 35px;
}

/* PIE DE PÁGINA */

.footer {
    padding: 65px 0 25px;
    border-top: 1px solid var(--border);
    background: #080808;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 45px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 11px;
    color: var(--muted);
}

.footer-bottom strong {
    color: var(--gold);
    font-size: 15px;
}

/* VISOR DE IMÁGENES */

.lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(90vw, 1200px);
    max-width: 90vw;
    max-height: 90vh;
    border: 1px solid var(--border);
    background: #090909;
    padding: 0;
    color: var(--white);
    overflow: hidden;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
}

.lightbox img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #090909;
    color: var(--white);
    border: 1px solid var(--border);
    width: 45px;
    height: 45px;
    font-size: 28px;
    z-index: 1;
}

/* VOLVER ARRIBA */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--gold);
    color: #090909;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 700;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ANIMACIONES */

.hero-content {
    animation: heroEntrance 0.9s ease both;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease,
                transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 1100px) {

    .nav {
        gap: 18px;
    }

    .nav-cta {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .quote-grid {
        gap: 40px;
    }

    .section {
        padding: 85px 0;
    }

    .about-image {
        min-height: 480px;
    }

    .gallery-grid {
        grid-auto-rows: 280px;
    }

}

/* MÓVIL */

@media (max-width: 760px) {

    html {
        scroll-padding-top: 85px;
    }

    .container {
        width: 90%;
    }

    .section {
        padding: 70px 0;
    }

    .nav-container {
        min-height: 70px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-symbol {
        font-size: 36px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 25px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #101010;
        border-bottom: 1px solid var(--border);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    .hero {
        min-height: 78vh;
        background-position: 62% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.80),
            rgba(0, 0, 0, 0.35)
        );
    }

    .hero h1 {
        font-size: clamp(43px, 10vw, 68px);
        letter-spacing: -0.055em;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 105px;
    }

    .hero-content p {
        margin: 24px 0 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 380px;
    }

    .hero-bottom {
        font-size: 8px;
        gap: 10px;
    }

    .scroll-indicator {
        font-size: 10px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        padding: 18px 10px;
    }

    .trust-item:first-child {
        padding-left: 10px;
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .trust-item h3 {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-image {
        height: 260px;
    }

    .service-info {
        padding: 24px;
    }

    .about-grid,
    .quote-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        min-height: 340px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 270px;
    }

    .gallery-caption {
        bottom: 20px;
        left: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 28px;
    }

    .process-number {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .quote-form {
        padding: 25px 20px;
    }

    .quote-form h3 {
        font-size: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
    }

    .faq-list summary {
        font-size: 14px;
    }

    .contact {
        padding: 90px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* RETOQUES FINALES */

.hero-overlay {
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.40) 50%,
            rgba(0, 0, 0, 0.04) 100%),
        linear-gradient(0deg,
            rgba(0, 0, 0, 0.65),
            transparent 45%);
}

.section {
    padding: 95px 0;
}

.footer-bottom strong {
    color: #8B7AFF;
    font-size: 19px;
    letter-spacing: -0.05em;
}

@media (max-width: 760px) {
    .section {
        padding: 55px 0;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.60);
    }

    .service-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .back-to-top {
        bottom: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}
/* OPTIMIZACIÓN DE CARGA INICIAL */

.hero-content {
    animation: none;
}
/* CORRECCIÓN DE ACCESIBILIDAD */

.trust-item h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: normal;
    margin: 9px 0;
}

.footer-links h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 8px;
}

@media (max-width: 760px) {
    .trust-item h2 {
        font-size: 16px;
    }
}