/* =========================================================
   RP SKY POOL — HOME PAGE
   CORPORATE RESPONSIVE CSS
   ========================================================= */

:root {
    --rp-navy: #062b52;
    --rp-navy-dark: #041e39;
    --rp-blue: #155aa8;
    --rp-cyan: #46a8c4;
    --rp-gold: #d59a2a;
    --rp-gold-light: #efbb55;
    --rp-text: #17304b;
    --rp-muted: #687b8e;
    --rp-light: #f4f7fa;
    --rp-border: #e2e8ee;
    --rp-white: #ffffff;

    --rp-shadow: 0 20px 55px rgba(5, 36, 66, 0.12);
}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    background: #ffffff;
    color: var(--rp-text);

    font-family: "Inter", Arial, sans-serif;
}

img {
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   IMPORTANT CONTAINER FIX
   ========================================================= */

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 22px;
    padding-right: 22px;
}


/* =========================================================
   SECTION
   ========================================================= */

.section {
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    max-width: 100%;

    min-height: 720px;

    overflow: hidden;

    background: var(--rp-navy);
    color: #ffffff;
}


/*
   Prevent hero from becoming wider than browser
*/

.hero-image,
.hero-overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    max-width: 100%;
}


/* Hero image */

.hero-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: scale(1.01);
}


/* Hero dark overlay */

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 24, 44, 0.96) 0%,
            rgba(4, 31, 54, 0.84) 36%,
            rgba(4, 31, 54, 0.42) 65%,
            rgba(4, 31, 54, 0.10) 100%
        );
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1240px;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-top: 115px;
    padding-bottom: 80px;
}


/* =========================================================
   HERO TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--rp-gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.eyebrow::after {
    content: "";

    width: 40px;
    height: 1px;

    background: var(--rp-gold-light);

    flex-shrink: 0;
}


.hero h1 {
    max-width: 850px;

    margin: 22px 0 24px;

    color: #ffffff;

    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 400;

    line-height: 0.99;
    letter-spacing: -0.025em;
}

.hero h1 em {
    font-style: normal;
    color: #ffffff;
}


.hero-copy {
    width: 100%;
    max-width: 680px;

    margin: 0;

    color: #d9e5ee;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.gold-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 13px 20px !important;

    border: 1px solid var(--rp-gold);

    border-radius: 3px;

    background: var(--rp-gold);
    color: #ffffff !important;

    font-size: 13px;
    font-weight: 800;

    transition: all 0.25s ease;
}

.gold-btn:hover {
    background: #b77d19;
    border-color: #b77d19;
}


.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 13px 20px;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 3px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    transition: all 0.25s ease;
}

.outline-btn:hover {
    background: #ffffff;
    color: var(--rp-navy);
}


/* =========================================================
   HERO BOTTOM
   ========================================================= */

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-top: 75px;
}


.slider-dots {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #c6d4df;

    font-size: 10px;
}

.slider-dots i {
    display: block;

    width: 28px;
    height: 2px;

    background: #6c8092;
}

.slider-dots i.active {
    background: #ffffff;
}

.slider-dots span {
    margin-left: 8px;
}


.hero-arrows {
    display: flex;
    gap: 8px;
}

.hero-arrows button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    cursor: pointer;

    transition: all 0.25s ease;
}

.hero-arrows button:hover {
    background: #ffffff;
    color: var(--rp-navy);
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
    width: 100%;
    overflow: hidden;

    background: var(--rp-navy);
    color: #ffffff;
}

.trust-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    width: 100%;
}

