/* =============================================
   The Connector — Global Styles
   Yajaira Morell | theconnector.social
   ============================================= */

/* CSS Custom Properties — BLACK + GOLD brand */
:root {
    --black:        #0A0A0A;
    --near-black:   #141414;
    --charcoal:     #1C1C1C;
    --gold:         #C9A24B;
    --gold-light:   #DAAF4E;
    --gold-pale:    rgba(201,162,75,0.15);
    --ivory:        #F7F4ED;
    --white:        #FFFFFF;
    --text-light:   rgba(255,255,255,0.85);
    --text-muted:   rgba(255,255,255,0.55);
    --font-heading: 'Playfair Display', serif;
    --font-body:    'Inter', sans-serif;
    --font-script:  'Great Vibes', cursive;
    --header-height: 90px;
}

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

html { scroll-padding-top: var(--header-height); scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Typography Helpers ─── */
.text-gold   { color: var(--gold); }
.text-accent { color: var(--gold); font-style: italic; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-weight: 400;
    font-family: var(--font-heading);
    font-style: italic;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-outline {
    border-color: var(--black);
    color: var(--black);
}
.btn-outline:hover {
    background-color: var(--black);
    color: var(--ivory);
}

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

/* ─── Header / Nav ─── */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--black);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.main-nav a.nav-link {
    color: var(--ivory);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    font-weight: 400;
}
.main-nav a.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: -4px; left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.main-nav a.nav-link:hover::after,
.main-nav a.nav-link.active::after { width: 100%; }
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active { color: var(--gold); }

.main-nav a.nav-cta {
    background: var(--gold);
    color: var(--black);
    padding: 0.5rem 1.2rem;
    font-weight: 600;
}
.main-nav a.nav-cta:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold);
}
.main-nav a.nav-cta::after { display: none; }

/* ─── Hero Section ─── */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--near-black) 40%, var(--charcoal) 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.45) 100%);
    z-index: 1;
}
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(201,162,75,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 80%, rgba(201,162,75,0.05) 0%, transparent 50%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}
.hero-kicker {
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.hero h1 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
}
.hero-sub {
    color: var(--text-light);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 620px;
    line-height: 1.8;
    font-weight: 300;
}
.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ─── About Section ─── */
.about { padding: 8rem 4rem; background-color: var(--ivory); }
.about-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    line-height: 1.9;
    font-weight: 300;
}
.about-visual {
    position: relative;
}
.about-accent-block {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    height: 380px;
    border-radius: 2px;
    opacity: 0.9;
}
.about-quote {
    position: absolute;
    bottom: -40px;
    left: -40px;
    background: var(--black);
    padding: 3rem;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.about-quote p {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ivory);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.about-signature {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--gold);
}

/* ─── Services Section ─── */
.services {
    padding: 8rem 4rem;
    background-color: var(--near-black);
    position: relative;
}
.services::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(201,162,75,0.04) 0%, transparent 70%);
    z-index: 1;
}
.services-content {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}
.services h2 { color: var(--white); }
.services .section-subtitle { color: var(--gold); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.service-card {
    background: rgba(255,255,255,0.03);
    padding: 3rem 2rem;
    border: 1px solid rgba(201,162,75,0.15);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}
.service-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    color: var(--ivory);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
}

/* ─── Approach Section ─── */
.approach {
    padding: 8rem 4rem;
    background-color: var(--ivory);
}
.approach-content {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.approach-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-top: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.approach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.approach-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
}
.approach-card p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.8;
    font-weight: 300;
}

/* ─── CTA Banner ─── */
.cta-banner {
    background-color: var(--black);
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, var(--gold-pale) 0%, rgba(10,10,10,0) 70%);
    z-index: 1;
}
.cta-content { position: relative; z-index: 10; }
.cta-banner h2 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
    font-weight: 600;
}
.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ─── Page Content (inner pages) ─── */
.page-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
    overflow: hidden;
}
.page-hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4vw, 3.4rem); font-family: var(--font-heading); font-weight: 700; }
.page-hero p  { color: var(--gold); font-size: 1.15rem; margin-top: 0.8rem; font-family: var(--font-heading); font-style: italic; }

.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.page-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}
.page-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* ─── Contact Form ─── */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 2rem;
}
.contact-info-block h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-weight: 600;
}
.contact-info-block ul { list-style: none; }
.contact-info-block li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 300;
}
.contact-info-block i { color: var(--gold); width: 20px; }
.contact-info-block a:hover { color: var(--gold); }
.social-links { display: flex; gap: 1.5rem; margin-top: 2rem; }
.social-links a {
    font-size: 1.5rem;
    color: var(--black);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover { color: var(--gold); transform: translateY(-3px); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.15);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    transition: border-color 0.3s ease;
    outline: none;
    font-weight: 300;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ─── Footer ─── */
.site-footer {
    background-color: var(--black);
    color: var(--text-light);
    padding: 6rem 4rem 2rem;
    border-top: 1px solid rgba(201,162,75,0.2);
}
.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-contact { list-style: none; }
.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 300;
    font-size: 0.95rem;
}
.footer-contact i { color: var(--gold); width: 18px; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover { color: var(--gold); transform: translateY(-3px); }
.footer-expertise {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.9;
    font-weight: 300;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    opacity: 0.5;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ─── Animations ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .site-header { padding: 0 2rem; }
    .about, .services, .approach, .cta-banner { padding: 6rem 2rem; }
    .hero { padding: 0 2rem; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .about-quote { position: relative; bottom: auto; left: auto; max-width: 100%; margin-top: 2rem; }
    .about-accent-block { height: 250px; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .page-content { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; }
    .section-title { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .site-footer { padding: 4rem 2rem 2rem; }
}
