/* ═══ SEO PAGES — SHARED STYLES ═══ */
@font-face {
  font-family: 'Cinzel';
  src: url('/assets/fonts/Cinzel-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --near-black: #111111;
  --dark: #1a1a1a;
  --mid: #2f2f2f;
  --light-bg: #f4f3f1;
  --surface: #f9f8f6;
  --accent: #ac3509;
  --accent-light: #ff7043;
  --text-muted: #5f5e5c;
  --ff-head: 'Epilogue', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

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

body {
  font-family: var(--ff-body);
  background: var(--surface);
  color: var(--near-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 100; display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; padding: 0.75rem 2rem;
  background: rgba(10, 10, 10, 0.75); backdrop-filter: blur(20px) brightness(0.9);
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25); transition: all 0.4s; width: fit-content;
}

.top-logo {
  position: absolute; top: 2rem; left: 2.5rem; z-index: 50;
  width: 75px; height: 75px; display: flex; align-items: center; justify-content: center;
}
.top-logo img { width: 75px; height: 75px; object-fit: contain; }

.mobile-nav { display: none; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--ff-body); font-size: 0.85rem; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.2s;
  font-weight: 400; padding: 0.5rem 0.85rem; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Consult Button */
.consult-btn {
  position: absolute; top: 2.5rem; right: 1.5rem; z-index: 90;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem; background: #fff; color: #1a1a1a;
  text-decoration: none; border-radius: 999px;
  font-family: var(--ff-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s ease; white-space: nowrap;
}
.consult-btn:hover { background: #1a1a1a; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.consult-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ═══ SEO HERO ═══ */
.seo-hero {
  position: relative; min-height: 50vh; width: 100%; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  padding: 10rem 5% 5rem; text-align: center;
}
.seo-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--surface)); pointer-events: none;
}
.seo-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.seo-hero .seo-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.5rem;
  display: block;
}
.seo-hero h1 {
  font-family: var(--ff-head); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem); color: #e2dcd0;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 1.5rem;
}
.seo-hero .hero-desc {
  font-size: 1.05rem; line-height: 1.8; color: rgba(226,220,208,0.65);
  max-width: 600px; margin: 0 auto; font-weight: 300;
}

/* ═══ CONTENT SECTIONS ═══ */
.seo-content { background: var(--surface); padding: 5rem 5%; }
.seo-container { max-width: 820px; margin: 0 auto; }

.seo-content h2 {
  font-family: var(--ff-head); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: var(--near-black); margin: 3rem 0 1.25rem;
  letter-spacing: -0.01em; line-height: 1.3;
}
.seo-content h2:first-child { margin-top: 0; }

.seo-content h3 {
  font-family: var(--ff-head); font-size: 1.15rem; font-weight: 600;
  color: var(--near-black); margin: 2rem 0 0.75rem;
}

