/* ========================================
   DelRey's Hair Studio - Stylesheet
   Bold Editorial | Emerald + Cream
======================================== */

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

:root {
    --emerald-900: #042f2e;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --emerald-400: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50: #ecfdf5;
    
    --cream-900: #1c1917;
    --cream-800: #292524;
    --cream-700: #44403c;
    --cream-600: #57534e;
    --cream-500: #78716c;
    --cream-400: #a8a29e;
    --cream-300: #d6d3d1;
    --cream-200: #e7e5e4;
    --cream-100: #f5f5f4;
    --cream-50: #fafaf9;
    --cream-25: #fcfbf9;
    
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    color: var(--cream-800);
    background-color: var(--cream-25);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--cream-900);
}

em {
    font-style: italic;
    color: var(--emerald-600);
}

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
    position: relative;
    padding-left: 48px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 2px;
    background: var(--emerald-600);
}

.section-eyebrow-light {
    color: var(--cream-300);
}

.section-eyebrow-light::before {
    background: var(--cream-300);
}

/* ---------- Section Title ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* ---------- Section Description ---------- */
.section-description {
    font-size: 1.1rem;
    color: var(--cream-600);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--cream-800);
    border: 1.5px solid var(--cream-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
    transform: translateY(-2px);
}

.btn-white {
    background: #ffffff;
    color: var(--emerald-800);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
    background: var(--cream-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(252, 251, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.35s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    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: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream-900);
}

.nav-logo-icon {
    color: var(--emerald-600);
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--cream-600);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-left: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--emerald-600);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--cream-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--cream-25);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 28px;
}

.hero-eyebrow-line {
    width: 36px;
    height: 2px;
    background: var(--emerald-600);
    flex-shrink: 0;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--cream-900);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--cream-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-trust-number {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-700);
    line-height: 1;
}

.hero-trust-label {
    font-size: 0.8125rem;
    color: var(--cream-500);
    letter-spacing: 0.02em;
}

.hero-trust-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    flex-shrink: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--emerald-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.hero-floating-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.hero-floating-card-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
}

.hero-floating-card-value {
    display: block;
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--cream-900);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--cream-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Services Section ---------- */
.services {
    padding: 120px 0;
    background: #ffffff;
}

.services .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.services .section-description {
    margin: 0 auto;
}

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

.service-card {
    background: var(--cream-25);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--emerald-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    border-color: var(--emerald-100);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: var(--emerald-600);
    color: #ffffff;
}

.service-card-title {
    font-size: 1.3125rem;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card-description {
    font-size: 0.9375rem;
    color: var(--cream-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--emerald-700);
    transition: all 0.25s ease;
}

.service-card-link:hover {
    gap: 12px;
    color: var(--emerald-600);
}

/* ---------- About Section ---------- */
.about {
    padding: 120px 0;
    background: var(--cream-25);
}

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

.about-images {
    position: relative;
    height: 700px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-25);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-pattern {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--emerald-600);
    border-radius: var(--radius-md);
    opacity: 0.1;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--cream-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.about-value {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about-value-title {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream-900);
    margin-bottom: 4px;
}

.about-value-text {
    font-size: 0.875rem;
    color: var(--cream-500);
    line-height: 1.6;
}

/* ---------- Gallery Section ---------- */
.gallery {
    padding: 120px 0;
    background: #ffffff;
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.gallery .section-description {
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:nth-child(1) img,
.gallery-item:nth-child(3) img,
.gallery-item:nth-child(5) img {
    height: 300px;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(4) img,
.gallery-item:nth-child(6) img {
    height: 400px;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item-overlay span {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
}

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

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

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 120px 0;
    background: var(--cream-25);
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.testimonial-card-quote {
    margin-bottom: 20px;
}

.testimonial-card-text {
    font-size: 1rem;
    color: var(--cream-700);
    line-height: 1.75;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--cream-900);
}

.testimonial-card-location {
    display: block;
    font-size: 0.8125rem;
    color: var(--cream-500);
    margin-top: 2px;
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 120px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.75;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 120px 0 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.contact-description {
    font-size: 1.0625rem;
    color: var(--cream-600);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail-label {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream-500);
    margin-bottom: 6px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--cream-800);
    line-height: 1.6;
}

.contact-link {
    color: var(--emerald-700);
}

.contact-link:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background: var(--cream-25);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--cream-500);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--cream-900);
    background: #ffffff;
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
    color: var(--cream-400);
}

.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='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

/* Form success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: 50%;
    color: var(--emerald-600);
}

.form-success-title {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--cream-600);
    line-height: 1.7;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 350px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--cream-900);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--emerald-400);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    transition: all 0.25s ease;
}

.footer-list a:hover {
    color: var(--emerald-400);
    padding-left: 4px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    transition: all 0.25s ease;
}

.footer-contact-link:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
}

.footer-location {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Mobile Responsiveness ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream-25);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1.0625rem;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }
    
    .hero-description {
        margin: 0 auto 32px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-image-wrapper img {
        height: 500px;
    }
    
    .hero-floating-card {
        left: 10px;
        bottom: 20px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    /* Services */
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    /* About */
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        height: 450px;
        order: -1;
    }
    
    /* Gallery */
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(5) img {
        height: 220px;
    }
    
    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(4) img,
    .gallery-item:nth-child(6) img {
        height: 280px;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    /* CTA */
    .cta {
        padding: 80px 0;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact */
    .contact {
        padding: 80px 0 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-card {
        padding: 28px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-trust-divider {
        width: 40px;
        height: 1px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(5) img {
        height: 260px;
    }
    
    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(4) img,
    .gallery-item:nth-child(6) img {
        height: 320px;
    }
    
    .contact-details {
        gap: 20px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll-indicator {
        animation: none;
    }
}
