/* ══════════════════════════════════════════════
   Graciano SEO Landing Pages — Shared Styles
   ══════════════════════════════════════════════ */

:root {
  --green: #466766;
  --green-light: #5a8585;
  --green-pale: #e8efef;
  --green-wash: #f2f7f7;
  --cream: #FDFBF7;
  --warm: #FAF6F0;
  --stone: #C8A87C;
  --stone-light: #e6d5b8;
  --charcoal: #1a1a18;
  --text: #2c2c28;
  --text-light: #6b6b63;
  --border: #e5e0d8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400; color: var(--text);
  background: var(--cream); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { width: 90%; max-width: 1400px; margin: 0 auto; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5%; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253,251,247,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; color: var(--charcoal);
  letter-spacing: 0.04em;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 10px 24px; border-radius: 6px;
  font-size: 12px !important; letter-spacing: 0.08em !important;
  text-transform: uppercase; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-light) !important; }
.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-ham span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--green);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-bottom: 24px; display: flex; align-items: center; gap: 8px;
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb svg {
  width: 12px; height: 12px; stroke: rgba(255,255,255,0.35);
  fill: none; stroke-width: 2;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 400;
  color: #fff; letter-spacing: -0.02em;
  line-height: 1.1; max-width: 800px;
}
.page-hero h1 em { font-style: italic; color: var(--stone-light); }
.page-hero .hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.6);
  margin-top: 20px; max-width: 640px; line-height: 1.7;
}

/* ── CONTENT LAYOUT ── */
.seo-content { padding: 80px 0 100px; }
.seo-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 80px; align-items: start;
}
.seo-main {}

.seo-main h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px); font-weight: 400;
  color: var(--charcoal); letter-spacing: -0.01em;
  line-height: 1.2; margin: 56px 0 20px;
}
.seo-main h2:first-child { margin-top: 0; }

.seo-main h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: var(--charcoal); margin: 40px 0 14px;
}

.seo-main p {
  font-size: 16px; line-height: 1.8;
  color: var(--text-light); margin-bottom: 20px;
}

.seo-main ul, .seo-main ol {
  margin: 16px 0 24px 0; padding-left: 0;
  list-style: none;
}
.seo-main ul li, .seo-main ol li {
  font-size: 15px; line-height: 1.7;
  color: var(--text-light); padding: 8px 0 8px 28px;
  position: relative; border-bottom: 1px solid var(--border);
}
.seo-main ul li:last-child, .seo-main ol li:last-child { border-bottom: none; }
.seo-main ul li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-pale); border: 2px solid var(--green);
}

/* Highlight box for key benefits */
.benefit-box {
  background: var(--green-wash); border-radius: 12px;
  padding: 32px; margin: 32px 0;
  border-left: 4px solid var(--green);
}
.benefit-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); margin: 0 0 16px;
}
.benefit-box ul { margin: 0; }
.benefit-box ul li { border-bottom-color: rgba(70,103,102,0.12); }

/* ── SIDEBAR ── */
.seo-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; margin-bottom: 24px;
}
.sidebar-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
}

/* Service links */
.sidebar-services { display: flex; flex-direction: column; gap: 0; }
.sidebar-services a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color 0.2s;
}
.sidebar-services a:last-child { border-bottom: none; }
.sidebar-services a:hover { color: var(--green); }
.sidebar-services a svg {
  width: 14px; height: 14px; stroke: var(--text-light);
  fill: none; stroke-width: 2; transition: stroke 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.sidebar-services a:hover svg { stroke: var(--green); transform: translateX(3px); }

/* Contact card */
.sidebar-contact {
  background: var(--green); border: none; color: #fff;
}
.sidebar-contact h4 { color: var(--stone-light); }
.sidebar-contact .sc-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600; color: #fff;
  text-decoration: none; display: block; margin-bottom: 8px;
  transition: opacity 0.2s;
}
.sidebar-contact .sc-phone:hover { opacity: 0.85; }
.sidebar-contact .sc-email {
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: color 0.2s;
}
.sidebar-contact .sc-email:hover { color: #fff; }
.sidebar-contact .sc-btn {
  display: block; text-align: center;
  margin-top: 24px; padding: 14px;
  background: #fff; color: var(--green);
  border-radius: 8px; font-size: 13px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.sidebar-contact .sc-btn:hover { background: var(--cream); }

/* Awards card */
.sidebar-awards { background: var(--warm); border-color: transparent; }
.sidebar-awards h4 { color: var(--stone); }
.sidebar-award {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; line-height: 1.5;
}
.sidebar-award:last-child { border-bottom: none; }
.sidebar-award strong {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 2px;
}
.sidebar-award span { color: var(--text-light); }

/* WBE badge in sidebar */
.sidebar-wbe {
  text-align: center; padding: 28px;
}
.sidebar-wbe img {
  width: 120px; height: auto; margin-bottom: 12px;
}
.sidebar-wbe p {
  font-size: 12px; color: var(--text-light);
  line-height: 1.5;
}

/* ── CTA SECTION ── */
.seo-cta {
  padding: 100px 0; background: var(--green);
  text-align: center; position: relative; overflow: hidden;
}
.seo-cta::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.seo-cta .container { position: relative; z-index: 1; }
.seo-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  color: #fff; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.seo-cta h2 em { font-style: italic; color: var(--stone-light); }
.seo-cta p {
  font-size: 17px; color: rgba(255,255,255,0.6);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.7;
}
.seo-cta .cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.btn-w {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--green);
  padding: 16px 36px; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
}
.btn-w:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-w svg { transition: transform 0.25s; }
.btn-w:hover svg { transform: translateX(3px); }
.btn-g {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  padding: 16px 36px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.25);
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; transition: border-color 0.25s;
}
.btn-g:hover { border-color: rgba(255,255,255,0.6); }
.seo-cta .cta-locs {
  margin-top: 32px; font-size: 13px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
}

/* ── SEO FOOTER (hidden links for crawlers) ── */
.seo-footer-links {
  padding: 48px 0 0; background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.seo-footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; padding-bottom: 40px;
}
.seo-footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.seo-footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.4); text-decoration: none;
  margin-bottom: 8px; line-height: 1.5; transition: color 0.2s;
}
.seo-footer-col a:hover { color: rgba(255,255,255,0.8); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); padding: 80px 0 40px;
  color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand img { height: 36px; width: auto; filter: brightness(10); }
.footer-desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.4); max-width: 300px;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.footer-socials a:hover { border-color: rgba(255,255,255,0.3); }
.footer-socials svg {
  width: 16px; height: 16px;
  fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── REVEAL ANIMATIONS ── */
.rv { opacity: 0; transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.rv.fade-up { transform: translateY(40px); }
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.1s; }
.rv.d2 { transition-delay: 0.2s; }
.rv.d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .seo-grid { grid-template-columns: 1fr; gap: 60px; }
  .seo-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .seo-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .seo-sidebar { grid-template-columns: 1fr; }
  .seo-footer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .seo-cta .cta-actions { flex-direction: column; align-items: center; }
}
