/* ═══════════════════════════════════════════════════════════
   SECONDFYRE — Full Theme Stylesheet
   Loaded via functions.php — used everywhere Elementor doesn't override
═══════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS (loaded via functions.php enqueue) ── */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --sf-midnight:   #0E0F1A;
  --sf-navy:       #1A1A2E;
  --sf-navy-mid:   #252540;
  --sf-fire:       #C1440E;
  --sf-fire-light: #E05A1A;
  --sf-rose:       #8B2252;
  --sf-rose-light: #A83060;
  --sf-gold:       #B8955A;
  --sf-bone:       #E8E0D4;
  --sf-ash:        #9A9490;
  --sf-white:      #F5F2EE;
  --sf-text:       #D4CCC4;

  --sf-font-display: 'Cormorant Garamond', Georgia, serif;
  --sf-font-body:    'Barlow', sans-serif;
  --sf-font-caps:    'Barlow Condensed', sans-serif;

  --sf-max-width:  1200px;
  --sf-content-w:  760px;
  --sf-radius:     2px;

  --sf-transition: 0.3s ease;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--sf-midnight);
  color: var(--sf-text);
  font-family: var(--sf-font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

/* Grain overlay on all pages */
body::after {
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sf-font-display);
  font-weight: 300;
  line-height: 1.1;
  color: var(--sf-white);
}

h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 36px); }
h4 { font-size: clamp(18px, 2.5vw, 26px); }
h5 { font-size: 20px; }
h6 { font-size: 17px; font-family: var(--sf-font-caps); letter-spacing: 0.15em; text-transform: uppercase; }

em, i { font-style: italic; }

p { margin-bottom: 1.4em; color: var(--sf-text); }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 600; color: var(--sf-white); }

a { color: var(--sf-white); text-decoration: none; transition: color var(--sf-transition); }
a:hover { color: var(--sf-fire); }

blockquote {
  border-left: 3px solid var(--sf-fire);
  padding: 20px 0 20px 32px;
  margin: 40px 0;
  font-family: var(--sf-font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--sf-white);
  line-height: 1.4;
}

blockquote cite {
  display: block;
  font-size: 12px;
  font-style: normal;
  font-family: var(--sf-font-caps);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sf-ash);
  margin-top: 12px;
}

hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 48px 0;
}

hr.sf-fire-rule {
  border-top-color: var(--sf-fire);
  opacity: 0.4;
}

/* ── LISTS ── */
ul, ol { padding-left: 24px; margin-bottom: 1.4em; }
li { margin-bottom: 0.5em; color: var(--sf-text); }

/* ── UTILITY CLASSES ── */
.sf-container {
  max-width: var(--sf-max-width);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .sf-container { padding: 0 24px; }
}

.sf-content-container {
  max-width: var(--sf-content-w);
  margin: 0 auto;
  padding: 0 48px;
}

.sf-section {
  padding: 100px 0;
}

.sf-section-sm {
  padding: 60px 0;
}

/* Labels / eyebrows */
.sf-eyebrow {
  font-family: var(--sf-font-caps);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sf-fire);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.sf-eyebrow::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--sf-fire);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Fire line divider */
.sf-fire-line {
  width: 64px;
  height: 2px;
  background: var(--sf-fire);
  margin: 32px 0;
}

.sf-fire-line.center { margin: 32px auto; }

/* ── BUTTONS ── */
.sf-btn,
.elementor-button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sf-font-caps);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: none;
  cursor: pointer;
  transition: all var(--sf-transition);
  text-decoration: none;
  border-radius: var(--sf-radius);
}

.sf-btn-primary {
  background: var(--sf-fire);
  color: var(--sf-white);
}

.sf-btn-primary:hover {
  background: var(--sf-fire-light);
  color: var(--sf-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,68,14,0.3);
}

