/* ============================================
   Integrity Counseling Services — Styles
   Teal + Slate Grey | Clean Minimalist
   ============================================ */

/* ---------- 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, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #0d9488;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0f766e;
}

ul {
    list-style: none;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0d9488;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: #1e293b;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

.btn-primary {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

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

.btn-outline:hover {
    background: #0d9488;
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #1e293b;
    border-color: #cbd5e1;
}

.btn-outline-light:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.btn-teal {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
    padding: 8px 20px;
    font-size: 13px;
}

.btn-teal:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

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

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
    color: #1e293b;
}

.section-subtitle {
    font-size: 17px;
    color: #64748b;
    max-width: 560px;
    line-height: 1.8;
}

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

.section-header--centered {
    text-align: center;
}

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

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.5);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e293b;
}

.logo-icon {
    color: #0d9488;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #0d9488;
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #0d9488;
}

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

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #334155;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 1.5px;
    background: #334155;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f172a;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(13, 50, 48, 0.85) 50%,
        rgba(15, 23, 42, 0.88) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: #5eead4;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #5eead4;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
    color: #f1f5f9;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* Floating stat cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #f1f5f9;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(-4px);
}

.stat-card--1 {
    border-left: 3px solid #0d9488;
}

.stat-card--2 {
    border-left: 3px solid #6366f1;
}

.stat-card--3 {
    border-left: 3px solid #f59e0b;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 500;
    color: #5eead4;
    min-width: 80px;
}

.stat-label {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.stat-icon {
    color: #f59e0b;
    flex-shrink: 0;
}

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

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

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 36px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #6366f1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(13, 148, 136, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #0d9488;
    color: #fff;
}

.service-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1e293b;
}

.service-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.service-list li {
    font-size: 14px;
    color: #475569;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #0d9488;
    border-radius: 50%;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: #fff;
}

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

.about-image-wrap {
    position: relative;
}

.about-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image-frame img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0d9488 0%, #6366f1 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.15;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.9;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

.value-check {
    color: #0d9488;
    flex-shrink: 0;
}

/* ---------- Approach ---------- */
.approach {
    padding: 120px 0;
    background: #f8fafc;
}

.approach-steps {
    max-width: 720px;
    margin: 0 auto;
}

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

.step-number {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 500;
    color: #0d9488;
    opacity: 0.4;
    line-height: 1;
    padding-top: 4px;
}

.step-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
}

.step-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #0d9488, transparent);
    margin-left: 36px;
    margin-bottom: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: #fff;
}

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

.testimonial-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
}

.testimonial-quote {
    color: #0d9488;
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-style: italic;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.testimonial-author {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-style: normal;
    color: #94a3b8;
    font-weight: 400;
}

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #0f3028 50%, #1e293b 100%);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.cta-content .section-tag {
    color: #5eead4;
}

.cta-title {
    font-size: clamp(28px, 4vw, 48px);
    color: #f1f5f9;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 480px;
}

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

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: #f1f5f9;
}

.btn-outline-light:hover {
    border-color: #5eead4;
    color: #5eead4;
}

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

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.contact-detail a {
    color: #0d9488;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-title {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1e293b;
}

.form-subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.08);
}

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

.form-privacy {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

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

.form-success h3 {
    font-size: 24px;
    color: #1e293b;
}

.form-success p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo--light {
    color: #f1f5f9;
}

.logo--light .logo-icon {
    color: #5eead4;
}

.logo--light .logo-text {
    color: #f1f5f9;
}

.footer-tagline {
    font-size: 14px;
    color: #64748b;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

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

.footer-nav a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #5eead4;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-contact svg {
    margin-right: 6px;
    vertical-align: middle;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    font-size: 13px;
    color: #475569;
}

.footer-privacy {
    font-size: 12px;
    color: #334155;
    line-height: 1.6;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .badge-dot {
        animation: none;
        opacity: 1;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }
    
    .about-container {
        gap: 48px;
    }
    
    .contact-container {
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #f8fafc;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 100px;
    }
    
    .hero-cards {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(28px, 6vw, 42px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-frame img {
        height: 400px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .step-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .services,
    .about,
    .approach,
    .testimonials,
    .contact {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
}

.nav-overlay.active {
    display: block;
}