.trust-grid > div {
    min-width: 0;

    padding: 24px 18px;

    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-grid > div:last-child {
    border-right: 0;
}

.trust-grid b {
    display: block;

    font-size: 14px;
}

.trust-grid span {
    display: block;

    margin-top: 5px;

    color: #aebfce;

    font-size: 10px;
}


/* =========================================================
   COMMON HEADINGS
   ========================================================= */

.section-label {
    color: var(--rp-blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.20em;
}

h2 {
    margin: 10px 0 18px;

    color: var(--rp-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: clamp(38px, 4.4vw, 56px);
    font-weight: 400;

    line-height: 1.08;
}

.section-heading {
    width: 100%;
    max-width: 760px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading p,
.split-grid p {
    max-width: 680px;

    color: var(--rp-muted);

    font-size: 14px;
    line-height: 1.85;
}

.section-heading.center p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    background: #ffffff;
}

.split-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;

    width: 100%;
}

.image-stack {
    position: relative;

    width: 100%;

    padding-bottom: 42px;
}

.image-stack > img {
    display: block;

    width: 100%;
    height: 475px;

    object-fit: cover;

    border-radius: 5px;
}

.image-badge {
    position: absolute;

    right: 20px;
    bottom: 0;

    max-width: calc(100% - 40px);

    padding: 20px 24px;

    background: var(--rp-navy);
    color: #ffffff;

    box-shadow: var(--rp-shadow);
}

.image-badge b {
    display: block;

    font-size: 14px;
}

.image-badge span {
    display: block;

    margin-top: 5px;

    color: #b8c7d3;

    font-size: 10px;
}


.mini-stats {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    width: 100%;

    margin: 25px 0;
    padding: 15px 0;

    border-top: 1px solid var(--rp-border);
    border-bottom: 1px solid var(--rp-border);
}

.mini-stats > div {
    min-width: 0;
}

.mini-stats strong {
    display: block;

    color: var(--rp-navy);

    font-size: 13px;
}

.mini-stats span {
    color: var(--rp-muted);

    font-size: 10px;
}


.text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: var(--rp-blue);

    font-size: 12px;
    font-weight: 800;
}

.text-link:hover {
    color: var(--rp-gold);
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions-section,
.faq-section {
    background: var(--rp-light);
}

.solution-feature-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 20px;

    width: 100%;

    margin-top: 48px;
}

.solution-feature {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--rp-border);
    border-radius: 5px;

    box-shadow: 0 8px 30px rgba(8, 39, 68, 0.05);
}

.solution-photo {
    width: 100%;
    height: 285px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.solution-copy {
    padding: 27px;
}

.solution-copy > span,
.service-card span,
.sector > b,
.project-card span,
.location-card > span {
    color: var(--rp-gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.solution-copy h3 {
    margin: 8px 0;

    color: var(--rp-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 30px;
    font-weight: 400;
}

.solution-copy p {
    margin: 0 0 15px;

    color: var(--rp-muted);

    font-size: 13px;
    line-height: 1.7;
}

.solution-copy a {
    color: var(--rp-blue);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   SERVICE GRID
   ========================================================= */

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 17px;

    width: 100%;

    margin-top: 18px;
}

.service-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--rp-border);
    border-radius: 5px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--rp-shadow);
}

.service-image {
    width: 100%;
    height: 165px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service-card > div:last-child {
    padding: 18px;
}

.service-card h3 {
    margin: 6px 0 7px;

    color: var(--rp-navy);

    font-size: 17px;
}

.service-card p {
    min-height: 52px;

    margin: 0;

    color: var(--rp-muted);

    font-size: 11px;
    line-height: 1.65;
}

.service-card a {
    color: var(--rp-blue);

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   SECTORS
   ========================================================= */

.sectors-section {
    background: #ffffff;
}

.sector-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 1px;

    width: 100%;

    margin-top: 45px;

    background: var(--rp-border);
}

.sector {
    min-width: 0;
    min-height: 245px;

    padding: 30px 25px;

    background: #ffffff;
}

.sector h3 {
    margin: 9px 0;

    color: var(--rp-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 28px;
    font-weight: 400;
}

.sector p {
    min-height: 62px;

    color: var(--rp-muted);

    font-size: 12px;
    line-height: 1.7;
}

.sector a {
    color: var(--rp-blue);

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
    width: 100%;

    background: var(--rp-navy);
    color: #ffffff;
}

.process-section h2 {
    color: #ffffff;
}

.process-section .section-heading p {
    color: #aebfcd;
}

.process-line {
    display: grid;

    grid-template-columns: repeat(6, minmax(0, 1fr));

    width: 100%;

    margin-top: 55px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step {
    min-width: 0;
    min-height: 220px;

    padding: 26px 17px 10px;

    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step:last-child {
    border-right: 0;
}

.process-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 33px;
    height: 33px;

    border: 1px solid var(--rp-gold);
    border-radius: 50%;

    color: var(--rp-gold-light);

    font-size: 10px;
    font-weight: 800;
}

.process-step h3 {
    margin: 15px 0 8px;

    color: #ffffff;

    font-size: 15px;
}

.process-step p {
    color: #9db0bf;

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects-section {
    background: #ffffff;
}

.project-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 17px;

    width: 100%;

    margin-top: 45px;
}

.project-card {
    position: relative;

    min-width: 0;
    height: 300px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    border-radius: 4px;
}

.project-card.large {
    grid-row: span 2;

    height: 617px;
}

.project-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 24, 44, 0.85),
            rgba(3, 24, 44, 0.05) 65%
        );
}

.project-card > div {
    position: absolute;

    right: 22px;
    bottom: 22px;
    left: 22px;

    z-index: 2;
}

.project-card h3 {
    margin: 7px 0 0;

    color: #ffffff;

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 27px;
    font-weight: 400;
}


/* =========================================================
   WHY US
   ========================================================= */

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

.why-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 70px;

    align-items: center;
}

