/* =========================================================
   PK BEAUTY SALON
   MEDIAQUERY.CSS — UNIFIED RESPONSIVE STYLES
   Built to work with:
   - style.css
   - about.css
   - contact.css
   - portfolio.css
   - services.css
   - index.html / about.html / contact.html / portfolio.html / services.html

   Breakpoints:
   1200px — large tablet / small desktop
   1050px — tablet landscape
   820px  — mobile navigation + tablet
   560px  — mobile
   380px  — small mobile

   NOTE:
   This file is loaded AFTER the page CSS files so these responsive
   rules can safely override page-specific desktop declarations.
   ========================================================= */


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    :root {
        --container: 1100px;
    }

    header {
        padding-inline: 4%;
    }

    .hero {
        padding-inline: 5%;
    }

    .intro-section,
    .services-section,
    .offer-section,
    .price-section,
    .why-section,
    .review-section {
        padding-inline: 5%;
    }

    .section-heading {
        max-width: 700px;
    }

    .beforefooter {
        padding-inline: 5%;
    }

    /* Portfolio */
    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .DiscountSection {
        max-width: 1080px;
    }

    /* About */
    .AboutMeInDetail {
        gap: 45px;
        padding-inline: 5%;
    }

    .aboutTeam-Info,
    .about-values {
        padding-inline: 5%;
    }

    /* Services */
    .aboutServices {
        padding-inline: 5%;
    }

    .aboutServices .ser-box {
        gap: 22px;
    }

    .imgslidertext {
        width: 90%;
    }

    /* Contact */
    .FormMap {
        width: 90%;
    }

    .contact-info-section {
        width: 90%;
    }
}


/* =========================================================
   TABLET LANDSCAPE
   ========================================================= */

