/* ==========================================================================
   iPhone Repair detail page
   Uses the existing JD Phones colour, type, button, header and footer system.
   ========================================================================== */

.iphone-repair-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 7%, rgba(255, 59, 10, .07), transparent 20%),
        radial-gradient(circle at 8% 46%, rgba(255, 59, 10, .035), transparent 22%),
        var(--ink);
}

.iphone-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 28px;
    color: #78859b;
    font-size: .75rem;
    font-weight: 650;
}

.iphone-breadcrumb a { transition: color .2s ease; }
.iphone-breadcrumb a:hover { color: var(--orange); }
.iphone-breadcrumb strong { color: #d7dce5; font-weight: 700; }

.iphone-hero {
    position: relative;
    display: grid;
    min-height: 650px;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    align-items: center;
    gap: clamp(44px, 6vw, 88px);
    margin-top: 24px;
    padding: clamp(48px, 6vw, 82px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 30px;
    background: var(--panel);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035);
    isolation: isolate;
}

.iphone-hero::before {
    display: none;
}

.iphone-hero-copy { position: relative; z-index: 3; max-width: 720px; }

.iphone-eyebrow,
.iphone-section-heading > span,
.iphone-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-size: .72rem;
    font-weight: 820;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.iphone-eyebrow::before,
.iphone-section-heading > span::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: var(--orange);
    box-shadow: 0 0 16px rgba(255, 59, 10, .5);
}

.iphone-hero h1 {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: clamp(3rem, 4.5vw, 5.25rem);
    font-weight: 820;
    line-height: .98;
    letter-spacing: -.065em;
}

.iphone-hero h1 span { color: var(--orange); }

.iphone-hero-copy > p {
    max-width: 660px;
    margin: 26px 0 0;
    color: #b9c1cf;
    font-size: clamp(1rem, .94rem + .24vw, 1.18rem);
    line-height: 1.7;
}

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

.iphone-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin: 28px 0 0;
    padding: 0;
    color: #d8dde6;
    font-size: .78rem;
    font-weight: 650;
    list-style: none;
}

.iphone-trust-list li { display: flex; align-items: center; gap: 8px; }
.iphone-trust-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 12px rgba(255, 59, 10, .55);
}

.iphone-hero-visual {
    position: relative;
    display: grid;
    min-height: 510px;
    place-items: center;
}

.iphone-hero-visual img {
    position: relative;
    z-index: 4;
    width: min(56%, 300px);
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 40px 38px rgba(0, 0, 0, .52));
    animation: iphone-detail-float 5.4s ease-in-out infinite;
}

.iphone-device-halo {
    display: none;
}

.iphone-visual-orbit {
    display: none;
}
.iphone-visual-orbit-one { width: 350px; height: 350px; }
.iphone-visual-orbit-two { width: 460px; height: 260px; border-color: rgba(255, 59, 10, .12); }

.iphone-float-card {
    position: absolute;
    z-index: 6;
    min-width: 165px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(10, 24, 49, .86);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
}
.iphone-float-card span { display: block; color: #8490a5; font-size: .66rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.iphone-float-card strong { display: block; margin-top: 4px; color: #fff; font-size: .9rem; font-weight: 780; }
.iphone-float-card-time { top: 18%; left: 0; }
.iphone-float-card-care { right: 0; bottom: 21%; }

.iphone-hero-status {
    position: absolute;
    z-index: 7;
    right: 50%;
    bottom: 2%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 99px;
    background: rgba(3, 12, 29, .72);
    color: #aeb7c6;
    font-size: .68rem;
    font-weight: 650;
    transform: translateX(50%);
    white-space: nowrap;
}
.iphone-hero-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px rgba(255, 59, 10, .7); }