.why-photo {
    width: 100%;
}

.why-photo img {
    display: block;

    width: 100%;
    height: 600px;

    object-fit: cover;

    border-radius: 5px;
}

.why-list {
    margin-top: 30px;

    border-top: 1px solid var(--rp-border);
}

.why-list > div {
    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 15px;

    padding: 20px 0;

    border-bottom: 1px solid var(--rp-border);
}

.why-list > div > span {
    color: var(--rp-gold);

    font-size: 11px;
    font-weight: 800;
}

.why-list b {
    color: var(--rp-navy);

    font-size: 14px;
}

.why-list p {
    margin: 5px 0 0;

    color: var(--rp-muted);

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   TECHNICAL SECTION
   ========================================================= */

.technical-section {
    background: #ffffff;
}

.technical-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}

.technical-list {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0;

    margin-top: 30px;

    border-top: 1px solid var(--rp-border);
}

.technical-list > div {
    padding: 14px 0;

    border-bottom: 1px solid var(--rp-border);

    color: var(--rp-text);

    font-size: 12px;
}

.technical-list b {
    margin-right: 8px;

    color: var(--rp-gold);
}

.technical-image {
    position: relative;

    width: 100%;
}

.technical-image img {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 5px;
}

.technical-caption {
    position: absolute;

    right: 20px;
    bottom: 20px;
    left: 20px;

    padding: 18px;

    background: rgba(4, 30, 57, 0.92);
    color: #ffffff;
}

.technical-caption b {
    display: block;

    font-size: 14px;
}

.technical-caption span {
    display: block;

    margin-top: 4px;

    color: #b8c7d3;

    font-size: 10px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 80px;

    align-items: start;
}

.faq-list {
    width: 100%;
}

.faq-list details {
    border-top: 1px solid var(--rp-border);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--rp-border);
}

.faq-list summary {
    position: relative;

    padding: 20px 35px 20px 0;

    color: var(--rp-navy);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    position: absolute;

    top: 18px;
    right: 0;

    color: var(--rp-gold);

    font-size: 20px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0;

    padding: 0 0 20px;

    color: var(--rp-muted);

    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   LOCATIONS
   ========================================================= */

.locations-section {
    background: #ffffff;
}

.location-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;

    margin-top: 45px;
}

.location-card {
    min-width: 0;

    padding: 35px;

    border: 1px solid var(--rp-border);

    background: #ffffff;
}

