@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

.jd-home {
    --jd-red: #b4343e;
    --jd-red-hover: #942631;
    --jd-ink: #151619;
    --jd-muted: #555860;
    color: var(--jd-ink);
    background: #fff;
    font-family: Inter, system-ui, sans-serif;
}

.jd-home h1, .jd-home h2, .jd-home h3 {
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    font-weight: 700;
    line-height: 1;
}
.jd-home h2 { font-size: clamp(2.35rem, 5vw, 3.8rem); margin-bottom: .7rem; }
.jd-home p { line-height: 1.65; }
.jd-container { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.jd-header { color: #fff; background: #121316; border-bottom: 1px solid #35363a; }
.jd-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.jd-brand, .jd-nav-links { display: flex; align-items: center; gap: 1.1rem; }
.jd-brand, .jd-nav-links a { color: inherit; text-decoration: none; font-weight: 600; }
.jd-brand img { object-fit: contain; }
.jd-nav-links a:hover, .jd-brand:hover { color: #ffabb1; }

.jd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: .65rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .35rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.25;
}
.jd-button-primary { color: #fff; background: var(--jd-red); }
.jd-button-primary:hover { color: #fff; background: var(--jd-red-hover); }
.jd-button-outline { color: #fff; background: #17181bc9; border-color: #a0a1a5; }
.jd-button-outline:hover { background: #34353a; }
.jd-home :focus-visible { outline: 3px solid #397eef; outline-offset: 3px; }

.jd-hero {
    display: grid;
    align-items: center;
    min-height: clamp(29rem, 44vw, 42rem);
    color: #fff;
    background: linear-gradient(90deg, #101114 12%, #101114f0 36%, #10111438 82%), url('../images/foto2.png') center 46% / cover;
    border-bottom: 4px solid var(--jd-red);
}
.jd-hero-content { padding-block: 4rem; }
.jd-location { color: #f0c4c7; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; font-size: .8rem; }
.jd-hero h1 { font-size: clamp(3.45rem, 7.9vw, 7rem); max-width: 10ch; text-transform: uppercase; }
.jd-hero h1 span { display: block; color: #ff989f; }
.jd-hero-copy { max-width: 34rem; color: #f3f3f4; margin-block: 1.15rem 1.6rem; }
.jd-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.jd-services { padding-block: 3.1rem; background: #f6f5f5; border-bottom: 1px solid #e9e4e4; }
.jd-service-grid, .jd-gallery, .jd-contact-grid { display: grid; gap: 1.25rem; }
.jd-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.45rem; }
.jd-service-grid article {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid #e9e4e4;
    border-radius: .5rem;
}
.jd-service-grid img { object-fit: contain; }
.jd-service-grid h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.jd-service-grid p { margin: 0; color: var(--jd-muted); }

.jd-process, .jd-work, .jd-contact { padding-block: clamp(3rem, 7vw, 6rem); }
.jd-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 5vw, 5rem); }
.jd-feature + .jd-feature { margin-top: clamp(2.75rem, 6vw, 5rem); }
.jd-feature-reverse img { order: 2; }
.jd-feature img, .jd-map iframe { display: block; width: 100%; border-radius: .5rem; }
.jd-feature img { aspect-ratio: 16 / 9; object-fit: cover; }
.jd-feature p, .jd-contact p { color: var(--jd-muted); }
.jd-text-link { color: #9d2832; font-weight: 700; text-underline-offset: .2em; }
.jd-text-link:hover { color: #751621; }

.jd-work { color: #fff; background: #17181b; }
.jd-work p { color: #d4d4d8; }
.jd-gallery, .jd-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jd-gallery figure { margin: 0; overflow: hidden; border-radius: .5rem; border: 1px solid #4d4d53; }
.jd-gallery img { display: block; width: 100%; height: auto; }
.jd-reviews { padding-block: clamp(3rem, 7vw, 6rem); background: #fff; }
.jd-reviews-heading { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-bottom: 1.7rem; }
.jd-reviews-label { color: var(--jd-red); font-size: .8rem; font-weight: 700; letter-spacing: .12em; }
.jd-reviews-heading > div > p:last-child { color: var(--jd-muted); }
.jd-reviews-rating { display: flex; flex-direction: column; flex-shrink: 0; border-left: 3px solid var(--jd-red); padding-left: 1.3rem; }
.jd-reviews-score { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.jd-reviews-score small { font-size: 1rem; color: var(--jd-muted); }
.jd-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.jd-review-card { margin: 0; padding: 1.6rem; background: #faf8f8; border: 1px solid #e9e4e4; border-radius: .5rem; display: flex; flex-direction: column; }
.jd-review-stars { color: #926100; letter-spacing: .15em; margin-bottom: 1rem; }
.jd-review-card blockquote { flex: 1; font-size: 1.08rem; }
.jd-review-card figcaption { display: flex; flex-direction: column; gap: .3rem; border-top: 1px solid #e9e4e4; padding-top: 1rem; }
.jd-review-card figcaption span, .jd-reviews-footer p { color: var(--jd-muted); font-size: .8rem; }
.jd-reviews-footer { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 1.5rem; }
.jd-reviews-footer p { margin: 0; }
.jd-contact { background: #f6f5f5; }
.jd-contact-grid { gap: clamp(1.3rem, 4vw, 3rem); align-items: start; }
.jd-form, .jd-map {
    min-width: 0;
    background: #fff;
    padding: clamp(1.15rem, 3vw, 2rem);
    border: 1px solid #ebe4e4;
    border-radius: .5rem;
}
.jd-form label { font-weight: 600; margin-block: .7rem .25rem; }
.jd-form .form-control { min-height: 2.7rem; }
.jd-form .text-center { text-align: left !important; }
.jd-map iframe { height: 25rem; }
main:has(.jd-home) { padding-bottom: 0 !important; }
body:has(.jd-home) { margin-bottom: 0; }
body:has(.jd-home) .row-pie { margin-inline: 0; }

@media (max-width: 767px) {
    .jd-reviews-heading { flex-direction: column; align-items: flex-start; }
    .jd-reviews-grid { grid-template-columns: minmax(0, 1fr); }
    .jd-nav { flex-wrap: wrap; }
    .jd-nav-links { order: 3; flex-basis: 100%; flex-wrap: wrap; padding-bottom: .35rem; }
    .jd-hero { background-position: 60% center; }
    .jd-service-grid, .jd-feature, .jd-gallery, .jd-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .jd-feature-reverse img { order: 0; }
    .jd-map iframe { height: 17rem; }
}

.jd-standox { background: #17181b; color: #fff; padding-block: clamp(3rem, 7vw, 6rem); border-top: 4px solid var(--jd-red); }
.jd-standox-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,5vw,5rem); }
.jd-standox-label { color: #ffabb1; font-size: .875rem; font-weight: 700; letter-spacing: .09em; }
.jd-standox h2 { font-size: clamp(2.6rem,5vw,4.6rem); margin-bottom: 1.4rem; }
.jd-standox h2 span { color: #ffabb1; }
.jd-standox-intro > p:not(.jd-standox-label) { color: #e1e1e5; max-width: 40rem; }
.jd-standox-intro .jd-standox-lead { font-size: 1.2rem; font-weight: 600; }
.jd-standox-intro .jd-button { margin-top: .8rem; }
.jd-standox-detail { background: #fff; color: #17181b; padding: clamp(1.5rem,3vw,2.5rem); border-radius: .5rem; border-top: 5px solid #0768a6; }
.jd-standox-brand { color: #0768a6; font-size: 1.7rem; font-weight: 700; margin-bottom: 1.6rem; }
.jd-standox-brand span { display: block; color: #555860; font-size: .875rem; font-weight: 500; }
.jd-standox-detail h3 { font-size: clamp(2rem,3vw,3rem); margin-bottom: 1rem; }
.jd-standox-detail > p:not(.jd-standox-brand) { color: #555860; }
.jd-standox-points > div { display: grid; gap: .35rem; padding-block: 1rem; border-top: 1px solid #e5e5e9; }
.jd-standox-points strong { color: #972b35; }
.jd-standox-points span { color: #555860; line-height: 1.6; }
@media (max-width: 767px) { .jd-standox-grid { grid-template-columns: minmax(0,1fr); } }
.jd-hero-carousel { display: block; position: relative; background: #101114; min-height: 0; }
.jd-hero-slides { display: grid; }
.jd-hero-slide { grid-area: 1 / 1; display: grid; align-items: center; min-height: clamp(34rem,48vw,46rem); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .65s ease, visibility .65s; }
.jd-hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.jd-hero-slide-original { background: linear-gradient(90deg,#101114 12%,#101114f0 36%,#10111438 82%),url('../images/foto2.png') center 46% / cover; }
.jd-hero-slide-standox { background: linear-gradient(90deg,#101114f5 0%,#101114e6 35%,#10111455 78%),url('../images/standox-mezcla.jpg') center / cover; }
.jd-hero-slide .jd-hero-content { padding-block: 3.5rem 6rem; }
.jd-hero-slide-standox h2 { font-size: clamp(3.2rem,6.2vw,5.8rem); max-width: 14ch; text-transform: uppercase; }
.jd-hero-slide-standox h2 span { color: #ff989f; }
.jd-hero-credit { font-size: .8rem; color: #d8d9dd; margin-top: 1.25rem; }
.jd-hero-controls { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; flex-wrap: wrap; }
.jd-hero-controls button { border: 1px solid #b1b1b8; border-radius: .3rem; background: #151619e8; color: #fff; padding: .55rem .9rem; min-height: 44px; font-size: .875rem; font-weight: 600; }
.jd-hero-controls button.is-active { background: var(--jd-red); border-color: var(--jd-red); }
@media (max-width: 767px) {
    .jd-hero-slide { min-height: 42rem; }
    .jd-hero-slide-original { background-position: 60% center; }
    .jd-hero-slide-standox { background-position: 58% center; }
    .jd-hero-slide h1 { font-size: clamp(3rem,11vw,4.5rem); }
    .jd-hero-slide-standox h2 { font-size: clamp(2.9rem,10vw,4rem); }
    .jd-hero-slide .jd-hero-content { padding-block: 2.5rem 7rem; }
}
@media (prefers-reduced-motion: reduce) { .jd-hero-slide { transition: none; } }
.jd-standox-editorial { background: #fff; color: #17181b; border-top: 0; padding-block: clamp(3rem,7vw,6rem); }
.jd-standox-editorial-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(2rem,5vw,5rem); }
.jd-standox-editorial .jd-standox-label { color: #9b2934; font-size: .875rem; letter-spacing: .08em; }
.jd-standox-editorial h2 { font-size: clamp(2.8rem,5vw,4.8rem); letter-spacing: -.02em; }
.jd-standox-editorial h2 span { color: var(--jd-red); }
.jd-standox-editorial .jd-standox-intro > p:not(.jd-standox-label) { color: #555860; }
.jd-standox-editorial .jd-standox-intro > .jd-standox-lead { color: #17181b; font-size: 1.2rem; line-height: 1.5; }
.jd-standox-benefits { border-top: 1px solid #dedee2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: 1.7rem; padding-top: 1.3rem; }
.jd-standox-benefits strong { display: block; color: #17181b; margin-bottom: .5rem; }
.jd-standox-benefits span { color: #555860; line-height: 1.6; font-size: .95rem; }
.jd-standox-photo { position: relative; margin: 0; padding-bottom: 1.75rem; }
.jd-standox-photo img { width: 100%; height: clamp(28rem,43vw,38rem); display: block; object-fit: cover; object-position: 63% center; border-radius: .4rem; }
.jd-standox-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1.75rem; height: 55%; border-radius: 0 0 .4rem .4rem; background: linear-gradient(transparent,#101114ed); pointer-events: none; }
.jd-standox-photo-caption { position: absolute; z-index: 1; left: 2rem; right: 1.5rem; bottom: 3.75rem; color: #fff; }
.jd-standox-photo-caption span { display: inline-block; padding: .4rem .7rem; border-left: 3px solid #399edf; font-weight: 700; font-size: .875rem; letter-spacing: .14em; margin-bottom: 1rem; }
.jd-standox-photo-caption strong { display: block; font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: clamp(2rem,3vw,3rem); line-height: 1.05; }
.jd-standox-photo figcaption { position: absolute; bottom: 0; font-size: .8rem; color: #60636a; }
.jd-hero-slide .jd-hero-content { padding-block: 3.5rem; }
.jd-hero-pause:focus { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; background: #fff; color: #17181b; padding: .6rem 1rem; }
@media (max-width: 767px) {
    .jd-standox-editorial-grid { grid-template-columns: minmax(0,1fr); }
    .jd-standox-photo img { height: 29rem; }
    .jd-standox-benefits { gap: 1rem; }
    .jd-hero-slide .jd-hero-content { padding-block: 3rem; }
}
@media (max-width: 380px) { .jd-standox-benefits { grid-template-columns: 1fr; } }
.jd-repair-case { margin-block: 2rem 3rem; }
.jd-repair-heading { margin-bottom: 1.4rem; }
.jd-repair-heading p:first-child { color: #ffabb1; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.jd-repair-heading h3 { font-size: clamp(1.8rem,3vw,2.8rem); }
.jd-repair-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.jd-repair-pair figure { margin: 0; border: 1px solid #484950; border-radius: .5rem; overflow: hidden; background: #101114; }
.jd-repair-pair figcaption { font-size: 1rem; font-weight: 700; padding: .8rem 1rem; background: #292a30; }
.jd-repair-pair figure:last-child figcaption { background: var(--jd-red); }
.jd-repair-pair img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.jd-repair-details { margin-top: 1rem; border: 1px solid #484950; border-radius: .4rem; }
.jd-repair-details summary { padding: 1rem; cursor: pointer; font-weight: 600; }
.jd-repair-extra { padding: 1rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.jd-repair-extra figure { margin: 0; }
.jd-repair-extra img { width: 100%; height: 24rem; object-fit: contain; display: block; background: #101114; }
.jd-repair-extra figcaption { padding-top: .7rem; font-size: .875rem; color: #d4d4d8; }
@media(max-width: 600px) { .jd-repair-pair, .jd-repair-extra { grid-template-columns: minmax(0,1fr); } }