.sf-btn-outline {
  background: transparent;
  color: var(--sf-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.sf-btn-outline:hover {
  border-color: var(--sf-fire);
  color: var(--sf-fire);
  background: rgba(193,68,14,0.05);
}

.sf-btn-ghost {
  background: transparent;
  color: var(--sf-ash);
  padding: 15px 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}

.sf-btn-ghost:hover {
  color: var(--sf-white);
  border-bottom-color: var(--sf-white);
}

/* ══════════════════════════════
   HEADER / NAVIGATION
══════════════════════════════ */
#sf-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: all 0.4s ease;
  padding: 0;
}

#sf-header.scrolled {
  background: rgba(14,15,26,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sf-header-inner {
  max-width: var(--sf-max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.sf-logo {
  font-family: var(--sf-font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sf-white);
  text-decoration: none;
  transition: opacity var(--sf-transition);
  flex-shrink: 0;
}

.sf-logo:hover { opacity: 0.8; color: var(--sf-white); }

.sf-logo span { color: var(--sf-fire); }

/* Nav menu */
.sf-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.sf-nav li { position: relative; }

.sf-nav > li > a {
  display: block;
  padding: 8px 18px;
  font-family: var(--sf-font-caps);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.6);
  transition: color var(--sf-transition);
}

.sf-nav > li > a:hover,
.sf-nav > li.current-menu-item > a,
.sf-nav > li.current_page_item > a {
  color: var(--sf-white);
}

.sf-nav > li.current-menu-item > a::after,
.sf-nav > li.current_page_item > a::after {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--sf-fire);
  margin: 4px auto 0;
}

/* Dropdown */
.sf-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--sf-navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--sf-fire);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.sf-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sf-nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--sf-font-caps);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sf-ash);
  transition: all var(--sf-transition);
}

.sf-nav .sub-menu a:hover {
  color: var(--sf-white);
  padding-left: 28px;
  background: rgba(193,68,14,0.05);
}

/* CTA button in nav */
.sf-nav .sf-nav-cta > a {
  background: var(--sf-fire);
  color: var(--sf-white) !important;
  padding: 10px 24px;
  margin-left: 12px;
  transition: all var(--sf-transition);
}

.sf-nav .sf-nav-cta > a:hover {
  background: var(--sf-fire-light);
  transform: none;
}

.sf-nav .sf-nav-cta > a::after { display: none !important; }

/* Hamburger */
.sf-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.sf-menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sf-white);
  transition: all 0.3s ease;
}

.sf-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.sf-menu-toggle.active span:nth-child(2) { opacity: 0; }
.sf-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

@media (max-width: 900px) {
  .sf-menu-toggle { display: flex; }
  .sf-nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--sf-navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .sf-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .sf-nav > li > a {
    padding: 14px 32px;
    font-size: 12px;
  }
  .sf-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    border-left: 2px solid var(--sf-fire);
    margin-left: 32px;
    background: transparent;
    padding: 4px 0;
  }
  .sf-nav .sf-nav-cta > a { margin-left: 32px; margin-top: 8px; display: inline-block; }
  .sf-header-inner { padding: 0 24px; }
}

/* ══════════════════════════════
   PAGE HERO BANNER
   (used on inner pages when Elementor isn't setting the hero)
══════════════════════════════ */
.sf-page-hero {
  padding: 160px 48px 80px;
  background: var(--sf-navy);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sf-page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(193,68,14,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.sf-page-hero-inner {
  max-width: var(--sf-max-width);
  margin: 0 auto;
}

.sf-page-hero h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-bottom: 16px;
}

.sf-page-hero .sf-lead {
  font-size: 18px;
  color: var(--sf-ash);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

/* ══════════════════════════════
   MAIN CONTENT AREA
══════════════════════════════ */
#sf-main {
  padding-top: 80px; /* accounts for fixed header */
  min-height: 60vh;
}

/* For Elementor full-width pages — remove padding-top when hero is the first section */
.elementor-page #sf-main,
body.page-template-elementor-canvas #sf-main {
  padding-top: 80px;
}

body.page-template-elementor-canvas #sf-header {
  background: transparent;
}

/* Standard page content */
.sf-page-content {
  padding: 80px 48px;
  max-width: var(--sf-content-w);
  margin: 0 auto;
}

.sf-page-content h2 { margin: 56px 0 20px; }
.sf-page-content h3 { margin: 40px 0 16px; }
.sf-page-content p { margin-bottom: 1.5em; font-size: 17px; line-height: 1.85; }

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
.sf-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  max-width: var(--sf-max-width);
  margin: 0 auto;
  padding: 80px 48px;
}

@media (max-width: 1024px) {
  .sf-sidebar-layout { grid-template-columns: 1fr; }
}

.sf-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sf-widget {
  background: var(--sf-navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--sf-fire);
  padding: 32px;
  margin-bottom: 32px;
}

.sf-widget h3,
.widget-title {
  font-family: var(--sf-font-caps);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sf-fire);
  margin-bottom: 20px;
  font-weight: 500;
}

