/* ============================================
   Roof Top Services — Custom Styles
   Clean minimalist · Teal + Slate Grey
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #1e293b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #0f172a;
}

.section__eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    color: #0f172a;
}

.section__desc {
    font-size: 1.0625rem;
    color: #475569;
    max-width: 560px;
    line-height: 1.75;
}

.section__header--center {
    text-align: center;
}

.section__header--center .section__desc {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #0d9488;
    color: #ffffff;
    border: 1.5px solid #0d9488;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: #0f766e;
    border-color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #0d9488;
    border: 1.5px solid #0d9488;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background-color: #f0fdfa;
    transform: translateY(-1px);
}

.btn--light {
    background-color: #ffffff;
    color: #0d9488;
    border: 1.5px solid #ffffff;
}

.btn--light:hover,
.btn--light:focus-visible {
    background-color: #f0fdfa;
    border-color: #ccfbf1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--light-ghost {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--light-ghost:hover,
.btn--light-ghost:focus-visible {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: #0f172a;
}

.nav__logo-icon {
    color: #0d9488;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: #475569;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: #0d9488;
}

.nav__link--cta {
    background-color: #0d9488;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
    background-color: #0f766e;
    color: #ffffff;
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: #0f172a;
    transition: background-color 0.2s ease;
}

.nav__toggle:hover,
.nav__toggle:focus-visible {
    background-color: #f1f5f9;
}

.nav__toggle-icon {
    transition: transform 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
    transform: rotate(90deg);
}

.nav__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav__overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: #ffffff;
    overflow: hidden;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d9488;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__sub {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__trust span {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 400;
}

.hero__trust-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.hero__image {
    position: relative;
}

.hero__image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid #0d9488;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section--light {
    background-color: #f8fafc;
}

/* ---------- Services ---------- */
.services {
    background-color: #f8fafc;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #0d9488;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #f0fdfa;
    color: #0d9488;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-card__icon {
    background-color: #0d9488;
    color: #ffffff;
}

.service-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    background-color: #ffffff;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-stack {
    position: relative;
}

.about__image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border: 4px solid #ffffff;
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about__stat-card {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: #0d9488;
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.3);
}

.about__stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
}

.about__stat-label {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.about__text-col {
    padding: 20px 0;
}

.about__body {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #1e293b;
    font-weight: 400;
}

.about__value svg {
    color: #0d9488;
    flex-shrink: 0;
}

/* ---------- Process ---------- */
.process {
    background-color: #f8fafc;
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.process__step {
    position: relative;
    padding: 32px 28px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process__step:hover {
    border-color: #0d9488;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
}

.process__step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.process__step:hover .process__step-number {
    color: #0d9488;
    opacity: 0.4;
}

.process__step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.process__step-desc {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
}

/* ---------- Testimonial ---------- */
.testimonial {
    background-color: #0f172a;
    padding: 100px 0;
}

.testimonial__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial__quote-mark {
    color: #0d9488;
    opacity: 0.3;
    margin-bottom: 24px;
}

.testimonial__quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 400;
    font-style: italic;
    color: #f1f5f9;
    line-height: 1.6;
    margin-bottom: 32px;
}

.testimonial__attribution {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial__name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
}

.testimonial__location {
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    padding: 80px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta__text {
    flex: 1;
    min-width: 280px;
}

.cta__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.125rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Contact ---------- */
.contact {
    background-color: #ffffff;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__info {
    padding: 20px 0;
}

.contact__desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 440px;
}

.contact__details {
    display: grid;
    gap: 28px;
}

.contact__detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 6px;
}

.contact__detail-value {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}

.contact__detail-value a {
    color: #1e293b;
    transition: color 0.2s ease;
}

.contact__detail-value a:hover {
    color: #0d9488;
}

/* ---------- Form ---------- */
.contact__form-col {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
}

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

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #0f172a;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input::placeholder {
    color: #94a3b8;
}

.form__input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__note {
    font-size: 0.8125rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
}

.form__input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form__error-msg {
    font-size: 0.8125rem;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.form__group.has-error .form__error-msg {
    display: block;
}

/* Success state */
.contact__success {
    text-align: center;
    padding: 40px 20px;
}

.contact__success svg {
    color: #0d9488;
    margin-bottom: 20px;
}

.contact__success-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.contact__success-text {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #0f172a;
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer__logo svg {
    color: #0d9488;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 300px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.9375rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
    color: #0d9488;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__phone {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.2s ease;
}

.footer__phone:hover,
.footer__phone:focus-visible {
    color: #0d9488;
}

.footer__address {
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: #475569;
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__inner {
        gap: 40px;
    }

    .about__inner {
        gap: 48px;
    }

    .contact__inner {
        gap: 48px;
    }

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

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

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        box-shadow: -8px 0 32px rgba(15, 23, 42, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    .nav__links.open {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1002;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__image {
        order: -1;
    }

    .hero__image-frame {
        border-radius: 10px;
    }

    .hero__image-accent {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .section {
        padding: 72px 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about__image-stack {
        max-width: 480px;
    }

    .about__image-secondary {
        right: -16px;
        bottom: -16px;
    }

    .about__values {
        grid-template-columns: 1fr;
    }

    .process__steps {
        grid-template-columns: 1fr;
    }

    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta__actions {
        justify-content: center;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-col {
        padding: 28px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav__inner {
        padding: 0 20px;
    }

    .hero__headline {
        font-size: 1.75rem;
    }

    .hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero__trust-sep {
        display: none;
    }

    .about__stat-card {
        top: -12px;
        left: -12px;
        padding: 14px 18px;
    }

    .about__stat-number {
        font-size: 1.375rem;
    }
}