@keyframes iphone-detail-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.iphone-page-nav {
    position: sticky;
    z-index: 20;
    top: 80px;
    margin-top: 28px;
    border-block: 1px solid rgba(255, 255, 255, .045);
    background: rgba(2, 11, 26, .9);
    backdrop-filter: blur(16px);
}
.iphone-page-nav .section-shell { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 54px); min-height: 54px; }
.iphone-page-nav a { position: relative; padding-block: 18px; color: #929daf; font-size: .72rem; font-weight: 720; white-space: nowrap; transition: color .2s ease; }
.iphone-page-nav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.iphone-page-nav a:hover { color: #fff; }
.iphone-page-nav a:hover::after { transform: scaleX(1); }

.iphone-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 54px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.iphone-proof article { position: relative; padding: 28px 26px; text-align: center; }
.iphone-proof article + article::before { content: ""; position: absolute; top: 24%; bottom: 24%; left: 0; width: 1px; background: var(--line); }
.iphone-proof strong { display: block; color: var(--orange); font-size: clamp(1.4rem, 1.1rem + .7vw, 2rem); font-weight: 820; letter-spacing: -.04em; }
.iphone-proof span { display: block; margin-top: 5px; color: #929caf; font-size: .75rem; font-weight: 620; }

.iphone-services,
.iphone-models,
.iphone-faq,
.iphone-locations { padding-block: 108px 0; }

.iphone-section-heading { max-width: 720px; }
.iphone-section-heading-centered { margin-inline: auto; text-align: center; }
.iphone-section-heading-centered > span { justify-content: center; }
.iphone-section-heading h2,
.iphone-assurance-intro h2,
.iphone-final-cta h2 {
    margin: 15px 0 0;
    font-size: clamp(2.25rem, 1.7rem + 2vw, 4rem);
    font-weight: 810;
    line-height: 1.05;
    letter-spacing: -.052em;
}
.iphone-section-heading > p { max-width: 660px; margin: 18px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.iphone-section-heading-centered > p { margin-inline: auto; }

.iphone-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}
.iphone-service-card {
    position: relative;
    display: flex;
    min-height: 355px;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 20px;
    background: var(--panel-light);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .17);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.iphone-service-card::after { display: none; }
.iphone-service-card-featured {
    grid-column: span 2;
    padding-right: min(32%, 260px);
    background: var(--panel-light);
}
.iphone-service-number { color: rgba(255, 255, 255, .14); font-size: 1rem; font-weight: 820; letter-spacing: .08em; }
.iphone-card-label { margin-top: 16px; font-size: .62rem; }
.iphone-service-card h3 { margin: 18px 0 0; font-size: clamp(1.3rem, 1.12rem + .55vw, 1.7rem); font-weight: 780; line-height: 1.15; letter-spacing: -.032em; }
.iphone-service-card p { max-width: 590px; margin: 12px 0 0; color: #aeb7c6; font-size: .88rem; line-height: 1.62; }
.iphone-service-card ul { display: grid; gap: 7px; margin: 18px 0 24px; padding: 0; color: #d2d7e0; font-size: .76rem; list-style: none; }
.iphone-service-card li { display: flex; align-items: flex-start; gap: 8px; }
.iphone-service-card li::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; margin-top: .38em; border: 1px solid var(--orange); border-radius: 50%; }
.iphone-card-link { display: inline-flex; width: max-content; align-items: center; gap: 8px; margin-top: auto; color: #fff; font-size: .78rem; font-weight: 760; transition: color .2s ease, gap .2s ease; }
.iphone-card-link span { color: var(--orange); font-size: 1rem; }
.iphone-card-link:hover { gap: 12px; color: var(--orange); }

@media (hover: hover) and (pointer: fine) {
    .iphone-service-card:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 59, 10, .38);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .16), 0 0 0 1px rgba(255, 59, 10, .1);
    }

    .iphone-service-card:active { transform: translateY(-1px); }
}

.iphone-process-section {
    margin-top: 108px;
    padding-block: 92px;
    border-block: 1px solid rgba(255, 255, 255, .045);
    background: #071226;
}
.iphone-process-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin: 52px 0 0; padding: 0; list-style: none; }
.iphone-process-list::before { content: ""; position: absolute; z-index: 0; top: 25px; right: 16%; left: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 59, 10, .45), transparent); }
.iphone-process-list li { position: relative; z-index: 1; padding: 0 26px; text-align: center; }
.iphone-step-number { display: grid; width: 52px; height: 52px; margin-inline: auto; place-items: center; border: 1px solid rgba(255, 59, 10, .4); border-radius: 50%; background: #0d1a31; color: var(--orange); font-size: .72rem; font-weight: 820; box-shadow: 0 0 28px rgba(255, 59, 10, .12); }
.iphone-process-list h3 { margin: 22px 0 0; font-size: 1.12rem; font-weight: 760; }
.iphone-process-list p { max-width: 330px; margin: 10px auto 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }

.iphone-assurance {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
    margin-top: 108px;
    padding: clamp(38px, 5vw, 68px);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 26px;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.iphone-assurance-intro h2 { font-size: clamp(2.1rem, 1.65rem + 1.35vw, 3.3rem); }
.iphone-assurance-intro > p { margin: 20px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.iphone-assurance-intro .button { margin-top: 30px; }
.iphone-assurance-list { display: grid; }
.iphone-assurance-list article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.iphone-assurance-list article:first-child { padding-top: 0; }
.iphone-assurance-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.iphone-assurance-list article > span { color: var(--orange); font-size: .72rem; font-weight: 820; letter-spacing: .08em; }
.iphone-assurance-list h3 { margin: 0; font-size: 1.05rem; font-weight: 760; }
.iphone-assurance-list p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.62; }

.iphone-model-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 22px;
    background: var(--line);
    box-shadow: var(--shadow);
}
.iphone-model-panel article { min-height: 190px; padding: 30px 26px; background: var(--panel-light); }
.iphone-model-panel span { color: var(--orange); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.iphone-model-panel h3 { margin: 22px 0 0; font-size: 1.2rem; font-weight: 760; letter-spacing: -.02em; }
.iphone-model-panel p { margin: 10px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.iphone-model-note { margin: 22px 0 0; color: #8e99ab; font-size: .8rem; text-align: center; }
.iphone-model-note a { color: var(--orange); font-weight: 720; }

.iphone-faq-layout { display: grid; grid-template-columns: .56fr 1fr; gap: clamp(38px, 7vw, 96px); margin-top: 42px; }
.iphone-faq-intro p { max-width: 360px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.iphone-faq-intro .button { margin-top: 26px; }
.iphone-faq-list { display: grid; gap: 12px; }
.iphone-faq-list details { border: 1px solid rgba(255, 255, 255, .055); border-radius: 15px; background: #101b32; transition: border-color .2s ease, background .2s ease; }
.iphone-faq-list details[open] { border-color: rgba(255, 59, 10, .3); background: #121f39; }
.iphone-faq-list summary { position: relative; padding: 21px 58px 21px 22px; color: #eef1f6; font-size: .9rem; font-weight: 720; cursor: pointer; list-style: none; }
.iphone-faq-list summary::-webkit-details-marker { display: none; }
.iphone-faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 22px; color: var(--orange); font-size: 1.3rem; font-weight: 400; line-height: 1; transform: translateY(-50%); transition: transform .2s ease; }
.iphone-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.iphone-faq-list details.is-closing summary::after { transform: translateY(-50%) rotate(0); }
.iphone-faq-list details p { margin: 0; padding: 0 58px 22px 22px; color: var(--muted); font-size: .82rem; line-height: 1.7; }

.iphone-location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.iphone-location-grid article {
    position: relative;
    min-height: 240px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 20px;
    background: var(--panel-light);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1),
                box-shadow .35s cubic-bezier(.22, 1, .36, 1),
                border-color .35s ease;
}
.iphone-location-grid article:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 59, 10, .4);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .26);
}
.iphone-location-grid article > span { color: var(--orange); font-size: .68rem; font-weight: 820; letter-spacing: .08em; }
.iphone-location-grid h3 { margin: 28px 0 0; font-size: 1.4rem; font-weight: 780; letter-spacing: -.03em; }
.iphone-location-grid address { margin-top: 12px; color: var(--muted); font-size: .84rem; font-style: normal; line-height: 1.6; }
.iphone-location-grid a { display: inline-flex; margin-top: 20px; color: #fff; font-size: .82rem; font-weight: 750; transition: color .2s ease; }
.iphone-location-grid a:hover { color: var(--orange); }

.iphone-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    margin-block: 108px;
    padding: clamp(38px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(255, 59, 10, .2);
    border-radius: 26px;
    background: var(--panel);
    box-shadow: var(--shadow);
}
.iphone-final-cta > div:first-child { max-width: 700px; }
.iphone-final-cta h2 { font-size: clamp(2rem, 1.55rem + 1.45vw, 3.2rem); }
.iphone-final-cta p { margin: 16px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.iphone-final-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 12px; min-width: 235px; }
.iphone-hero-actions .button-dark,
.iphone-final-actions .button-dark {
    border-color: #263653;
    background: #07142c;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}
.iphone-hero-actions .button-dark:hover,
.iphone-final-actions .button-dark:hover {
    border-color: #334665;
    background: #0b1a36;
}

@media (max-width: 1120px) {
    .iphone-hero { grid-template-columns: 1fr .78fr; padding: 52px; }
    .iphone-float-card-time { left: -18px; }
    .iphone-float-card-care { right: -18px; }
    .iphone-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iphone-service-card-featured { grid-column: span 2; }
    .iphone-model-panel { grid-template-columns: repeat(2, 1fr); }
    .iphone-final-cta { align-items: flex-start; flex-direction: column; }
    .iphone-final-actions { flex-direction: row; }
}

@media (max-width: 860px) {
    .iphone-hero { grid-template-columns: 1fr; padding: 48px; }
    .iphone-hero-copy { max-width: 700px; }
    .iphone-hero-visual { min-height: 500px; }
    .iphone-float-card-time { left: 12%; }
    .iphone-float-card-care { right: 12%; }
    .iphone-proof { grid-template-columns: repeat(2, 1fr); }
    .iphone-proof article:nth-child(3)::before { display: none; }
    .iphone-proof article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .iphone-assurance { grid-template-columns: 1fr; }
    .iphone-faq-layout { grid-template-columns: 1fr; }
    .iphone-faq-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .iphone-faq-intro .button { flex: 0 0 auto; margin-top: 0; }
    .iphone-location-grid { grid-template-columns: 1fr; }
    .iphone-location-grid article { min-height: auto; }
}

@media (max-width: 620px) {
    .iphone-breadcrumb { gap: 7px; padding-top: 18px; font-size: .65rem; }
    .iphone-hero { min-height: auto; gap: 28px; margin-top: 16px; padding: 32px 20px 28px; border-radius: 22px; }
    .iphone-hero h1 { margin-top: 18px; font-size: clamp(2.55rem, 12vw, 3.55rem); }
    .iphone-hero-copy > p { margin-top: 20px; font-size: .92rem; line-height: 1.62; }
    .iphone-hero-actions { align-items: stretch; flex-direction: column; margin-top: 26px; }
    .iphone-hero-actions .button { width: 100%; }
    .iphone-trust-list { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 24px; }
    .iphone-hero-visual { min-height: 390px; }
    .iphone-hero-visual img { width: min(52%, 205px); max-height: 300px; }
    .iphone-device-halo { width: 210px; height: 210px; }
    .iphone-visual-orbit-one { width: 245px; height: 245px; }
    .iphone-visual-orbit-two { width: 310px; height: 190px; }
    .iphone-float-card { min-width: 134px; padding: 11px 12px; }
    .iphone-float-card strong { font-size: .76rem; }
    .iphone-float-card-time { top: 14%; left: 0; }
    .iphone-float-card-care { right: 0; bottom: 19%; }
    .iphone-hero-status { bottom: 0; max-width: 94%; font-size: .6rem; }
    .iphone-page-nav { top: 80px; overflow-x: auto; }
    .iphone-page-nav .section-shell { width: max-content; min-width: 100%; justify-content: flex-start; gap: 24px; padding-inline: 16px; }
    .iphone-page-nav a { font-size: .68rem; }
    .iphone-proof { margin-top: 34px; border-radius: 16px; }
    .iphone-proof article { padding: 22px 12px; }
    .iphone-proof article:nth-child(odd)::before { display: none; }
    .iphone-proof strong { font-size: 1.35rem; }
    .iphone-services, .iphone-models, .iphone-faq, .iphone-locations { padding-top: 76px; }
    .iphone-section-heading h2, .iphone-assurance-intro h2, .iphone-final-cta h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
    .iphone-section-heading > p { font-size: .9rem; line-height: 1.65; }
    .iphone-service-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
    .iphone-service-card, .iphone-service-card-featured { grid-column: auto; min-height: auto; padding: 24px; }
    .iphone-service-card-featured { padding-right: 24px; }
    .iphone-service-card p { font-size: .84rem; }
    .iphone-process-section { margin-top: 76px; padding-block: 68px; }
    .iphone-process-list { grid-template-columns: 1fr; gap: 34px; margin-top: 38px; }
    .iphone-process-list::before { top: 0; bottom: 0; left: 25px; width: 1px; height: auto; background: linear-gradient(transparent, rgba(255, 59, 10, .38), transparent); }
    .iphone-process-list li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 0; text-align: left; }
    .iphone-step-number { grid-row: 1 / 3; margin: 0; }
    .iphone-process-list h3 { margin: 2px 0 0; }
    .iphone-process-list p { margin: 8px 0 0; }
    .iphone-assurance { gap: 42px; margin-top: 76px; padding: 30px 22px; border-radius: 20px; }
    .iphone-assurance-intro .button { width: 100%; }
    .iphone-assurance-list article { grid-template-columns: 34px 1fr; gap: 12px; }
    .iphone-model-panel { grid-template-columns: 1fr; margin-top: 30px; border-radius: 18px; }
    .iphone-model-panel article { min-height: auto; padding: 24px; }
    .iphone-model-panel h3 { margin-top: 15px; }
    .iphone-faq-layout { gap: 28px; margin-top: 30px; }
    .iphone-faq-intro { align-items: stretch; flex-direction: column; }
    .iphone-faq-intro .button { width: 100%; }
    .iphone-faq-list summary { padding: 19px 52px 19px 18px; font-size: .84rem; }
    .iphone-faq-list summary::after { right: 18px; }
    .iphone-faq-list details p { padding: 0 18px 20px; font-size: .78rem; }
    .iphone-location-grid { gap: 14px; margin-top: 30px; }
    .iphone-location-grid article { padding: 24px; }
    .iphone-final-cta { gap: 30px; margin-block: 76px; padding: 32px 22px; border-radius: 20px; }
    .iphone-final-actions { width: 100%; flex-direction: column; min-width: 0; }
    .iphone-final-actions .button { width: 100%; }
}

/* iPad Repair detail page — reuses the iPhone page layout and site tokens. */
.ipad-repair-page { background: var(--ink); }

.ipad-device-shell {
    position: relative;
    z-index: 4;
    width: min(72%, 360px);
    aspect-ratio: .78;
    padding: 10px;
    border: 1px solid #35425a;
    border-radius: 30px;
    background: #020713;
    box-shadow: 0 36px 48px rgba(0, 0, 0, .42), inset 0 0 0 2px #111b2f;
    animation: iphone-detail-float 5.4s ease-in-out infinite;
}

.ipad-device-camera {
    position: absolute;
    z-index: 3;
    top: 17px;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid #2f3b53;
    border-radius: 50%;
    background: #080e1b;
    box-shadow: 0 0 0 2px #01040b;
    transform: translateX(-50%);
}

.ipad-device-screen {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid #192943;
    border-radius: 22px;
    background: #071226;
}

.ipad-device-screen > span {
    color: var(--orange);
    font-size: .58rem;
    font-weight: 820;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ipad-device-screen > strong {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    font-weight: 810;
    line-height: 1.03;
    letter-spacing: -.05em;
}

.ipad-screen-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 14px;
    border: 1px solid #23324d;
    border-radius: 13px;
    background: var(--panel-light);
}

.ipad-screen-status > i {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid rgba(255, 59, 10, .45);
    border-radius: 50%;
    background: rgba(255, 59, 10, .1);
}
.ipad-screen-status > i::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 4px;
    left: 10px;
    top: 10px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg);
}
.ipad-screen-status b { display: block; color: #fff; font-size: .72rem; font-style: normal; }
.ipad-screen-status small { display: block; margin-top: 3px; color: #8995a8; font-size: .58rem; }

.ipad-screen-bars { display: grid; grid-template-columns: 1fr .7fr .42fr; gap: 8px; margin-top: 20px; }
.ipad-screen-bars i { height: 4px; border-radius: 99px; background: #283650; }
.ipad-screen-bars i:first-child { background: var(--orange); }

@media (max-width: 860px) {
    .ipad-device-shell { width: min(58%, 340px); }
}

@media (max-width: 620px) {
    .ipad-hero-visual { min-height: 420px; }
    .ipad-device-shell { width: min(64%, 250px); border-radius: 24px; }
    .ipad-device-screen { padding: 28px 23px; border-radius: 17px; }
    .ipad-device-screen > strong { font-size: 1.55rem; }
    .ipad-screen-status { margin-top: 22px; padding: 11px; }
    .ipad-screen-status > i { width: 26px; height: 26px; flex-basis: 26px; }
    .ipad-screen-status > i::before { left: 8px; top: 8px; }
}

