/* ============================================
   MURPHY RONALD LAND SURVEYOR
   Premium Dark Luxury — Teal & Gold
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-darkest: #060a0d;
    --bg-dark: #0b1217;
    --bg-card: #0f1a21;
    --bg-card-hover: #132028;
    --bg-elevated: #162329;
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --teal-dark: #0a7a70;
    --teal-glow: rgba(13, 148, 136, 0.15);
    --gold: #d4a017;
    --gold-light: #e8b82a;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 160, 23, 0.12);
    --slate: #94a3b8;
    --slate-light: #cbd5e1;
    --slate-dark: #64748b;
    --white: #f8fafc;
    --white-muted: #e2e8f0;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--slate-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 10, 13, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(6, 10, 13, 0.95);
    border-bottom-color: rgba(212, 160, 23, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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

#nav { display: flex; align-items: center; }

#nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

#nav-menu a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

#nav-menu a:hover {
    color: var(--white);
    background: rgba(13, 148, 136, 0.1);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--bg-darkest) !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 160, 23, 0.05) 0%, transparent 50%),
        var(--bg-darkest);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-grid {
    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: var(--gold-glow);
    border: 1px solid rgba(212, 160, 23, 0.25);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-darkest);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal-light);
    background: var(--teal-glow);
}

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

.btn-outline-light:hover {
    border-color: var(--gold);
    color: var(--gold);
}

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

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--slate-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(148, 163, 184, 0.15);
}

/* Hero Image */
.hero-image-wrap {
    position: relative;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

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

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
}

.hero-float-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--bg-card);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-float-card strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.hero-float-card span {
    font-size: 0.8rem;
    color: var(--slate);
}

/* ========== SECTION COMMON ========== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.8;
}

/* ========== SERVICES ========== */
.services {
    background:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 60%),
        var(--bg-dark);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(13, 148, 136, 0.08);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(13, 148, 136, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.75;
}

/* ========== ABOUT ========== */
.about {
    background: var(--bg-darkest);
    position: relative;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--bg-darkest);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: var(--radius-md);
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.3);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bg-darkest);
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(6, 10, 13, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 24px; text-align: left; }

.about-lead {
    font-size: 1.1rem;
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--white-muted);
}

.about-content .btn { margin-top: 8px; }

/* ========== PROCESS ========== */
.process {
    background:
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(212, 160, 23, 0.05) 0%, transparent 50%),
        var(--bg-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--teal);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
}

.step-connector {
    display: none;
}

/* ========== AREAS ========== */
.areas {
    background: var(--bg-darkest);
    padding: 100px 0;
}

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

.areas-content .section-tag { margin-bottom: 16px; }
.areas-content .section-title { margin-bottom: 20px; text-align: left; }
.areas-desc {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 36px;
}

.areas-list {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.area-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--slate-light);
}

.area-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.areas-note {
    font-size: 0.9rem;
    color: var(--slate);
}

.areas-note a {
    color: var(--teal);
    text-decoration: none;
}

.areas-note a:hover { color: var(--gold); }

.areas-visual {
    position: relative;
}

.areas-visual img {
    display: block;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.areas-map-pin {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 80px 0;
    background:
        linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(212, 160, 23, 0.08) 100%);
    border-top: 1px solid rgba(13, 148, 136, 0.15);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1.05rem;
    color: var(--slate);
}

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

/* ========== CONTACT ========== */
.contact {
    background:
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
        var(--bg-dark);
}

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

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 20px; text-align: left; }
.contact-desc {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.92rem;
}

.contact-item a:hover { color: var(--gold); }

.contact-item span {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.7;
}

/* Form */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid rgba(13, 148, 136, 0.12);
    border-radius: var(--radius-lg);
    padding: 44px;
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.88rem;
    color: var(--slate);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-group 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 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--white);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 30px;
    background: var(--teal-glow);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.form-success strong {
    color: var(--teal-light);
    font-size: 1.05rem;
}

.form-success span {
    color: var(--slate);
    font-size: 0.9rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-darkest);
    border-top: 1px solid rgba(13, 148, 136, 0.1);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }

.footer-contact p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.9;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 24px 0;
    text-align: center;
}

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

/* ========== MOBILE MENU ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image-wrap { max-width: 500px; }

    .hero-float-card { left: 20px; bottom: 20px; }

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

    .about-grid { grid-template-columns: 1fr; gap: 60px; }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .areas-layout { grid-template-columns: 1fr; gap: 48px; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    #nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(6, 10, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(13, 148, 136, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    #nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    #nav-menu a {
        padding: 14px 16px;
        width: 100%;
    }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }

    .services-grid { grid-template-columns: 1fr; }

    .about-img-secondary { right: -10px; bottom: -15px; }

    .about-values { grid-template-columns: 1fr; }

    .process-steps { grid-template-columns: 1fr; gap: 32px; }

    .areas-list { flex-direction: column; gap: 12px; }

    .form-row { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }

    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { justify-content: center; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