.location-card h3 {
    margin: 9px 0 12px;

    color: var(--rp-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 30px;
    font-weight: 400;
}

.location-card p {
    color: var(--rp-muted);

    font-size: 12px;
    line-height: 1.75;
}

.location-card a {
    color: var(--rp-blue);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    width: 100%;

    padding: 100px 0;

    background: var(--rp-navy);
    color: #ffffff;

    overflow: hidden;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    gap: 70px;

    align-items: center;
}

.contact-copy .eyebrow {
    color: var(--rp-gold-light);
}

.contact-copy h2 {
    color: #ffffff;
}

.contact-copy > p {
    max-width: 600px;

    color: #b8c9d6;

    font-size: 14px;
    line-height: 1.8;
}

.contact-points {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px 25px;

    margin-top: 25px;
}

.contact-points span {
    color: #dce7ef;

    font-size: 11px;
}


.contact-form-wrap {
    width: 100%;

    padding: 35px;

    background: #ffffff;

    border-radius: 4px;

    box-shadow: var(--rp-shadow);
}

.contact-form-wrap h3 {
    margin: 0 0 22px;

    color: var(--rp-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: 30px;
    font-weight: 400;
}

.form-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-width: 0;

    padding: 13px 14px;

    border: 1px solid var(--rp-border);
    border-radius: 2px;

    outline: none;

    background: #ffffff;
    color: var(--rp-text);

    font-size: 12px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: var(--rp-blue);
}

.form-grid textarea {
    grid-column: 1 / -1;

    min-height: 120px;

    resize: vertical;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.15s;
}

.delay-3 {
    transition-delay: 0.22s;
}


/* =========================================================
   FULL SCREEN LOGO INTRO
   ========================================================= */

#rp-logo-intro {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    z-index: 999999;

    opacity: 1;
    visibility: visible;

    overflow: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


#rp-intro-logo {
    display: block;

    width: min(78vw, 1450px);
    max-width: 1450px;

    height: auto;

    opacity: 0;

    transform: scale(0.94);

    animation:
        rpLogoReveal 1.2s ease forwards;
}


@keyframes rpLogoReveal {

    0% {
        opacity: 0;
        transform: scale(0.94);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


#rp-logo-intro.rp-intro-finished {
    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   DESKTOP WIDTH CONTROL
   ========================================================= */

@media (min-width: 1400px) {

    .container,
    .hero-content {
        max-width: 1280px;
    }

}


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

@media (max-width: 1100px) {

    .container {
        max-width: 100%;
        padding-left: 28px;
        padding-right: 28px;
    }

    .hero-content {
        padding-left: 28px;
        padding-right: 28px;
    }

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

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

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

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

    .process-step:nth-child(3) {
        border-right: 0;
    }

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

    .project-card.large {
        grid-row: span 1;
        height: 300px;
    }

    .split-grid,
    .technical-grid,
    .why-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

}


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

@media (max-width: 800px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding-top: 90px;
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 60px;
    }

    .hero h1 {
        max-width: 650px;

        font-size: 48px;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-bottom {
        margin-top: 55px;
    }

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

    .trust-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .solution-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

    .project-card,
    .project-card.large {
        height: 280px;
    }

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

    .process-step:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .process-step:nth-child(2n) {
        border-right: 0;
    }

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

    .contact-points {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .form-grid textarea {
        grid-column: auto;
    }

}


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

@media (max-width: 560px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 75px;
    }

    .hero h1 {
        font-size: 41px;
        line-height: 1.02;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom {
        margin-top: 45px;
    }

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

    .trust-grid > div {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

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

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

    .process-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-step,
    .process-step:nth-child(3),
    .process-step:nth-child(2n) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .technical-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .mini-stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .image-stack > img {
        height: 340px;
    }

    .why-photo img {
        height: 360px;
    }

    .technical-image img {
        height: 360px;
    }

    .image-badge {
        right: 15px;
        left: 15px;

        max-width: none;
    }

    .contact-form-wrap {
        padding: 25px 20px;
    }

    .contact-copy h2 {
        font-size: 42px;
    }

    #rp-intro-logo {
        width: 88vw;
    }

}

/* =========================================================
   RP SKY POOL - HERO IMAGE SLIDER
   ========================================================= */

.hero {
    position: relative;
    min-height: 680px;
    height: calc(100vh - 190px);
    max-height: 850px;
    overflow: hidden;
    background: #071b31;
}


/* ---------------------------------------------------------
   SLIDER WRAPPER
   --------------------------------------------------------- */

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* ---------------------------------------------------------
   INDIVIDUAL SLIDES
   --------------------------------------------------------- */

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.04);

    transition:
        opacity 1s ease,
        transform 7s ease,
        visibility 1s ease;
}


/* ACTIVE SLIDE */

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


/* ---------------------------------------------------------
   DARK OVERLAY
   --------------------------------------------------------- */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(4, 23, 43, 0.94) 0%,
            rgba(4, 23, 43, 0.84) 28%,
            rgba(4, 23, 43, 0.48) 58%,
            rgba(4, 23, 43, 0.12) 100%
        );
}