.sf-widget ul { list-style: none; padding: 0; margin: 0; }
.sf-widget ul li { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 10px 0; }
.sf-widget ul li:last-child { border-bottom: none; }
.sf-widget ul li a { font-size: 14px; color: var(--sf-ash); transition: color var(--sf-transition); }
.sf-widget ul li a:hover { color: var(--sf-white); }

/* ══════════════════════════════
   BLOG / ARCHIVE
══════════════════════════════ */
.sf-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 1024px) { .sf-posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .sf-posts-grid { grid-template-columns: 1fr; } }

.sf-post-card {
  background: var(--sf-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background var(--sf-transition);
}

.sf-post-card:hover { background: var(--sf-navy-mid); }

.sf-post-card:hover .sf-post-card-img img { transform: scale(1.04); }

.sf-post-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.sf-post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sf-post-card-img-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sf-navy-mid), var(--sf-midnight));
  position: relative;
  overflow: hidden;
}

.sf-post-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(193,68,14,0.08) 0%, transparent 70%);
}

.sf-post-card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sf-post-cat {
  font-family: var(--sf-font-caps);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sf-fire);
  margin-bottom: 12px;
}

.sf-post-card-body h2,
.sf-post-card-body h3 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--sf-white);
}

.sf-post-card-body h2 a,
.sf-post-card-body h3 a {
  color: var(--sf-white);
  transition: color var(--sf-transition);
}

.sf-post-card-body h2 a:hover,
.sf-post-card-body h3 a:hover { color: var(--sf-fire); }

.sf-post-excerpt {
  font-size: 14px;
  color: var(--sf-ash);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.sf-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sf-font-caps);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(154,148,144,0.6);
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Featured post — spans 2 columns */
.sf-post-card.featured {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .sf-post-card.featured { grid-column: span 1; }
}

/* ══════════════════════════════
   SINGLE POST
══════════════════════════════ */
.sf-single-hero {
  padding: 140px 48px 80px;
  background: var(--sf-navy);
  position: relative;
  overflow: hidden;
}

.sf-single-hero::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,34,82,0.05) 0%, transparent 70%);
}

.sf-single-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sf-single-body {
  max-width: 720px;
  margin: 64px auto;
  padding: 0 48px;
  font-size: 18px;
  line-height: 1.9;
}

.sf-single-body p { margin-bottom: 1.6em; }
.sf-single-body h2 { font-size: 32px; margin: 56px 0 20px; }
.sf-single-body h3 { font-size: 24px; margin: 40px 0 16px; }

.sf-single-featured-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  margin: 0 0 64px;
}

/* ══════════════════════════════
   CONTACT FORM (CF7 / base)
══════════════════════════════ */
.sf-contact-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sf-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-form-group label,
.wpcf7-form label {
  font-family: var(--sf-font-caps);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sf-ash);
}

.sf-form-group input,
.sf-form-group textarea,
.sf-form-group select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background: var(--sf-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  color: var(--sf-white);
  padding: 16px 20px;
  font-family: var(--sf-font-body);
  font-size: 15px;
  font-weight: 300;
  width: 100%;
  transition: all var(--sf-transition);
  outline: none;
  border-radius: var(--sf-radius);
  -webkit-appearance: none;
}

.sf-form-group input:focus,
.sf-form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--sf-fire);
  background: rgba(26,26,46,0.8);
  box-shadow: 0 0 0 3px rgba(193,68,14,0.08);
}

.sf-form-group input::placeholder,
.sf-form-group textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(154,148,144,0.4);
}

.sf-form-group textarea,
.wpcf7-form textarea { min-height: 160px; resize: vertical; }

.wpcf7-form input[type="submit"] {
  background: var(--sf-fire);
  color: var(--sf-white);
  font-family: var(--sf-font-caps);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  width: auto;
  align-self: flex-start;
  transition: all var(--sf-transition);
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--sf-fire-light);
  transform: translateY(-2px);
}

.wpcf7-response-output {
  padding: 16px 20px;
  font-size: 14px;
  border-left: 3px solid var(--sf-fire);
  background: rgba(193,68,14,0.06);
  color: var(--sf-white);
}

