/* ============================================
   SUMMIT ROOFING — LiteFrame Template
   Shared stylesheet for all pages
   ============================================ */

:root {
    /* Brand Colors */
    --brand-primary: #1e293b;
    --brand-secondary: #334155;
    --brand-accent: #b91c1c;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --bg-alt: #f4f4f5;

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-size-base: 16px;

    /* Shape */
    --border-radius: 6px;
    --btn-radius: 4px;
}

/* ---------- Base ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--btn-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--brand-primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--brand-primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--brand-secondary);
    color: #fff;
    transform: translateY(-2px);
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.25s ease;
}

.scrolled .brand { color: var(--brand-primary); }

.brand:hover { color: #fff; }
.scrolled .brand:hover { color: var(--brand-primary); }

.brand-mark {
    width: 36px;
    height: 36px;
    background: var(--brand-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    flex-shrink: 0;
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.25s ease;
}

.scrolled .main-nav a { color: var(--brand-primary); }

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.scrolled .header-phone { color: var(--brand-primary); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    transition: color 0.25s ease;
}

.scrolled .menu-toggle { color: var(--brand-primary); }

.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
    animation: heroZoom 18s ease-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.6) 60%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 680px;
    animation: fadeInUp 0.9s ease-out;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-accent);
    flex-shrink: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page Hero (sub-pages) ---------- */

.page-hero {
    position: relative;
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(185, 28, 28, 0.18), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.06), transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto;
}

.breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-accent);
    margin-bottom: 1rem;
}

/* ---------- Sections ---------- */

section {
    padding: 5rem 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
}

.section-head h2 { margin-bottom: 1rem; }

.section-head p {
    color: #4b5563;
    font-size: 1.1rem;
}

.section-alt { background: var(--bg-alt); }

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 2.25rem 1.75rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--btn-radius);
    background: rgba(185, 28, 28, 0.1);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
    background: var(--brand-accent);
    color: #fff;
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin-top: 1rem;
}

.service-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.service-link:hover svg { transform: translateX(4px); }

/* ---------- Why Us / Features ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* ---------- About / Image + Text Split ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.split-image:hover img { transform: scale(1.04); }

.split-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--brand-accent);
    z-index: -1;
    border-radius: var(--border-radius);
}

.split-content h2 { margin-bottom: 1.25rem; }
.split-content > p { color: #4b5563; margin-bottom: 1.5rem; }

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-color);
}

.feature-list svg {
    width: 22px;
    height: 22px;
    color: var(--brand-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- Testimonials ---------- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.12);
}

.stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.95rem;
}

.author-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ---------- FAQ ---------- */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--brand-accent);
    box-shadow: 0 8px 24px -8px rgba(185, 28, 28, 0.15);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--brand-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--brand-accent);
    transition: transform 0.3s ease;
    line-height: 1;
    flex-shrink: 0;
    font-weight: 300;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { color: var(--brand-accent); }

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #4b5563;
    line-height: 1.7;
}

/* ---------- CTA Strip ---------- */

.cta-strip {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(185, 28, 28, 0.2), transparent 60%);
}

.cta-strip .container {
    position: relative;
    z-index: 1;
}

.cta-strip h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-strip p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item.tall { aspect-ratio: 3 / 4; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info {
    background: var(--brand-primary);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-accent);
    border-radius: var(--btn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-list strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.contact-list span,
.contact-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-list a:hover { color: var(--brand-accent); }

.contact-form {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--brand-primary);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-brand .brand-mark { background: var(--brand-accent); }

.footer-about {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: var(--brand-accent);
    color: #fff;
    transform: translateY(-2px);
}

.social-links svg { width: 16px; height: 16px; }

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
    color: var(--brand-accent);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ---------- Stats Row ---------- */

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--brand-primary);
}

/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.team-card {
    text-align: center;
    transition: transform 0.25s ease;
}

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

.team-photo {
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img { transform: scale(1.06); }

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.team-card .role {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--brand-accent);
}

/* ---------- Reveal animation utility ---------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 968px) {
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split-image { aspect-ratio: 16 / 10; max-height: 480px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .main-nav.open { transform: translateY(0); }

    .main-nav a {
        padding: 0.5rem 0;
        width: 100%;
        color: var(--brand-primary);
    }

    .header-cta .btn { display: none; }

    .header-phone { font-size: 0.95rem; }

    section { padding: 3.5rem 0; }

    .hero { min-height: 78vh; }

    .hero-trust { gap: 1rem; margin-top: 2rem; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

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

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { width: 100%; }
}