/* ---------------------------------------------------------
   HERO CONTENT
   --------------------------------------------------------- */

.hero-content {
    position: relative;
    z-index: 3;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 50px;
    padding-bottom: 40px;
}


/* ---------------------------------------------------------
   HERO HEADING
   --------------------------------------------------------- */

.hero h1 {
    max-width: 850px;
    margin: 22px 0 25px;

    color: #ffffff;

    font-family:
        "DM Serif Display",
        Georgia,
        serif;

    font-size: clamp(58px, 5.5vw, 88px);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -2px;
}

.hero h1 em {
    font-style: normal;
    color: #ffffff;
}


/* ---------------------------------------------------------
   EYEBROW
   --------------------------------------------------------- */

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;

    color: #d4a03b;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero .eyebrow::after {
    content: "";

    width: 42px;
    height: 1px;

    background: #d4a03b;
}


/* ---------------------------------------------------------
   HERO DESCRIPTION
   --------------------------------------------------------- */

.hero-copy {
    max-width: 720px;

    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 17px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-actions .gold-btn {
    min-width: 220px;
}

.hero-actions .outline-btn {
    min-width: 180px;
}


/* ---------------------------------------------------------
   HERO BOTTOM
   --------------------------------------------------------- */

.hero-bottom {
    width: 100%;

    margin-top: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------------------------------------------------------
   SLIDER DOTS
   --------------------------------------------------------- */

.slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-dots button {
    width: 32px;
    height: 3px;

    padding: 0;
    border: 0;

    background: rgba(255, 255, 255, 0.35);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.slider-dots button.active {
    width: 55px;
    background: #d4a03b;
}

.slider-dots span {
    margin-left: 12px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
    letter-spacing: 1px;
}


/* ---------------------------------------------------------
   HERO ARROWS
   --------------------------------------------------------- */

.hero-arrows {
    display: flex;
    gap: 8px;
}

.hero-arrows button {
    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.15);

    color: #ffffff;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

.hero-arrows button:hover {
    background: #d4a03b;
    border-color: #d4a03b;
}


/* =========================================================
   DUMMY IMAGES FOR OTHER SECTIONS
   Replace these URLs later one by one.
   ========================================================= */


/* ---------------------------------------------------------
   ABOUT IMAGE
   --------------------------------------------------------- */

.image-stack img {
    width: 100%;
    height: 560px;

    object-fit: cover;

    display: block;
}


/* ---------------------------------------------------------
   SOLUTION CUSTOM POOL
   --------------------------------------------------------- */

.solution-photo-custom {
    background-image: url("../img/cspool.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------------------------------------------------------
   SOLUTION FRP POOL
   --------------------------------------------------------- */

.solution-photo-frp {
    background-image: url("../img/Ready-Made-Pools.png");
    background-size: cover;
    background-position: center;
}

/* ---------------------------------------------------------
   SERVICE IMAGES
   --------------------------------------------------------- */

.service-image-residential {
    background-image:
        url("../img/Residential Pools.jpeg");

    background-size: cover;
    background-position: center;
}


.service-image-commercial {
    background-image:
        url("../img/cspool.jpg");

    background-size: cover;
    background-position: center;
}


.service-image-koi {
    background-image:
        url("../img/Koi Ponds.jpg");

    background-size: cover;
    background-position: center;
}


.service-image-fountain {
    background-image:
        url("../img/Fountains & Waterfalls.jpg");

    background-size: cover;
    background-position: center;
}


.service-image-renovation {
    background-image:
        url("../img/Pool Renovation_ Before and After.jpg");

    background-size: cover;
    background-position: center;
}


.service-image-tiling {
    background-image:
        url("../img/Pool Tiling & Finishes.jpg");

    background-size: cover;
    background-position: center;
}

.service-image-filtration {
    background-image:
        url("../img/Filtration Systems.jpg");

    background-size: cover;
    background-position: center;
}

.service-image-treatment {
    background-image:
        url("../img/Pool Chemicals & Water Treatment.jpg");

    background-size: cover;
    background-position: center;
}

.service-image-maintenance {
    background-image:
        url("../img/Pool Maintenance & AMC.jpg");

    background-size: cover;
    background-position: center;
}




/* ---------------------------------------------------------
   WHY US IMAGE
   --------------------------------------------------------- */

.why-photo img {
    width: 100%;
    height: 560px;

    object-fit: cover;
    display: block;
}


/* ---------------------------------------------------------
   TECHNICAL SECTION IMAGE
   --------------------------------------------------------- */

.technical-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;
    display: block;
}


/* ---------------------------------------------------------
   PROJECT IMAGES
   --------------------------------------------------------- */

.project-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   RESPONSIVE HERO
   ========================================================= */

@media (max-width: 991px) {

    .hero {
        min-height: 650px;
        height: auto;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-copy {
        max-width: 650px;
    }

}


@media (max-width: 767px) {

    .hero {
        min-height: 680px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 23, 43, 0.93),
                rgba(4, 23, 43, 0.72)
            );
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 35px;
    }

    .hero h1 {
        font-size: 48px;
        line-height: 1;
        letter-spacing: -1px;
    }

    .hero-copy {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-bottom {
        margin-top: 45px;
    }

}


@media (max-width: 480px) {

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero .eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-actions .gold-btn,
    .hero-actions .outline-btn {
        min-width: 200px;
    }

}

/* =========================================================
   RP SKY POOL - FOOTER
   ========================================================= */

.footer {
    background: #071a31;
    color: #dbe5ef;
    padding: 75px 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Subtle top gold line */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #c99a3d 0%,
        #e0b65d 50%,
        #c99a3d 100%
    );
}

/* Footer container */
.footer .container {
    width: min(1380px, calc(100% - 80px));
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

/* Main footer grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.4fr;
    gap: 70px;
    padding-bottom: 65px;
}

/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-grid > div:first-child {
    padding-right: 25px;
}

/* IMPORTANT: control footer logo size */
.footer-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 0 25px;
}

/* Footer description */
.footer-grid p {
    margin: 0 0 18px;
    color: #aebdcd;
    font-size: 15px;
    line-height: 1.8;
}

/* Tagline */
.footer-tagline {
    color: #d4a548 !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 22px !important;
}

/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

.footer h4 {
    margin: 4px 0 25px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 13px;
}

/* Gold heading underline */
.footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: #c99a3d;
}

/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer a {
    display: block;
    width: fit-content;
    color: #b9c7d5;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 13px;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer a:hover {
    color: #d5a84c;
    transform: translateX(4px);
}

/* =========================================================
   CONTACT COLUMN
   ========================================================= */

.footer-grid > div:last-child p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-grid > div:last-child p b {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Contact links */
.footer-grid > div:last-child a {
    color: #d4dce5;
    margin-bottom: 9px;
}

.footer-grid > div:last-child a:hover {
    color: #d5a84c;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom span {
    color: #8799ac;
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom span:last-child {
    text-align: right;
}

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

@media (max-width: 1100px) {

    .footer .container {
        width: min(100% - 50px, 1000px);
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 45px;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}


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

@media (max-width: 767px) {

    .footer {
        padding-top: 55px;
    }

    .footer .container {
        width: calc(100% - 40px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 45px;
    }

    .footer-grid > div:first-child {
        padding-right: 0;
    }

    .footer-logo {
        width: 175px;
        margin-bottom: 20px;
    }

    .footer h4 {
        margin-bottom: 20px;
    }

    .footer-grid p {
        font-size: 14px;
        line-height: 1.75;
    }

    .footer-bottom {
        min-height: auto;
        padding: 22px 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-bottom span {
        font-size: 12px;
    }

    .footer-bottom span:last-child {
        text-align: left;
    }
}


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

@media (max-width: 480px) {

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

    .footer-logo {
        width: 155px;
    }

    .footer {
        padding-top: 45px;
    }
}

/* =========================================================
   WHATSAPP FOOTER BUTTON
========================================================= */

.footer-whatsapp {
    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-top: 8px;

    padding: 11px 15px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: #ffffff !important;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.footer-whatsapp-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    background: #25D366;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;
}


.footer-whatsapp:hover {
    background: #25D366;

    border-color: #25D366;

    color: #ffffff !important;

    transform: translateY(-2px);
}


.footer-whatsapp:hover .footer-whatsapp-icon {
    background: #ffffff;

    color: #25D366;
}