/* ══════════════════════════════
   EMAIL OPT-IN / CTA SECTION
══════════════════════════════ */
.sf-optin-section {
  padding: 100px 48px;
  background: var(--sf-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sf-optin-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(193,68,14,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sf-optin-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.sf-optin-section p {
  font-size: 17px;
  color: var(--sf-ash);
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}

.sf-optin-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.sf-optin-form input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--sf-white);
  padding: 16px 20px;
  font-family: var(--sf-font-body);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: all var(--sf-transition);
}

.sf-optin-form input:focus {
  border-color: var(--sf-fire);
  background: rgba(26,26,46,0.8);
}

.sf-optin-form button {
  background: var(--sf-fire);
  color: var(--sf-white);
  border: none;
  padding: 16px 32px;
  font-family: var(--sf-font-caps);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--sf-transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.sf-optin-form button:hover {
  background: var(--sf-fire-light);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .sf-optin-form { flex-direction: column; }
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
#sf-footer {
  background: #080810;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0 40px;
}

.sf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  max-width: var(--sf-max-width);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 1024px) {
  .sf-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .sf-footer-grid { grid-template-columns: 1fr; }
  #sf-footer { padding: 60px 0 32px; }
}

.sf-footer-brand .sf-logo { font-size: 20px; display: inline-block; margin-bottom: 20px; }

.sf-footer-brand p {
  font-size: 14px;
  color: var(--sf-ash);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.sf-footer-social {
  display: flex;
  gap: 16px;
}

.sf-footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--sf-ash);
  font-size: 13px;
  transition: all var(--sf-transition);
}

.sf-footer-social a:hover {
  border-color: var(--sf-fire);
  color: var(--sf-fire);
  background: rgba(193,68,14,0.06);
}

.sf-footer-col h4 {
  font-family: var(--sf-font-caps);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sf-fire);
  font-weight: 500;
  margin-bottom: 20px;
}

.sf-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sf-footer-col ul li { margin-bottom: 12px; }

.sf-footer-col ul li a {
  font-size: 14px;
  color: rgba(154,148,144,0.7);
  transition: all var(--sf-transition);
}

.sf-footer-col ul li a:hover {
  color: var(--sf-white);
  padding-left: 4px;
}

.sf-footer-bottom {
  max-width: var(--sf-max-width);
  margin: 56px auto 0;
  padding: 24px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.sf-footer-bottom p,
.sf-footer-bottom a {
  font-family: var(--sf-font-caps);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(154,148,144,0.4);
}

.sf-footer-bottom a:hover { color: var(--sf-ash); }

.sf-footer-tagline {
  font-family: var(--sf-font-display);
  font-size: 14px;
  font-style: italic;
  color: rgba(154,148,144,0.3);
}

@media (max-width: 640px) {
  .sf-footer-bottom { flex-direction: column; align-items: flex-start; }
  .sf-footer-grid, .sf-footer-bottom { padding: 0 24px; }
}

/* ══════════════════════════════
   ELEMENTOR COMPATIBILITY
══════════════════════════════ */

/* Make Elementor sections flush when they're the first element */
.elementor-section:first-child {
  margin-top: 0;
}

/* Ensure Elementor text respects our type */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
  font-family: var(--sf-font-display);
}

/* Elementor button overrides to match brand */
.elementor-button {
  font-family: var(--sf-font-caps) !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  border-radius: var(--sf-radius) !important;
}

/* ══════════════════════════════
   SEARCH RESULTS / 404
══════════════════════════════ */
.sf-search-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 32px 0;
}

.sf-search-form input[type="search"] {
  flex: 1;
  background: var(--sf-navy);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--sf-white);
  padding: 16px 20px;
  font-family: var(--sf-font-body);
  font-size: 15px;
  outline: none;
  border-right: none;
}

.sf-search-form button {
  background: var(--sf-fire);
  color: var(--sf-white);
  border: none;
  padding: 16px 24px;
  font-family: var(--sf-font-caps);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--sf-transition);
}

.sf-search-form button:hover { background: var(--sf-fire-light); }

/* ══════════════════════════════
   PAGINATION
══════════════════════════════ */
.sf-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 48px 0;
  justify-content: center;
}

.sf-pagination a,
.sf-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--sf-font-caps);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sf-ash);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--sf-transition);
}

.sf-pagination a:hover,
.sf-pagination span.current {
  background: var(--sf-fire);
  color: var(--sf-white);
  border-color: var(--sf-fire);
}

/* ══════════════════════════════
   ACCESSIBILITY
══════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--sf-fire);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--sf-fire);
  color: var(--sf-white);
  padding: 12px 24px;
  font-family: var(--sf-font-caps);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 9999;
}

.skip-link:focus { left: 0; top: 0; }

/* ══════════════════════════════
   PRINT
══════════════════════════════ */
@media print {
  #sf-header, #sf-footer, .sf-sidebar { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
