/* sg-landing-page — page-specific styles (About + Portfolio etc.)
   Loaded on hardcoded redesigned pages. */

/* ===== Shared primitives ===== */
.sg-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.sg-text-center { text-align: center; }
.sg-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sg-green, #1A4D3A);
    margin: 0 0 12px;
}
.sg-section-heading {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #111;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.sg-section-lede {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5550;
    max-width: 760px;
    margin: 0 0 48px;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-family: 'Glacial Indifference', sans-serif;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.sg-btn-light { background: #fff; color: #1A4D3A; }
.sg-btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.sg-btn-dark { background: #1A4D3A; color: #fff; }
.sg-btn-dark:hover { background: #2d8659; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,77,58,0.25); }

/* ===== About: hero ===== */
.sg-about-page { font-family: 'Glacial Indifference', 'Inter', sans-serif; color: #111; }

.sg-about-hero {
    background: #1A4D3A;
    color: #fff;
    padding: 120px 0 96px;
    overflow: hidden;
}
.sg-about-hero .sg-eyebrow { color: #b7d8c5; }
.sg-about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}
.sg-about-hero-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    color: #fff;
}
.sg-about-hero-title em {
    font-style: normal;
    color: #b7d8c5;
}
.sg-about-hero-sub {
    font-size: 1.2rem;
    line-height: 1.55;
    color: #d5e3dc;
    margin: 0 0 36px;
    max-width: 520px;
}
.sg-about-hero-art {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.sg-about-hero-art img { display: block; width: 100%; height: auto; }

/* ===== About: trust pillars ===== */
.sg-about-trust {
    background: #F8F9F2;
    padding: 100px 0;
}
.sg-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 16px;
}
.sg-pillar {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #e8ebe1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26,77,58,0.08);
}
.sg-pillar-num {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    color: #1A4D3A;
    font-size: 2.2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}
.sg-pillar h3 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #1A4D3A;
    font-weight: 700;
}
.sg-pillar p { color: #5b6660; line-height: 1.65; margin: 0; }

/* ===== About: stats ===== */
.sg-about-stats {
    background: #1A4D3A;
    color: #fff;
    padding: 88px 0;
}
.sg-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sg-stat {
    text-align: center;
    padding: 24px 12px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.sg-stat:last-child { border-right: none; }
.sg-stat-num {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.sg-stat-num span { color: #b7d8c5; }
.sg-stat-label {
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d5e3dc;
    font-weight: 500;
}

/* ===== About: story ===== */
.sg-about-story {
    background: #fff;
    padding: 120px 0;
}
.sg-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}
.sg-story-art {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.sg-story-art img { display: block; width: 100%; height: auto; }
.sg-story-text h2 {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #1A4D3A;
    margin: 0 0 32px;
    letter-spacing: -0.01em;
}
.sg-story-block { margin-bottom: 32px; }
.sg-story-block h3 {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1A4D3A;
    font-size: 0.95rem;
    margin: 0 0 10px;
    font-weight: 700;
}
.sg-story-block p {
    color: #2a302e;
    line-height: 1.75;
    margin: 0;
    font-size: 1.05rem;
}

/* ===== About: team ===== */
.sg-about-team {
    background: #F8F9F2;
    padding: 100px 0;
    text-align: center;
}
.sg-about-team h2 { color: #1A4D3A; }
.sg-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.sg-team-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}
.sg-team-grid img:hover { transform: scale(1.02); }

/* ===== About: values ===== */
.sg-about-values {
    background: #fff;
    padding: 120px 0;
}
.sg-about-values h2 { color: #1A4D3A; }
.sg-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.sg-value-card {
    background: #F8F9F2;
    border-radius: 20px;
    padding: 40px 32px;
    border-top: 4px solid #1A4D3A;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26,77,58,0.10);
}
.sg-value-card h3 {
    font-size: 1.45rem;
    margin: 0 0 14px;
    color: #1A4D3A;
    font-weight: 700;
}
.sg-value-card p {
    color: #4a5550;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* ===== About: bottom CTA ===== */
.sg-about-cta {
    background: #1A4D3A;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.sg-about-cta h2 {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 20px;
    color: #fff;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
}
.sg-about-cta p {
    font-size: 1.15rem;
    color: #d5e3dc;
    margin: 0 0 36px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .sg-about-hero { padding: 80px 0; }
    .sg-about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sg-pillars { grid-template-columns: 1fr; }
    .sg-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .sg-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 32px; }
    .sg-stat:nth-last-child(-n+2) { border-bottom: none; }
    .sg-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .sg-story-art { order: 2; }
    .sg-team-grid { grid-template-columns: repeat(2, 1fr); }
    .sg-team-grid img { height: 260px; }
    .sg-values-grid { grid-template-columns: 1fr; }
    .sg-about-trust, .sg-about-stats, .sg-about-story, .sg-about-team, .sg-about-values, .sg-about-cta {
        padding: 64px 0;
    }
}
@media (max-width: 540px) {
    .sg-container { padding: 0 20px; }
    .sg-stats-grid { grid-template-columns: 1fr; }
    .sg-team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE PAGES (Brand / Tech / Media / Film)
   ============================================================ */
.sg-service-page { font-family: 'Glacial Indifference', 'Inter', sans-serif; color: #111; }

/* Hero */
.sg-svc-hero {
    background: #1A4D3A;
    color: #fff;
    padding: 120px 0 100px;
    overflow: hidden;
}
.sg-svc-hero .sg-eyebrow { color: #b7d8c5; }
.sg-svc-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.sg-svc-hero-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 24px;
}
.sg-svc-hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #d5e3dc;
    margin: 0 0 32px;
    max-width: 540px;
}
.sg-svc-hero-art {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.sg-svc-hero-art img { display: block; width: 100%; height: auto; }

/* Services grid */
.sg-svc-offer { background: #F8F9F2; padding: 100px 0; }
.sg-svc-offer h2 { color: #1A4D3A; }
.sg-svc-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.sg-svc-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid #e8ebe1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sg-svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,77,58,0.08); }
.sg-svc-card-num {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    color: #1A4D3A;
    font-size: 2rem;
    opacity: 0.4;
    margin-bottom: 16px;
}
.sg-svc-card h3 {
    font-size: 1.45rem;
    color: #1A4D3A;
    margin: 0 0 14px;
    font-weight: 700;
    line-height: 1.25;
}
.sg-svc-card p { color: #4a5550; line-height: 1.7; margin: 0; font-size: 1rem; }

/* 4-step process */
.sg-svc-process { background: #fff; padding: 120px 0; }
.sg-svc-process h2 { color: #1A4D3A; }
.sg-svc-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    position: relative;
}
.sg-svc-step {
    background: #F8F9F2;
    border-radius: 20px;
    padding: 36px 28px;
    border-top: 4px solid #1A4D3A;
    transition: transform 0.2s ease;
}
.sg-svc-step:hover { transform: translateY(-4px); }
.sg-svc-step-num {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    color: #1A4D3A;
    font-size: 1.8rem;
    margin-bottom: 12px;
    opacity: 0.5;
}
.sg-svc-step h3 { font-size: 1.3rem; color: #1A4D3A; margin: 0 0 12px; font-weight: 700; }
.sg-svc-step p { color: #5b6660; line-height: 1.6; margin: 0; font-size: 0.98rem; }

/* Stats */
.sg-svc-stats { background: #1A4D3A; color: #fff; padding: 88px 0; }
.sg-svc-stats .sg-stats-heading { color: #fff !important; margin-bottom: 48px !important; }

/* Testimonials */
.sg-svc-testimonials { background: #F8F9F2; padding: 100px 0; }
.sg-svc-testimonials h2 { color: #1A4D3A; }
.sg-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.sg-testi-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #e8ebe1;
    margin: 0;
}
.sg-testi-card blockquote {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #2a302e;
    margin: 0 0 24px;
    border: none;
    padding: 0;
    font-style: normal;
    position: relative;
}
.sg-testi-card blockquote::before {
    content: '\201C';
    font-size: 4rem;
    color: #1A4D3A;
    opacity: 0.25;
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    font-family: serif;
}
.sg-testi-card figcaption {
    border-top: 1px solid #e8ebe1;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sg-testi-card figcaption strong { color: #1A4D3A; font-size: 1rem; }
.sg-testi-card figcaption span { color: #5b6660; font-size: 0.88rem; }

/* FAQ */
.sg-svc-faq { background: #fff; padding: 120px 0; }
.sg-svc-faq h2 { color: #1A4D3A; margin-bottom: 36px; }
.sg-faq-list { max-width: 920px; }
.sg-faq-item {
    background: #F8F9F2;
    border-radius: 14px;
    padding: 20px 26px;
    margin-bottom: 12px;
    border: 1px solid #e8ebe1;
}
.sg-faq-item summary {
    font-weight: 700;
    color: #1A4D3A;
    font-size: 1.08rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.sg-faq-item summary::-webkit-details-marker { display: none; }
.sg-faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    color: #1A4D3A;
    line-height: 1;
    transition: transform 0.2s ease;
}
.sg-faq-item[open] summary::after { transform: rotate(45deg); }
.sg-faq-answer {
    color: #4a5550;
    line-height: 1.7;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8ebe1;
}

/* Bottom CTA */
.sg-svc-cta { background: #1A4D3A; color: #fff; padding: 100px 0; text-align: center; }
.sg-svc-cta h2 {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    margin: 0 0 18px;
    color: #fff;
    letter-spacing: -0.01em;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.sg-svc-cta p {
    font-size: 1.1rem;
    color: #d5e3dc;
    margin: 0 0 32px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 980px) {
    .sg-svc-hero { padding: 72px 0 64px; }
    .sg-svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .sg-svc-offer-grid { grid-template-columns: 1fr; }
    .sg-svc-process-grid { grid-template-columns: 1fr 1fr; }
    .sg-testi-grid { grid-template-columns: 1fr; }
    .sg-svc-offer, .sg-svc-process, .sg-svc-stats, .sg-svc-testimonials, .sg-svc-faq, .sg-svc-cta {
        padding: 64px 0;
    }
}
@media (max-width: 540px) {
    .sg-svc-process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.sg-portfolio-page { font-family: 'Glacial Indifference', 'Inter', sans-serif; color: #111; }

/* Hero */
.sg-port-hero {
    background: #1A4D3A;
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
}
.sg-port-hero .sg-eyebrow { color: #b7d8c5; }
.sg-port-hero-title {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    color: #fff;
    margin: 0 auto 24px;
    letter-spacing: -0.02em;
    max-width: 980px;
}
.sg-port-hero-title em { font-style: normal; color: #b7d8c5; }
.sg-port-hero-sub {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #d5e3dc;
    margin: 0 auto;
    max-width: 760px;
}

/* Grid section */
.sg-port-grid-section { background: #F8F9F2; padding: 80px 0 100px; }

.sg-port-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}
.sg-port-filter {
    background: #fff;
    color: #1A4D3A;
    border: 1px solid #e8ebe1;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.18s ease;
}
.sg-port-filter:hover { background: #1A4D3A; color: #fff; border-color: #1A4D3A; }
.sg-port-filter-active { background: #1A4D3A !important; color: #fff !important; border-color: #1A4D3A !important; }

/* Card grid */
.sg-port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.sg-port-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #e8ebe1;
}
.sg-port-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26,77,58,0.12); }
.sg-port-card-link { text-decoration: none; color: inherit; display: block; }

.sg-port-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}
.sg-port-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sg-port-card:hover .sg-port-card-img img { transform: scale(1.05); }
.sg-port-card-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sg-port-card-cat {
    background: rgba(255,255,255,0.92);
    color: #1A4D3A;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.sg-port-card-arrow {
    background: #1A4D3A;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}
.sg-port-card:hover .sg-port-card-arrow { opacity: 1; transform: translateX(0); }

.sg-port-card-meta { padding: 22px 24px 26px; }
.sg-port-card-title {
    font-size: 1.3rem;
    color: #1A4D3A;
    margin: 0 0 6px;
    font-weight: 700;
    line-height: 1.25;
}
.sg-port-card-cat-text {
    color: #5b6660;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    font-weight: 500;
}

/* Trusted section */
.sg-port-trusted { background: #fff; padding: 100px 0; text-align: center; }
.sg-port-trusted h2 { color: #1A4D3A; }
.sg-port-trusted-sub {
    color: #5b6660;
    line-height: 1.7;
    margin: 16px auto 0;
    max-width: 720px;
    font-size: 1.05rem;
}

/* CTA */
.sg-port-cta { background: #1A4D3A; color: #fff; padding: 100px 0; text-align: center; }
.sg-port-cta h2 {
    font-family: 'Glacial Indifference', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    margin: 0 auto 18px;
    color: #fff;
    letter-spacing: -0.01em;
    max-width: 880px;
}
.sg-port-cta p {
    font-size: 1.1rem;
    color: #d5e3dc;
    margin: 0 auto 32px;
    max-width: 620px;
}

/* Responsive */
@media (max-width: 980px) {
    .sg-port-hero { padding: 80px 0 60px; }
    .sg-port-grid { grid-template-columns: repeat(2, 1fr); }
    .sg-port-grid-section, .sg-port-trusted, .sg-port-cta { padding: 64px 0; }
}
@media (max-width: 600px) {
    .sg-port-grid { grid-template-columns: 1fr; }
}
