* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-secondary);
    background: #fff;
    line-height: 1.6;
}

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

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

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-light {
    background: var(--color-light);
}

.section-dark {
    background: var(--color-dark);
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.section-dark .eyebrow {
    color: var(--color-accent);
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

h1, h2 {
    letter-spacing: -.04em;
    line-height: 1.02;
}

h1 {
    font-size: clamp(46px, 7vw, 92px);
    max-width: 880px;
}

h2 {
    font-size: clamp(34px, 4vw, 58px);
}

h3 {
    font-size: 22px;
    line-height: 1.15;
}

p {
    color: var(--color-muted);
}

.section-dark p {
    color: rgba(255,255,255,.72);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-accent);
    color: #111;
}

.btn-outline {
    border-color: rgba(255,255,255,.35);
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}

.btn-outline.dark {
    border-color: rgba(17,17,17,.18);
    color: var(--color-dark);
    background: transparent;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(17,17,17,.92);
    box-shadow: 0 14px 40px rgba(0,0,0,.16);
    backdrop-filter: blur(16px);
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 900;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #111;
    font-size: 13px;
    font-weight: 900;
}

.brand-text {
    font-weight: 900;
    letter-spacing: -.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.nav-cta {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #111;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -10% 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.35), rgba(0,0,0,.10)),
        url('../img/hero/hero-punto-ceramico.png') center/cover no-repeat;
    transform: translate3d(0, 0, 0) scale(1.12);
    will-change: transform;
    z-index: -1;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 52px;
    align-items: end;
    padding: 140px 0 70px;
}

.hero-content p {
    color: rgba(255,255,255,.78);
    max-width: 650px;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.hero-meta span {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.hero-card {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-card-image {
    height: 320px;
    background: url('../img/hero/hero-card.jpg') center/cover no-repeat;
}

.hero-card-content {
    padding: 28px;
}

.hero-card h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.hero-card p {
    color: rgba(255,255,255,.72);
    margin-bottom: 0;
}

.hero-centered {
    position: relative;
    text-align: center;
    max-width: 920px;
}

.hero-video-bg,
.hero-video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video-bg {
    object-fit: cover;
}

.hero-video-overlay {
    background: rgba(0,0,0,.62);
}

.intro-grid,
.showroom-grid,
.contact-grid,
.faq-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.section-title {
    max-width: 760px;
    margin-bottom: 44px;
}

.section-title p {
    font-size: 18px;
}

.cards-grid,
.brand-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card,
.brand-card,
.benefits-grid article {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.card-media {
    min-height: 240px;
    background: #ddd center/cover no-repeat;
}

.card-content {
    padding: 26px;
}

.card-content a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--color-primary);
    font-weight: 800;
}

.ambient-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ambient-card {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;

    background-color: #ddd;
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
}

.brand-card {
    padding: 28px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: none;
}

.brand-card-name {
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 900;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-auto-rows: 230px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), #ddd center/cover no-repeat;
    cursor: pointer;
}

.gallery-item:nth-child(1) { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), url('../img/galeria/galeria-1.jpg'); }
.gallery-item:nth-child(2) { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), url('../img/galeria/galeria-2.jpg'); }
.gallery-item:nth-child(3) { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), url('../img/galeria/galeria-3.jpg'); }
.gallery-item:nth-child(4) { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), url('../img/galeria/galeria-4.jpg'); }
.gallery-item:nth-child(5) { background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5)), url('../img/galeria/galeria-5.jpg'); }

.gallery-item span {
    position: absolute;
    left: 22px;
    bottom: 18px;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
}

.item-large {
    grid-row: span 2;
}

.showroom-section {
    background: #fff;
}

.showroom-image {
    min-height: 540px;
    border-radius: var(--radius);
    background: url('../img/showroom/showroom-punto-ceramico.jpg') center/cover no-repeat, var(--color-light);
    box-shadow: var(--shadow);
}

.info-list {
    display: grid;
    gap: 18px;
    margin: 30px 0;
}

.info-list div {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}

.info-list strong,
.info-list span {
    display: block;
}

.info-list strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--color-primary);
}

.benefits-grid article {
    padding: 30px;
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.benefits-grid span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--color-accent);
    font-weight: 900;
}

.cta-band {
    padding: 70px 0;
    background: var(--color-light);
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--color-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(17,17,17,.14);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
}

textarea {
    resize: vertical;
}

.hp-field {
    display: none;
}

.form-status {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 20px 24px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

details p {
    margin: 14px 0 0;
}

.site-footer {
    background: var(--color-dark);
    color: #fff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,.72);
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.whatsapp-floating {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 999px;
    background: #25D366;
    color: #111;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

/* Ajuste tipográfico premium */
h1,
.hero h1,
.hero-content h1,
.hero-copy h1,
section h1 {
    font-weight: 400 !important;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

h2,
.section-title,
.section-heading h2 {
    font-weight: 500 !important;
    letter-spacing: -0.03em;
}

h3,
.card h3,
.category-card h3,
.brand-card h3 {
    font-weight: 500 !important;
}

p,
.hero p,
.section-text {
    font-weight: 400;
}

/* Tamaño del título principal del hero */
.hero h1,
.hero-content h1,
.hero-copy h1,
section.hero h1 {
    font-size: clamp(3rem, 4vw, 4.2rem) !important;
}

/* Ajuste parallax hero Punto Cerámico */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -4% 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.45), rgba(0,0,0,.18)),
        url('../img/hero/hero-punto-ceramico.png') center/cover no-repeat;
    transform: translate3d(0, 0, 0) scale(1.04);
    will-change: transform;
    z-index: -1;
}

/* Forzar texto claro en el hero */
.hero,
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero .eyebrow,
.hero .lead {
    color: #ffffff !important;
}

.hero h1 {
    opacity: 1 !important;
}
/* Centrar verticalmente bloque introductorio */
.intro-grid,
.intro-content,
.section-intro .container,
.home-intro .container {
    align-items: center !important;
}

@media (max-width: 768px) {
    .section-intro .container,
    .home-intro .container,
    .intro-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.map-section {
    padding: 80px 20px;
    background: #fff;
}

.map-container {
    max-width: 1180px;
    margin: 0 auto;
}

.map-section .section-kicker {
    margin-bottom: 10px;
    color: #a17843;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.map-section h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.map-section p {
    max-width: 620px;
    margin: 0 0 32px;
    color: #555;
    font-size: 16px;
}

.map-frame {
    width: 100%;
    height: 430px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .map-section {
        padding: 56px 16px;
    }

    .map-frame {
        height: 360px;
        border-radius: 20px;
    }
}


