/* ============================================
   Safe-T-Zone | Medical & Health Website
   Clean Minimalist Design — Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #1e3a5f;
    --navy-light: #2a4f7a;
    --navy-dark: #152a45;
    --gold: #c9a84c;
    --gold-light: #d4b96a;
    --gold-pale: #f5edda;
    --white: #ffffff;
    --off-white: #faf9f7;
    --cream: #f7f5f0;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

.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.25;
    color: var(--navy);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.06);
}

.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.15rem;
    color: var(--navy);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav__logo-icon {
    color: var(--gold);
}

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

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-600);
    letter-spacing: 0.02em;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--navy);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    padding: 8px 20px;
    border: 1px solid var(--navy);
    border-radius: 2px;
    color: var(--navy);
    font-weight: 400;
    transition: all var(--transition);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--navy);
    color: var(--white);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: all var(--transition);
}

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

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

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

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    width: 80%;
    text-align: center;
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--gold);
}

.mobile-menu__link--cta {
    border-bottom: none;
    margin-top: 16px;
    padding: 12px 32px;
    border: 1px solid var(--navy);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

.hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero__headline em {
    font-style: italic;
    color: var(--gold);
}

.hero__subheadline {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 300;
}

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

.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(--font-serif);
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 400;
}

.hero__trust-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.hero__trust-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero__image-wrapper img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__image-wrapper:hover img {
    transform: scale(1.02);
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    z-index: -1;
    opacity: 0.4;
}

.hero__line {
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border-radius: 2px;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.2);
}

.btn--ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--gray-300);
}

.btn--ghost:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

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

.btn--ghost-light:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--large {
    padding: 16px 36px;
    font-size: 0.9rem;
}

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

/* --- Section Shared --- */
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.8;
    font-weight: 300;
}

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

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

/* --- Services --- */
.services {
    padding: 120px 0;
    background: var(--off-white);
}

.services .section-header {
    margin-bottom: 72px;
}

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

.service-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.06);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    margin-bottom: 24px;
    color: var(--navy);
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    border-color: var(--gold);
    color: var(--gold);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card__desc {
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--gray-600);
    font-weight: 300;
}

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

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

.about__image-wrapper {
    border-radius: 2px;
    overflow: hidden;
}

.about__image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about__content {
    padding-top: 8px;
}

.about__divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 32px;
}

.about__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-600);
    margin-bottom: 20px;
    font-weight: 300;
}

.about__signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.about__signature-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.about__signature-text strong {
    color: var(--navy);
    font-weight: 500;
}

/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.08), transparent 60%);
    pointer-events: none;
}

.why-us .section-eyebrow {
    color: var(--gold);
}

.why-us .section-title {
    color: var(--white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 72px;
    position: relative;
}

.why-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    transition: all var(--transition);
}

.why-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.why-card__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.why-card__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card__desc {
    font-size: 0.925rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: var(--off-white);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 72px;
}

.testimonial-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.05);
}

.testimonial-card__quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.5;
}

.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-weight: 300;
    font-style: italic;
}

.testimonial-card__attribution {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-card__name {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
}

.cta__content {
    flex: 1;
}

.cta__headline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta__subheadline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.7;
}

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

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

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

.contact__divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 32px;
}

.contact__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-weight: 300;
}

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

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

.contact__detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    color: var(--navy);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 400;
}

.contact__detail-value a:hover {
    color: var(--gold);
}

/* --- Form --- */
.contact__form-wrapper {
    background: var(--off-white);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid var(--gray-200);
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.925rem;
    font-weight: 300;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    outline: none;
    transition: border-color var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 2px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #166534;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    padding: 72px 0 0;
    background: var(--navy-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 16px;
}

.footer__logo svg {
    color: var(--gold);
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer__link {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 0;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--white);
}

.footer__contact-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    font-weight: 300;
}

.footer__contact-link {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer__contact-link:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 48px;
    }
    
    .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;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 40px;
    }
    
    .hero__image-wrapper img {
        height: 480px;
    }
    
    .hero__image-accent {
        display: none;
    }
    
    .hero__trust {
        flex-wrap: wrap;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__image-wrapper img {
        height: 320px;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .why-us__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta__actions .btn {
        justify-content: center;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-wrapper {
        padding: 32px 24px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .hero__trust {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero__trust-divider {
        display: none;
    }
}