@media (max-width: 1050px) {

    /* ---------- Header ---------- */

    header {
        padding-inline: 4%;
    }

    header nav ul {
        gap: 18px;
    }

    header nav ul li a {
        font-size: 0.78rem;
    }

    #NavNum {
        padding-inline: 15px;
    }


    /* ---------- Global typography ---------- */

    .section-heading h2,
    .intro-content h2,
    .why-content h2,
    .offer-content h2,
    .cta-section h2 {
        font-size: clamp(2.1rem, 4vw, 3.1rem);
    }


    /* ---------- Home ---------- */

    .hero {
        min-height: 680px;
        grid-template-columns: 1fr 0.9fr;
        gap: 45px;
        padding-inline: 5%;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 6vw, 5rem);
    }

    .intro-section {
        grid-template-columns: 0.9fr 1fr;
        gap: 50px;
    }

    .service-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .price-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .why-section {
        grid-template-columns: 1fr 0.9fr;
        gap: 45px;
    }


    /* ---------- Inner page hero ---------- */

    .sectionFirst {
        min-height: 500px;
        padding: 125px 5% 80px;
    }

    .transform-img {
        width: 160px;
        right: -25px;
    }


    /* ---------- About ---------- */

    .AboutMeInDetail {
        gap: 40px;
    }

    .teamImgInfo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Services ---------- */

    .aboutServices {
        padding: 75px 5% 65px;
    }

    .aboutServices .ser-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aboutServices .ser-box .box {
        min-height: 380px;
    }

    .DiscountSection {
        grid-template-columns: 160px 1fr;
        padding: 40px;
    }

    .DiscountSection > a {
        grid-column: 2;
        justify-self: start;
    }

    .imgslidertext {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 40px;
    }

    .beforefooter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .beforefooter .box:first-child {
        grid-column: 1 / -1;
    }


    /* ---------- Portfolio ---------- */

    .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-intro,
    .gallery-section,
    .beforeAfter-section {
        padding-inline: 5%;
    }

    .beforeAfter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Contact ---------- */

    .FormMap {
        width: 90%;
        gap: 35px;
    }

    .FormMap .form,
    .FormMap .map {
        width: 100%;
    }

    .contact-info-section {
        width: 90%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE NAVIGATION + TABLET
   ========================================================= */

@media (max-width: 820px) {

    body {
        min-width: 320px;
    }

    /* ---------- Header / Mobile Menu ---------- */

    header {
        min-height: 72px;
        padding-inline: 5%;
    }

    header.scrolled {
        min-height: 66px;
    }

    header .logo {
        font-size: 1.55rem;
        position: relative;
        z-index: 10001;
    }

    .menuToggle {
        display: block;
        position: relative;
        z-index: 10002;
        cursor: pointer;
    }

    /*
       script.js adds .active to <header> and <nav>.
       Keep the selector here aligned with that behaviour.
    */
    header nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        min-height: calc(100vh - 72px);
        padding: 25px 5%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: rgba(247, 241, 243, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.35s ease,
            opacity 0.35s ease,
            visibility 0.35s ease;
        z-index: 9998;
    }

    header.active nav,
    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    header nav ul {
        position: static;
        width: min(100%, 500px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 10px;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 15px;
        border-radius: 10px;
        font-size: 0.88rem;
        color: #1e1e1e;
    }

    header nav ul li a::after {
        display: none;
    }

    header nav ul li a:hover,
    header nav ul li a.active {
        color: var(--primary, #c2185b);
        background: var(--pink-light, #fff1f6);
    }

    header nav ul li:last-child a,
    #NavNum {
        width: fit-content;
        margin: 7px auto 0;
        padding: 11px 24px;
        color: var(--white, #fff);
        background: linear-gradient(
            135deg,
            var(--primary-dark, #8f1245),
            var(--primary, #c2185b)
        );
        border-radius: 999px;
    }


    /* ---------- Global sections ---------- */

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .intro-content h2,
    .why-content h2,
    .offer-content h2,
    .cta-section h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }


    /* ---------- Home ---------- */

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 115px 7% 75px;
        text-align: center;
    }

    .hero-content {
        max-width: 760px;
        margin-inline: auto;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-contact {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        width: min(100%, 600px);
        margin-inline: auto;
    }

    .intro-section {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 75px 7%;
    }

    .intro-image {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .intro-content {
        text-align: center;
    }

    .intro-features {
        justify-content: center;
    }

    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-section,
    .offer-section,
    .price-section,
    .why-section,
    .review-section {
        padding-inline: 7%;
    }

    .offer-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .offer-content {
        align-items: center;
    }

    .offer-points {
        justify-content: center;
    }

    .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .why-content {
        text-align: center;
    }

    .why-list {
        max-width: 650px;
        margin-inline: auto;
        text-align: left;
    }

    .why-image {
        max-width: 650px;
        margin-inline: auto;
    }

    .review-section {
        padding-bottom: 75px;
    }

    .review-box {
        text-align: center;
    }

    .cta-section {
        margin-inline: 5%;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* ---------- Inner page hero ---------- */

    .sectionFirst {
        min-height: 430px;
        padding: 105px 6% 75px;
        text-align: center;
    }

    .page-hero-content {
        max-width: 760px;
        margin-inline: auto;
    }

    .sectionFirst h1 {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .sectionFirst p,
    .page-hero-content p {
        max-width: 680px;
        margin-inline: auto;
        font-size: 0.9rem;
    }

    .transform-img {
        width: 130px;
        right: 2%;
        opacity: 0.22;
    }


    /* ---------- About ---------- */

    .AboutMeInDetail {
        flex-direction: column;
        gap: 45px;
        margin-top: 3rem;
        padding-inline: 7%;
        text-align: center;
    }

    .AboutMeInDetail > .img {
        width: min(100%, 600px);
        margin-inline: auto;
    }

    .AboutMeInDetail .infoAboutMe {
        width: 100%;
        text-align: center;
    }

    .AboutMeInDetail .infoAboutMe .iconLink,
    .iconLink {
        justify-content: center;
        flex-wrap: wrap;
    }

    .aboutTeam-Info,
    .about-values {
        padding-inline: 7%;
    }

    .teamImgInfo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ---------- Services ---------- */

    .aboutServices {
        padding: 70px 7% 60px;
    }

    .services-heading {
        text-align: center;
        margin-bottom: 40px;
    }

    .aboutServices .ser-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aboutServices .ser-box .box {
        min-height: 370px;
    }

    .DiscountSection {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 45px 7%;
        margin-bottom: 75px;
        text-align: center;
    }

    .DiscountSection .img {
        margin-inline: auto;
    }

    .DiscountSection .img img {
        width: 145px;
        margin-inline: auto;
    }

    .DiscountSection .textinfo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .DiscountSection > a {
        grid-column: auto;
        justify-self: center;
        margin-top: 10px;
    }

    .imgslidertext {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 90%;
        margin-bottom: 75px;
    }

    .imgslider {
        width: 100%;
        min-height: 500px;
    }

    .slideText {
        width: 100%;
        text-align: center;
    }

    .lit-service {
        text-align: left;
    }

    .bridal-cta {
        justify-content: center;
    }

    .services-cta {
        width: 90%;
        margin-bottom: 75px;
        padding: 60px 7%;
        text-align: center;
    }


    /* ---------- Portfolio ---------- */

    .portfolio-intro {
        padding: 70px 0 60px;
    }

    .portfolio-intro-content,
    .gallery-heading,
    .beforeAfter-heading,
    .portfolio-cta-content {
        width: calc(100% - 40px);
    }

    .gallery-section {
        padding: 70px 0 75px;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: calc(100% - 40px);
    }

    .DiscountSection {
        max-width: 900px;
    }

    .beforeAfter-section {
        padding: 70px 0;
    }

    .beforeAfter {
        grid-template-columns: 1fr;
        gap: 25px;
        width: calc(100% - 40px);
    }

    .portfolio-cta {
        padding: 75px 0;
    }


    /* ---------- Contact ---------- */

    .FormMap {
        width: 90%;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        padding-block: 45px;
    }

    .FormMap .form,
    .FormMap .map {
        width: 100%;
    }

    .FormMap .map iframe {
        min-height: 380px;
        height: 380px;
    }

    .contact-info-section {
        width: 90%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beforefooter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beforefooter .box:first-child {
        grid-column: 1 / -1;
    }

    footer {
        justify-content: center;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    body {
        font-size: 0.92rem;
    }

    /* ---------- Header ---------- */

    header {
        min-height: 68px;
        padding-inline: 5%;
    }

    header.scrolled {
        min-height: 64px;
    }

    header .logo {
        font-size: 1.35rem;
    }

    header nav {
        top: 68px;
        min-height: calc(100vh - 68px);
        padding: 20px 5%;
    }

    header nav ul {
        width: 100%;
        padding: 5px;
    }

    header nav ul li a {
        min-height: 46px;
        font-size: 0.84rem;
    }


    /* ---------- Buttons ---------- */

    .btn,
    .cta-buttons .btn {
        min-height: 46px;
    }


    /* ---------- Home ---------- */

    .hero {
        gap: 35px;
        padding: 100px 5% 60px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
        line-height: 1.05;
    }

    .hero-content > p {
        font-size: 0.86rem;
        line-height: 1.75;
    }

    .hero-buttons,
    .cta-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .hero-contact {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-badge {
        transform: scale(0.9);
        transform-origin: bottom right;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .intro-content h2,
    .why-content h2,
    .offer-content h2,
    .cta-section h2 {
        font-size: 2.15rem;
    }

    .section-heading p {
        font-size: 0.86rem;
    }

    .intro-section {
        padding: 60px 5%;
        gap: 40px;
    }

    .intro-features {
        flex-direction: column;
        align-items: center;
    }

    .service-cards,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .services-section,
    .offer-section,
    .price-section,
    .why-section,
    .review-section {
        padding-inline: 5%;
    }

    .offer-points {
        flex-direction: column;
        align-items: center;
    }

    .cta-section {
        margin-inline: 3%;
        padding-inline: 7%;
    }


    /* ---------- Inner page hero ---------- */

    .sectionFirst {
        min-height: 340px;
        padding: 90px 5% 60px;
    }

    .sectionFirst h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
        line-height: 1.05;
    }

    .page-hero-content p,
    .sectionFirst p {
        font-size: 0.84rem;
        line-height: 1.75;
        margin-top: 14px;
    }

    .hero-small-title {
        font-size: 0.67rem;
        letter-spacing: 0.14em;
    }

    .transform-img {
        width: 90px;
        right: -15px;
        bottom: -15px;
        opacity: 0.18;
    }


    /* ---------- About ---------- */

    .AboutMeInDetail {
        padding-inline: 5%;
        gap: 35px;
    }

    .infoAboutMe h2 {
        font-size: 2.15rem;
    }

    .infoAboutMe .para {
        font-size: 0.84rem;
    }

    .AboutMeInDetail .infoAboutMe .iconLink,
    .iconLink {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .teamImgInfo,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .aboutTeam-Info,
    .about-values {
        padding-inline: 5%;
    }

    .teamImgInfo .fourthBox {
        min-height: 300px;
    }


    /* ---------- Services ---------- */

    .aboutServices {
        padding: 58px 5% 50px;
    }

    .services-heading .ser-litText {
        font-size: 1.65rem;
    }

    .services-heading h2 {
        font-size: 2.15rem;
    }

    .services-heading .ser-text {
        font-size: 0.84rem;
        line-height: 1.75;
    }

    .aboutServices .ser-box {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .aboutServices .ser-box .box {
        min-height: 365px;
        border-radius: 18px;
    }

    .aboutServices .ser-box .box .boxinfo {
        padding: 30px 20px 22px;
    }

    .ser-name {
        font-size: 1.45rem;
    }

    .ser-discription {
        font-size: 0.82rem;
    }

    .service-link {
        font-size: 0.67rem;
    }

    .DiscountSection {
        width: 92%;
        margin-bottom: 58px;
        padding: 40px 7%;
        border-radius: 22px;
    }

    .DiscountSection .img img {
        width: 125px;
    }

    .DiscountSection h2 {
        font-size: 2rem;
    }

    .DiscountSection p {
        font-size: 0.84rem;
    }

    .DiscountSection > a {
        width: 100%;
        min-width: 0;
    }

    .imgslidertext {
        width: 90%;
        gap: 32px;
        margin-bottom: 58px;
    }

    .imgslider {
        min-height: 420px;
        border-radius: 20px;
    }

    .st-heading {
        font-size: 2.15rem;
    }

    .lit-text {
        font-size: 0.84rem;
        line-height: 1.75;
    }

    .lit-service {
        gap: 14px;
    }

    .lit-service .textinfo {
        padding: 18px 17px 18px 22px;
    }

    .ti-head {
        font-size: 1.22rem;
    }

    .des {
        font-size: 0.81rem;
    }

    .bridal-cta {
        width: 100%;
    }

    .bridal-cta .btn {
        width: 100%;
        font-size: 0.66rem;
    }

    .services-cta {
        width: 92%;
        margin-bottom: 58px;
        padding: 48px 7%;
        border-radius: 21px;
    }

    .services-cta h2 {
        font-size: 2rem;
    }

    .services-cta p {
        font-size: 0.84rem;
    }


    /* ---------- Portfolio ---------- */

    .portfolio-intro {
        padding: 58px 0 50px;
    }

    .portfolio-intro-content,
    .gallery-heading,
    .beforeAfter-heading,
    .portfolio-cta-content {
        width: calc(100% - 30px);
    }

    .portfolio-intro h2,
    .gallery-heading h2,
    .beforeAfter-heading h2 {
        font-size: 2.15rem;
    }

    .portfolio-intro p,
    .gallery-heading p,
    .beforeAfter-heading p {
        font-size: 0.84rem;
    }

    .gallery-section {
        padding: 58px 0 65px;
    }

    .gallery {
        width: calc(100% - 30px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-item:hover {
        transform: translateY(-4px);
    }

    .DiscountSection {
        width: 92%;
    }

    .beforeAfter-section {
        padding: 58px 0;
    }

    .beforeAfter {
        width: calc(100% - 30px);
    }

    .beforeAfter .gridBox {
        padding: 10px;
        gap: 9px;
        border-radius: 10px;
    }

    .beforeAfter .gridBox .box {
        gap: 8px;
    }

    .beforeAfter .gridBox .box .text {
        font-size: 0.95rem;
    }

    .portfolio-cta {
        padding: 65px 0;
    }

    .portfolio-cta h2 {
        font-size: 2.15rem;
    }

    .portfolio-cta p {
        font-size: 0.84rem;
        line-height: 1.75;
    }


    /* ---------- Contact ---------- */

    .FormMap {
        width: 92%;
        gap: 25px;
        padding-block: 38px;
    }

    .FormMap .form {
        padding: 25px 18px;
    }

    .FormMap .f-head,
    .map-content h2 {
        font-size: 1.8rem;
    }

    .FormMap .f-para,
    .map-content p {
        font-size: 0.8rem;
    }

    .FormMap .map iframe {
        height: 300px;
        min-height: 300px;
    }

    .contact-info-section {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-card {
        padding: 18px 15px;
    }

    .contact-info-card h3 {
        font-size: 1.05rem;
    }

    .contact-info-card p {
        font-size: 0.72rem;
    }


    /* ---------- Footer ---------- */

    .beforefooter {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 55px 7% 40px;
    }

    .beforefooter .box:first-child {
        grid-column: auto;
    }

    .subscribe {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .subscribe input,
    .subscribe .btn {
        width: 100%;
        min-width: 0;
        height: 46px;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        padding: 17px 6%;
        font-size: 0.68rem;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 43px;
        height: 43px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    header .logo {
        font-size: 1.2rem;
    }

    header {
        padding-inline: 4%;
    }

    .sectionFirst {
        min-height: 300px;
        padding-top: 82px;
    }

    .sectionFirst h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding-inline: 4%;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .section-heading h2,
    .intro-content h2,
    .why-content h2,
    .offer-content h2,
    .cta-section h2 {
        font-size: 1.95rem;
    }

    .service-card h3,
    .ser-name {
        font-size: 1.3rem;
    }

    .aboutServices .ser-box .box {
        min-height: 350px;
    }

    .aboutServices .ser-box .box .boxinfo {
        padding-inline: 17px;
    }

    .DiscountSection,
    .services-cta {
        width: 94%;
    }

    .DiscountSection {
        padding: 32px 6%;
    }

    .DiscountSection h2 {
        font-size: 1.8rem;
    }

    .imgslider {
        min-height: 360px;
    }

    .st-heading {
        font-size: 1.9rem;
    }

    .gallery {
        gap: 9px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .beforeAfter .gridBox {
        gap: 7px;
        padding: 8px;
    }

    .beforeAfter .gridBox .box .text {
        font-size: 0.88rem;
    }

    .portfolio-cta h2,
    .services-cta h2 {
        font-size: 1.9rem;
    }

    .FormMap {
        width: 94%;
    }

    .FormMap .form {
        padding: 22px 15px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Inner-page hero copy stays directly over the image without a card. */
.sectionFirst .page-hero-content {
    padding: 24px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Keep inner-page hero copy readable when the operating system uses dark mode. */
@media (prefers-color-scheme: dark) {
    .sectionFirst::after {
        background: linear-gradient(
            135deg,
            rgba(10, 7, 12, 0.64),
            rgba(10, 7, 12, 0.78)
        );
    }

    .sectionFirst h1 {
        color: #ffffff;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
    }

    .sectionFirst > p,
    .page-hero-content > p {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
    }

    .hero-small-title {
        color: #ffd2e1;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
    }
}