.seo-content p {
  font-size: 1rem; line-height: 1.85; color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.seo-content ul {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.seo-content ul li {
  font-size: 1rem; line-height: 1.85; color: var(--text-muted);
  padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
}
.seo-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.9rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

.seo-content a {
  color: var(--accent); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.seo-content a:hover { border-bottom-color: var(--accent); }

/* ═══ FAQ SECTION ═══ */
.faq-section { background: var(--light-bg); padding: 5rem 5%; }
.faq-section h2 {
  font-family: var(--ff-head); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: var(--near-black); text-align: center; margin-bottom: 3rem;
}

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid #e5e3df; transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.faq-q {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  font-family: var(--ff-body); font-size: 1rem; font-weight: 600;
  color: var(--near-black); text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q::after {
  content: '+'; font-size: 1.4rem; font-weight: 300; color: var(--accent);
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: '−'; transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 500px; }

.faq-a-inner {
  padding: 0 1.5rem 1.25rem; font-size: 0.95rem; line-height: 1.8;
  color: var(--text-muted);
}

/* ═══ CTA SECTION ═══ */
.seo-cta {
  background: var(--near-black); padding: 5rem 5%; text-align: center;
}
.seo-cta h2 {
  font-family: var(--ff-head); font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700; color: #e2dcd0; margin-bottom: 1rem;
}
.seo-cta p {
  font-size: 1rem; color: rgba(226,220,208,0.6); margin-bottom: 2rem;
  max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.seo-cta-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.5rem; background: var(--accent); color: #fff;
  text-decoration: none; border-radius: 999px;
  font-family: var(--ff-body); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(172,53,9,0.3);
}
.seo-cta-btn:hover { background: #c94010; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(172,53,9,0.4); }
.seo-cta-btn svg { width: 16px; height: 16px; }

/* Internal links section */
.seo-related {
  background: var(--surface); padding: 4rem 5%; border-top: 1px solid #e5e3df;
}
.seo-related h2 {
  font-family: var(--ff-head); font-size: 1.3rem; font-weight: 700;
  color: var(--near-black); text-align: center; margin-bottom: 2rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; max-width: 820px; margin: 0 auto;
}
.related-card {
  display: block; padding: 1.25rem 1.5rem; background: var(--white);
  border-radius: 12px; border: 1px solid #e5e3df; text-decoration: none;
  transition: all 0.3s; color: var(--near-black);
}
.related-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--accent); }
.related-card h3 {
  font-family: var(--ff-head); font-size: 0.95rem; font-weight: 600;
  margin-bottom: 0.3rem;
}
.related-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ═══ FOOTER ═══ */
footer { background: #1a1a1a; color: var(--white); padding: 3.5rem 4rem 0; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
}
.footer-brand-col .footer-logo { height: 48px; width: auto; margin-bottom: 1rem; filter: brightness(1.1); }
.footer-brand-col .footer-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7;
  margin-bottom: 1.5rem; max-width: 280px;
}
.footer-col-title {
  font-family: var(--ff-head); font-size: 1rem; font-weight: 600;
  color: #fff; margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.footer-links li a::before { content: '+'; color: var(--accent-light); font-weight: 600; }
.footer-links li a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex; justify-content: center; align-items: center; width: 100%;
  padding: 1.5rem 0; font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  color: rgba(255,255,255,0.35); white-space: nowrap;
}
.footer-bottom a { color: #f97316; text-decoration: none; font-weight: 600; margin-left: 0.3rem; }

.social-links { display: flex; gap: 0.6rem; align-items: center; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; transition: background 0.3s, transform 0.3s;
}
.social-btn:hover { background: rgba(249,115,22,0.25); transform: translateY(-2px); }
.social-btn svg { width: 15px; height: 15px; fill: white; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin-bottom: 0.9rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.55); line-height: 1.5;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: #f97316; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: #f97316; }

/* ═══ MOBILE NAV ═══ */
.mob-hamburger {
  position: fixed; top: 1.8rem; right: 1.5rem; z-index: 200;
  width: 44px; height: 44px; background: rgba(10,10,10,0.8);
  backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.mob-hamburger span {
  display: block; width: 20px; height: 2px; background: #fff;
  border-radius: 2px; transition: all 0.3s;
}
.mob-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 190; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mob-panel {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: #111; z-index: 195; padding: 6rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 0.5rem; transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mob-panel a {
  color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1.1rem;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mob-panel a:hover { color: #fff; }
.mob-brand {
  margin-top: auto; font-size: 0.75rem; color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.mobile-nav.open .mob-overlay { opacity: 1; pointer-events: auto; }
.mobile-nav.open .mob-panel { right: 0; }
.mobile-nav.open .mob-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-nav.open .mob-hamburger span:nth-child(2) { opacity: 0; }
.mobile-nav.open .mob-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══ ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

@keyframes fadeUpMin {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  nav { display: none !important; }
  .top-logo { width: 60px; height: 60px; }
  .top-logo img { width: 60px; height: 60px; }
  .mobile-nav { display: block; }
  .seo-hero { padding: 8rem 5% 4rem; min-height: 40vh; }
  footer { padding: 2rem 1.25rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .consult-btn { top: 1.8rem; right: 4.5rem; padding: 0.5rem 1rem; font-size: 0.7rem; }
}

@media (max-width: 600px) {
  .seo-content { padding: 3rem 1.25rem; }
  .faq-section { padding: 3rem 1.25rem; }
  .seo-cta { padding: 3rem 1.25rem; }
  .seo-related { padding: 3rem 1.25rem; }
  .related-grid { grid-template-columns: 1fr; }
  footer { padding: 1.5rem 1rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
