/* ============================================
   DIAMOLYN MOBILE NOTARY — CUSTOM STYLES
   Palette: Forest Green + Off-White + Gold
   ============================================ */

/* --- Custom Properties --- */
:root {
    --forest: #1B4332;
    --forest-deep: #0E2A1E;
    --forest-light: #2D6A4F;
    --forest-muted: #40916C;
    --offwhite: #F5F0E8;
    --offwhite-light: #FAF7F2;
    --cream: #EDE6D8;
    --charcoal: #1A1A1A;
    --charcoal-light: #2D2D2D;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-muted: #B8943F;
    --gold-pale: #F0E2B6;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--offwhite);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow var(--transition);
}
.nav-fixed.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: -0.01em;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-text .text-gold { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 500; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a {
    color: var(--charcoal);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--forest); }
.nav-links a:not(.btn):hover::after { width: 100%; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-gold {
    background: var(--gold);
    color: var(--forest-deep);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.btn-outline-light {
    background: transparent;
    color: var(--offwhite);
    border-color: rgba(245, 240, 232, 0.5);
}
.btn-outline-light:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--offwhite);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Hamburger --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--forest);
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 80%, var(--gold) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--gold) 0%, transparent 50%);
    pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--offwhite);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-title em {
    font-style: normal;
    color: var(--gold);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 240, 232, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hero Image */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/5;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}
.hero-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--offwhite);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.hero-stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--charcoal-light);
    font-weight: 500;
    line-height: 1.4;
}

/* --- Section Shared --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--forest);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #5A5A5A;
    line-height: 1.7;
    max-width: 600px;
}
.text-gold { color: var(--gold-muted); }

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--offwhite);
}
.services .section-label,
.services .section-title,
.services .section-subtitle { margin-left: 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(27, 67, 50, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(27, 67, 50, 0.1); }
.service-card-title {
    font-size: 1.2rem;
    color: var(--forest);
    margin-bottom: 10px;
    font-weight: 600;
}
.service-card-desc {
    font-size: 0.92rem;
    color: #5A5A5A;
    line-height: 1.65;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--offwhite-light);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-col {
    position: relative;
}
.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}
.about-image-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--offwhite-light);
}
.about-img-sm {
    width: 280px;
    height: 200px;
    object-fit: cover;
}
.about-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--forest);
    color: var(--offwhite);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}
.about-body {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--forest);
    position: relative;
    overflow: hidden;
}
.process::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 30% 70%, var(--gold) 0%, transparent 50%),
                      radial-gradient(circle at 70% 30%, var(--gold) 0%, transparent 50%);
    pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process .section-label { color: var(--gold); }
.process .section-title { color: var(--offwhite); }
.process .section-title .text-gold { color: var(--gold); }
.process .section-subtitle { color: rgba(245, 240, 232, 0.65); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}
.process-step {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.process-step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateY(-4px);
}
.process-step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}
.process-step-line {
    position: absolute;
    top: 50px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.4;
}
.process-step:last-child .process-step-line { display: none; }
.process-step-title {
    font-size: 1.25rem;
    color: var(--offwhite);
    margin-bottom: 10px;
    font-weight: 600;
}
.process-step-desc {
    font-size: 0.92rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.65;
}

/* --- Areas --- */
.areas {
    padding: 100px 0;
    background: var(--offwhite);
}
.areas-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.areas-body {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.75;
    margin-bottom: 28px;
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.area-tag {
    background: white;
    border: 1px solid rgba(27, 67, 50, 0.1);
    color: var(--forest);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}
.area-tag:hover {
    background: var(--forest);
    color: var(--offwhite);
    border-color: var(--forest);
}
.areas-map-wrap {
    display: flex;
    justify-content: center;
}
.areas-map-placeholder {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    background: var(--forest);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--offwhite);
    position: relative;
}
.areas-map-placeholder::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px dashed rgba(201, 168, 76, 0.3);
    border-radius: 50%;
}
.areas-map-placeholder::after {
    content: '';
    position: absolute;
    inset: 56px;
    border: 1px dashed rgba(201, 168, 76, 0.15);
    border-radius: 50%;
}
.areas-map-placeholder svg { opacity: 0.8; }
.areas-map-placeholder span {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}
.areas-map-placeholder small {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 400;
}

/* --- CTA / Contact --- */
.cta-section {
    padding: 100px 0;
    background: var(--offwhite-light);
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.cta-title { margin-bottom: 16px; }
.cta-body {
    font-size: 1rem;
    color: #4A4A4A;
    line-height: 1.75;
    margin-bottom: 32px;
}
.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
    transition: color var(--transition);
}
.cta-contact-item:hover { color: var(--forest); }
.cta-contact-item svg { flex-shrink: 0; }

/* --- Form --- */
.cta-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 67, 50, 0.06);
}
.cta-form-title {
    font-size: 1.4rem;
    color: var(--forest);
    margin-bottom: 28px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E0DCD4;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--offwhite-light);
    transition: all var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: var(--gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.form-input::placeholder { color: #A09888; }
.form-select { cursor: pointer; 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='%231B4332' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(27, 67, 50, 0.06);
    border: 1px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--forest);
}

/* --- Footer --- */
.footer {
    background: var(--forest-deep);
    color: var(--offwhite);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--offwhite);
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 0.88rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.7;
    max-width: 300px;
}
.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--offwhite); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-link {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color var(--transition);
}
.footer-contact-link:hover { color: var(--gold); }
.footer-address {
    font-size: 0.9rem;
    color: rgba(245, 240, 232, 0.5);
    line-height: 1.5;
}
.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.35);
}

/* --- Mobile Menu --- */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--offwhite);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 20px;
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a:not(.btn) { font-size: 1rem; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition);
    }
    .nav-overlay.active { opacity: 1; pointer-events: all; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrap { justify-content: center; }
    .hero-image-frame { max-width: 360px; margin: 0 auto; }
    .hero-image-accent { display: none; }
    .hero-stat-card { bottom: -12px; left: 50%; transform: translateX(-50%); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; gap: 48px; }
    .about-image-secondary { right: 0; bottom: -24px; }
    .process-steps { grid-template-columns: 1fr; gap: 20px; }
    .process-step-line { display: none; }
    .areas-inner { grid-template-columns: 1fr; gap: 40px; }
    .areas-map-wrap { order: -1; }
    .cta-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .hero { padding: 90px 0 50px; }
    .hero-title { font-size: 1.9rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .about-image-secondary { display: none; }
    .cta-form-wrap { padding: 24px; }
    .section-title { font-size: 1.6rem; }
}

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