/* ============================================
   Revive of Soul — Styles
   Classic & Elegant | Teal + Slate Grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --cream: #faf9f7;
    --warm-white: #fefdfb;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--warm-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--teal-700);
}

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--teal-800);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-800);
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--teal-700);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-600);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--teal-600);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--teal-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--teal-700) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--teal-800) !important;
    color: #ffffff !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--slate-700);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(15, 23, 42, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 28px;
}

.hero-title em {
    font-style: italic;
    color: var(--teal-200);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    line-height: 1.75;
    max-width: 580px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ---- Services ---- */
.services {
    padding: 100px 0;
    background-color: var(--warm-white);
}

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

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--slate-900);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---- Philosophy ---- */
.philosophy {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.philosophy-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(17, 94, 89, 0.82) 100%
    );
}

.philosophy-content {
    position: relative;
    z-index: 1;
}

.philosophy-eyebrow {
    color: var(--teal-300) !important;
}

.philosophy-title {
    color: #ffffff;
    max-width: 700px;
    margin-bottom: 56px;
}

.philosophy-title em {
    font-style: italic;
    color: var(--teal-200);
}

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

.philosophy-item {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.philosophy-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--teal-400);
    line-height: 1;
    margin-bottom: 16px;
}

.philosophy-item h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.philosophy-item p {
    font-size: 0.9375rem;
    color: var(--slate-300);
    line-height: 1.7;
}

/* ---- About ---- */
.about {
    padding: 100px 0;
    background-color: var(--cream);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--teal-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0 40px;
    padding: 24px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal-700);
}

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

/* ---- Testimonials ---- */
.testimonials {
    padding: 100px 0;
    background-color: var(--slate-900);
}

.testimonials .section-eyebrow {
    color: var(--teal-400);
}

.testimonials .section-title {
    color: #ffffff;
    margin-bottom: 56px;
}

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

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    color: var(--teal-400);
}

.testimonial p {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.testimonial-name {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-style: normal;
    color: var(--slate-400);
    letter-spacing: 0.02em;
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0 0;
    background-color: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item dt {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: var(--teal-50);
    color: var(--teal-700);
}

.contact-item dd {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.contact-item dd a {
    color: var(--slate-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item dd a:hover {
    color: var(--teal-700);
}

/* ---- Contact Form ---- */
.contact-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--teal-800);
}

.form-success svg {
    flex-shrink: 0;
    color: var(--teal-600);
}

/* ---- Map ---- */
.contact-map {
    border-top: 1px solid var(--slate-200);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    filter: grayscale(30%) contrast(1.05);
}

/* ---- Footer ---- */
.footer {
    background-color: var(--slate-900);
    padding: 64px 0 0;
    color: var(--slate-400);
}

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

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

.footer-logo:hover {
    color: var(--teal-300);
}

.footer-logo svg {
    color: var(--teal-400);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal-300);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--teal-300);
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ---- Mobile Menu ---- */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(254, 253, 251, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
}

.nav-links.open a {
    font-size: 1rem;
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .philosophy-grid .philosophy-item:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services {
        padding: 64px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
    
    .philosophy {
        padding: 64px 0;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .philosophy-grid .philosophy-item:last-child {
        max-width: 100%;
    }
    
    .about {
        padding: 64px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 360px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .testimonials {
        padding: 64px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonial {
        padding: 28px 24px;
    }
    
    .contact {
        padding: 64px 0 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 90px 16px 50px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .nav-inner {
        padding: 0 16px;
    }
}
