/* ── seo-content.css — shared styles for SEO/content pages ── */

:root {
    --oc:       #eb671b;
    --oc-dark:  #c85614;
    --oc-soft:  rgba(235,103,27,.09);
    --bg:       #ffffff;
    --bg-off:   #f7f7f5;
    --bg-dk:    #0f0e0d;
    --txt:      #111110;
    --txt-mid:  #4a4845;
    --txt-dim:  #8a8784;
    --bdr:      rgba(0,0,0,.08);
    --r:        14px;
    --rl:       22px;
    --ease:     cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px; line-height: 1.65;
    color: var(--txt); background: var(--bg);
    overflow-x: hidden;
}
body.has-fixed-nav { padding-top: 88px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

body::before {
    content: ''; position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    background-size: 200px 200px; pointer-events: none; z-index: 9999; opacity: .4;
}

/* ── HERO ── */
.seo-hero {
    background: var(--bg-dk); padding: 80px 0 70px; position: relative; overflow: hidden;
}
.seo-hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 2.5rem;
    align-items: center;
}
.seo-hero-media {
    border-radius: var(--rl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 24px 48px rgba(0,0,0,.35);
    aspect-ratio: 4/3;
}
.seo-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.seo-case-feature {
    border-radius: var(--rl);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bdr);
}
.seo-case-feature img {
    width: 100%; max-height: 320px;
    object-fit: cover; display: block;
}
.seo-hero::before {
    content: ''; position: absolute; top: -120px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(235,103,27,.16) 0%, transparent 65%);
    pointer-events: none;
}
.seo-wrap { max-width: 1100px; margin: 0 auto; padding: 0 5%; }
.seo-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: .78rem; color: rgba(255,255,255,.35); margin-bottom: 1.4rem;
}
.seo-breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.seo-breadcrumb a:hover { color: var(--oc); }
.seo-breadcrumb svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }
.seo-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
    line-height: 1.08; letter-spacing: -.025em;
    color: #fff; margin-bottom: 1.2rem; max-width: 700px;
}
.seo-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--oc), #ff8c42);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.seo-hero .lead {
    font-size: 1.05rem; color: rgba(255,255,255,.65);
    line-height: 1.8; max-width: 580px; margin-bottom: 1.8rem;
}
.seo-cta {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: 13px 26px; background: var(--oc); color: #fff;
    font-weight: 700; font-size: .95rem; border-radius: 50px;
    transition: background .25s, transform .25s, box-shadow .25s;
    white-space: nowrap;
}
.seo-cta:hover { background: var(--oc-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(235,103,27,.35); }
.seo-cta svg { stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── BODY LAYOUT ── */
.seo-body { padding: 70px 0 90px; }
.seo-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem; align-items: start;
}
.seo-main { min-width: 0; }

/* ── SECTIONS ── */
.seo-section { margin-bottom: 3rem; }
.seo-section h2 {
    font-size: 1.35rem; font-weight: 800;
    letter-spacing: -.01em; color: var(--txt);
    margin-bottom: 1.2rem; padding-bottom: .7rem;
    border-bottom: 2px solid var(--bdr);
}

/* ── CHECK LIST ── */
.seo-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.seo-list li {
    display: flex; align-items: flex-start; gap: .75rem;
    font-size: .97rem; color: var(--txt-mid); line-height: 1.65;
}
.seo-list li::before {
    content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px;
    background: var(--oc-soft); border-radius: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23eb671b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-position: center; background-repeat: no-repeat;
}

/* ── CARD GRID ── */
.seo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seo-card {
    padding: 1.4rem 1.3rem; border: 1px solid var(--bdr);
    border-radius: var(--r); background: var(--bg-off);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.seo-card:hover { border-color: var(--oc); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.seo-card h3 { font-size: 1rem; font-weight: 700; color: var(--txt); margin-bottom: .5rem; }
.seo-card p { font-size: .9rem; color: var(--txt-mid); line-height: 1.65; margin-bottom: .7rem; }
.seo-card a { font-size: .85rem; font-weight: 700; color: var(--oc); display: inline-flex; align-items: center; gap: 4px; }
.seo-card a::after { content: '→'; }
.seo-card-icon {
    width: 40px; height: 40px; background: var(--oc-soft);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    margin-bottom: .9rem;
}
.seo-card-icon svg { width: 18px; height: 18px; stroke: var(--oc); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── FAQ ── */
.seo-faq { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.seo-faq-item {
    border: 1px solid var(--bdr); border-radius: var(--r); overflow: hidden;
    transition: border-color .2s;
}
.seo-faq-item.open { border-color: rgba(235,103,27,.3); }
.seo-faq-q {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer;
    font-weight: 700; font-size: .97rem; color: var(--txt);
    background: var(--bg); user-select: none;
    list-style: none; transition: background .2s;
}
.seo-faq-q:hover { background: var(--bg-off); }
.seo-faq-q .faq-icon {
    flex-shrink: 0; width: 22px; height: 22px;
    background: var(--bg-off); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .3s;
}
.seo-faq-item.open .faq-icon { background: var(--oc-soft); transform: rotate(45deg); }
.seo-faq-q .faq-icon svg { width: 12px; height: 12px; stroke: var(--txt-mid); fill: none; stroke-width: 2.5; }
.seo-faq-item.open .faq-icon svg { stroke: var(--oc); }
.seo-faq-a {
    padding: 0 1.3rem; max-height: 0; overflow: hidden;
    font-size: .95rem; color: var(--txt-mid); line-height: 1.75;
    transition: max-height .3s var(--ease), padding .3s;
}
.seo-faq-item.open .seo-faq-a { max-height: 300px; padding: 0 1.3rem 1.2rem; }

/* ── SECTOR CASES GRID ── */
.seo-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.seo-case-card {
    display: flex; flex-direction: column;
    padding: 0;
    border: 1px solid var(--bdr); border-radius: var(--r);
    background: var(--bg-off);
    overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.seo-case-card:hover {
    border-color: rgba(235,103,27,.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.seo-case-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #e8e6e3;
}
.seo-case-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}
.seo-case-card:hover .seo-case-card-img img { transform: scale(1.05); }
.seo-case-card-body {
    padding: 1.1rem 1.15rem 1.2rem;
    flex: 1; display: flex; flex-direction: column;
}
.seo-case-card .seo-case-tag {
    display: inline-block; font-size: .68rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--oc); margin-bottom: .5rem;
}
.seo-case-card h3 {
    font-size: 1rem; font-weight: 800; color: var(--txt);
    margin-bottom: .35rem; line-height: 1.25;
}
.seo-case-card p {
    font-size: .88rem; color: var(--txt-mid); line-height: 1.55; margin: 0; flex: 1;
}

/* ── RELATED LINKS / TAGS ── */
.seo-related { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.seo-related a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .65rem .9rem; font-size: .9rem; font-weight: 500;
    color: var(--txt); border: 1px solid var(--bdr);
    border-radius: var(--r); background: var(--bg-off);
    transition: border-color .2s, color .2s, background .2s;
}
.seo-related a::after { content: '→'; font-size: .8rem; color: var(--txt-dim); transition: color .2s; }
.seo-related a:hover { border-color: var(--oc); color: var(--oc); background: var(--oc-soft); }
.seo-related a:hover::after { color: var(--oc); }

/* ── SIDEBAR ── */
.seo-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 108px; }
.seo-sidebar-card {
    padding: 1.5rem; border-radius: var(--rl);
    border: 1px solid var(--bdr);
}
.seo-sidebar-card.dark { background: var(--bg-dk); border-color: rgba(255,255,255,.07); }
.seo-sidebar-card h4 {
    font-size: .75rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--oc); margin-bottom: 1rem;
}
.seo-sidebar-card.dark h4 { color: var(--oc); }
.seo-contact-body { display: flex; flex-direction: column; gap: .8rem; }
.seo-contact-body p { font-size: .92rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.seo-contact-btn {
    display: flex; align-items: center; justify-content: center; gap: .4rem;
    padding: 11px 16px; background: var(--oc); color: #fff;
    font-weight: 700; font-size: .9rem; border-radius: 50px;
    transition: background .2s, transform .2s;
}
.seo-contact-btn:hover { background: var(--oc-dark); transform: translateY(-1px); }
.seo-contact-btn svg { width: 16px; height: 16px; fill: currentColor; }
.seo-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.seo-tag {
    padding: 4px 10px; background: var(--bg-off);
    border: 1px solid var(--bdr); border-radius: 50px;
    font-size: .78rem; color: var(--txt-mid); transition: border-color .2s, color .2s;
}
.seo-tag:hover { border-color: var(--oc); color: var(--oc); }

/* ── FOOTER ── */
.seo-footer { background: var(--bg-dk); padding: 60px 0 32px; }
.seo-footer-content {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.seo-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: .8rem; }
.seo-footer-brand img { height: 28px; width: auto; }
.seo-footer-brand span { font-weight: 800; font-size: .95rem; color: #fff; }
.seo-footer-about p { color: rgba(255,255,255,.38); font-size: .85rem; line-height: 1.7; }
.seo-footer-col h5 {
    font-size: .72rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: .9rem;
}
.seo-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.seo-footer-col a { font-size: .88rem; color: rgba(255,255,255,.48); transition: color .2s; }
.seo-footer-col a:hover { color: var(--oc); }
.seo-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.seo-footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.2); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .seo-grid { grid-template-columns: 1fr; }
    .seo-sidebar { position: static; }
    .seo-footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .seo-hero-grid { grid-template-columns: 1fr; }
    .seo-hero-media { max-width: 100%; order: -1; }
}
@media (max-width: 640px) {
    .seo-hero { padding: 60px 0 50px; }
    .seo-cards { grid-template-columns: 1fr; }
    .seo-body { padding: 50px 0 60px; }
    .seo-footer-content { grid-template-columns: 1fr; }
}
