/* ═══════════════════════════════════════════════════════════════════
   SoloStands · styles.css
   Source of truth: solostands-design-system/project/colors_and_type.css
   Theme: D1 Dark (#0E0E0E · #FAFAF8 · #E8420A)
═══════════════════════════════════════════════════════════════════ */


/* ─── 0. FONTS (self-hosted) ─────────────────────────────────────── */

@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('fonts/SpaceMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/SpaceMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('fonts/SpaceMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ─── 1. DESIGN TOKENS ──────────────────────────────────────────── */

:root {
  /* Brand core — never changes */
  --ss-orange:       #E8420A;
  --ss-white:        #FAFAF8;
  --ss-sand:         #F2EFE9;

  /* ── L1 WHITE (default) ─────────────────────────────────────── */
  --ss-black:        #FFFFFF;    /* nav background */
  --ss-bg-0:         #FAFAF8;
  --ss-bg-1:         #FFFFFF;
  --ss-bg-2:         #F7F7F5;
  --ss-bg-3:         #EFEFED;
  --ss-bg-4:         #E8E8E4;
  --ss-line-dark:    #E8E8E4;
  --ss-line-mid:     #D8D5CF;

  --ss-fg-1:         #111111;
  --ss-fg-2:         #333333;
  --ss-fg-3:         #666666;
  --ss-fg-4:         #888888;
  --ss-fg-5:         #AAAAAA;
  --ss-fg-6:         #CCCCCC;

  /* ── Hardcoded backgrounds (vary by theme) ──────────────────── */
  --hero-fallback:        linear-gradient(160deg, #FFFFFF 60%, #F2EFE9 100%);
  --hero-overlay:         linear-gradient(160deg, rgba(255,255,255,0.82) 50%, rgba(242,239,233,0.55) 100%);
  --hero-grid-line:       rgba(0,0,0,0.025);
  --stand-02-bg:          #FFFFFF;
  --stand-03-bg:          linear-gradient(180deg, #FAFAF8, #FFFFFF);
  --stand-04-bg:          linear-gradient(180deg, #F7F7F5, #FAFAF8);
  --form-input-bg:        #FFFFFF;

  /* Semantic */
  --ss-accent:       var(--ss-orange);
  --ss-accent-soft:  rgba(232, 66, 10, 0.10);
  --ss-accent-line:  rgba(232, 66, 10, 0.25);

  /* Type families */
  --ss-font-display: 'Bebas Neue', 'Impact', sans-serif;
  --ss-font-heading: 'Barlow Condensed', 'Oswald', sans-serif;
  --ss-font-body:    'DM Sans', 'Inter', system-ui, sans-serif;
  --ss-font-mono:    'Space Mono', 'JetBrains Mono', monospace;

  /* Radii — industrial sharp */
  --ss-r-sharp:      2px;
  --ss-r-soft:       4px;
  --ss-r-card:       8px;

  /* Layout */
  --page-pad:        72px;
  --nav-h:           80px;
  --max-w:           1320px;
}

/* ── D1 DARK (toggle) ───────────────────────────────────────────── */

[data-theme="dark"] {
  --ss-black:        #0E0E0E;
  --ss-bg-0:         #080808;
  --ss-bg-1:         #0E0E0E;
  --ss-bg-2:         #111111;
  --ss-bg-3:         #1A1A1A;
  --ss-bg-4:         #1E1E1E;
  --ss-line-dark:    #1E1E1E;
  --ss-line-mid:     #2A2A2A;

  --ss-fg-1:         #FAFAF8;
  --ss-fg-2:         #C8C4BC;
  --ss-fg-3:         #777777;
  --ss-fg-4:         #555555;
  --ss-fg-5:         #444444;
  --ss-fg-6:         #2A2A2A;

  --hero-fallback:        linear-gradient(160deg, #0E0E0E 60%, #1a0a04 100%);
  --hero-overlay:         linear-gradient(160deg, rgba(14,14,14,0.80) 40%, rgba(26,10,4,0.68) 100%);
  --hero-grid-line:       rgba(255,255,255,0.015);
  --stand-02-bg:          linear-gradient(180deg, #0E0E0E, #080808);
  --stand-03-bg:          linear-gradient(180deg, #111111, #0E0E0E);
  --stand-04-bg:          linear-gradient(180deg, #1A1A1A, #111111);
  --form-input-bg:        #0a0a0a;

  --ss-accent-soft:  rgba(232, 66, 10, 0.12);
  --ss-accent-line:  rgba(232, 66, 10, 0.30);
}


/* ─── 2. RESET + BASE ───────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ss-font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ss-fg-2);
  background: var(--ss-bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

::selection {
  background: var(--ss-orange);
  color: #fff;
}

/* Scroll offset for sticky nav */
section[id] {
  scroll-margin-top: var(--nav-h);
}


/* ─── 3. TYPOGRAPHY UTILITIES ───────────────────────────────────── */

.hl {
  color: var(--ss-orange);
}

.eyebrow {
  font-family: var(--ss-font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ss-orange);
  margin-bottom: 24px;
}

.meta {
  font-family: var(--ss-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ss-fg-5);
}

.arrow {
  color: var(--ss-orange);
  margin-right: 12px;
  flex-shrink: 0;
}


/* ─── 4. BUTTONS ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ss-font-heading);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--ss-r-sharp);
  cursor: pointer;
  border: none;
  font-size: 14px;
  padding: 15px 32px;
  transition: background 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
  white-space: nowrap;
}

.btn-sm {
  font-size: 12px;
  padding: 10px 20px;
}

/* Primary — orange fill */
.btn-primary {
  background: var(--ss-orange);
  color: #fff;
}
.btn-primary:hover {
  background: #FF5A20;
}
.btn-primary:active {
  background: #C8350A;
}
.btn-primary:disabled {
  background: var(--ss-fg-5);
  cursor: default;
}

/* Outline — orange border */
.btn-outline {
  background: transparent;
  color: var(--ss-orange);
  border: 2px solid var(--ss-orange);
}
.btn-outline:hover {
  background: var(--ss-orange);
  color: #fff;
}
.btn-outline:active {
  background: #C8350A;
  border-color: #C8350A;
  color: #fff;
}

/* Ghost — white border */
.btn-ghost {
  background: transparent;
  color: var(--ss-fg-1);
  border: 1px solid var(--ss-line-mid);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: #444;
}

/* WhatsApp — minimal ghost */
.btn-wa {
  background: transparent;
  color: var(--ss-fg-3);
  border: 1px solid var(--ss-line-dark);
  font-size: 12px;
  padding: 8px 16px;
  letter-spacing: 0.14em;
  gap: 5px;
}
.btn-wa svg {
  flex-shrink: 0;
}
.btn-wa:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transition: all 200ms ease-out;
}


/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: 1px solid var(--ss-line-dark);
  border-radius: var(--ss-r-sharp);
  cursor: pointer;
  color: var(--ss-fg-4);
  flex-shrink: 0;
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
}
.theme-toggle:hover {
  color: var(--ss-fg-1);
  border-color: var(--ss-line-mid);
}
/* Show moon in light mode (to invite switching to dark), sun in dark mode */
:root .icon-sun    { display: none; }
:root .icon-moon   { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }


/* ─── 5. LOGO ────────────────────────────────────────────────────── */

.logo {
  font-family: var(--ss-font-display);
  font-size: 32px;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  display: inline-block;
  flex: 1;
}
.logo-solo   { color: var(--ss-orange); }
.logo-stands { color: var(--ss-fg-1); }


/* ─── 6. SECTION LAYOUT HELPERS ─────────────────────────────────── */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--ss-line-dark);
}

.section-num {
  font-family: var(--ss-font-mono);
  font-size: 13px;
  color: var(--ss-orange);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--ss-font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ss-fg-1);
}

.section-lead {
  font-family: var(--ss-font-body);
  font-size: 20px;
  line-height: 1.85;
  color: var(--ss-fg-2);
  max-width: 760px;
  margin-bottom: 36px;
  text-wrap: pretty;
}


/* ─── 7. NAV ─────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ss-black);
  border-bottom: 2px solid var(--ss-orange);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--page-pad);
}

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--ss-font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ss-fg-2);
  transition: color 0.2s ease-out;
}
.nav-link:hover,
.nav-link.active {
  color: var(--ss-fg-1);
}

.nav-end {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-mob {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ss-fg-1);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}


/* ─── 8. HERO ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: 148px var(--page-pad) 80px;
  background: var(--hero-fallback);
  border-bottom: 1px solid var(--ss-line-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px, var(--hero-grid-line) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, var(--hero-grid-line) 80px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.hero-h1 {
  font-family: var(--ss-font-heading);
  font-size: clamp(64px, 8.5vw, 120px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.0;
  color: var(--ss-fg-1);
  text-transform: uppercase;
  margin: 0 0 28px;
}

.hero-p {
  font-family: var(--ss-font-body);
  font-size: 21px;
  line-height: 1.8;
  color: var(--ss-fg-2);
  max-width: 620px;
  text-wrap: pretty;
}

.hero-btns {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 32px;
  left: var(--page-pad);
  right: var(--page-pad);
  display: flex;
  justify-content: space-between;
  z-index: 2;
}


/* ─── 9. STAND SECTIONS ─────────────────────────────────────────── */

.stand-section {
  padding: 148px var(--page-pad);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ss-line-dark);
}

.stand-02 { background: var(--stand-02-bg); }
.stand-03 { background: var(--stand-03-bg); }
.stand-04 { background: var(--stand-04-bg); }

.stand-inner {
  display: flex;
  gap: 88px;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.stand-inner-reverse {
  flex-direction: row-reverse;
}

.stand-copy {
  flex: 1 1 480px;
  min-width: 280px;
}

.stand-photo {
  flex: 1 1 540px;
  min-width: 280px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ss-bg-2);
  border: 1px solid var(--ss-line-mid);
}
.stand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-out;
}
.stand-photo:hover img {
  transform: scale(1.02);
}

.stand-h2 {
  font-family: var(--ss-font-heading);
  font-size: clamp(52px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.05;
  color: var(--ss-fg-1);
  text-transform: uppercase;
  margin: 0 0 24px;
}

.stand-p {
  font-family: var(--ss-font-body);
  font-size: 20px;
  line-height: 1.85;
  color: var(--ss-fg-2);
  max-width: 560px;
  text-wrap: pretty;
}

.stand-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.stand-list li {
  font-family: var(--ss-font-body);
  font-size: 16px;
  color: var(--ss-fg-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--ss-line-dark);
  display: flex;
  align-items: baseline;
}

.stand-cta {
  margin-top: 32px;
}


/* ─── 10. SERVICES ──────────────────────────────────────────────── */

.services-section {
  background: var(--ss-bg-1);
  padding: 148px var(--page-pad);
  border-bottom: 1px solid var(--ss-line-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 32px;
}

.service-card {
  background: var(--ss-bg-2);
  padding: 40px 32px;
}
.service-card h4 {
  font-family: var(--ss-font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ss-orange);
  margin: 0 0 12px;
}
.service-card p {
  font-family: var(--ss-font-body);
  font-size: 16px;
  color: var(--ss-fg-3);
  line-height: 1.75;
}
.service-card:hover {
  border-top: 1px solid var(--ss-orange);
  margin-top: -1px;
  padding-top: 41px;
}

.services-callout {
  background: var(--ss-bg-2);
  border-left: 3px solid var(--ss-orange);
  padding: 28px 32px;
  border-radius: 0 var(--ss-r-soft) var(--ss-r-soft) 0;
}
.services-callout p {
  font-family: var(--ss-font-body);
  font-size: 18px;
  color: var(--ss-fg-2);
  line-height: 1.8;
}
.services-callout strong {
  color: var(--ss-fg-1);
  font-weight: 500;
}


/* ─── 11. PORTFOLIO ─────────────────────────────────────────────── */

.portfolio-section {
  background: var(--ss-bg-0);
  padding: 148px var(--page-pad);
  border-bottom: 1px solid var(--ss-line-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.portfolio-card {
  background: var(--ss-bg-1);
  border: 1px solid var(--ss-line-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease-out;
}
.portfolio-card:hover {
  border-color: var(--ss-line-mid);
  border-top-color: var(--ss-orange);
}

.portfolio-card-anchor {
  grid-column: 1 / -1;
}

.portfolio-photo {
  background: var(--ss-bg-2);
  overflow: hidden;
  flex: 1 0 auto;
  cursor: zoom-in;
}
.portfolio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease-out;
}
.portfolio-card:hover .portfolio-photo img {
  transform: scale(1.03);
}

.portfolio-card-anchor .portfolio-photo {
  min-height: 680px;
}
.portfolio-card:not(.portfolio-card-anchor) .portfolio-photo {
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.portfolio-meta {
  padding: 26px 30px;
  border-top: 1px solid var(--ss-line-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolio-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-tag {
  font-family: var(--ss-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--ss-r-sharp);
  background: var(--ss-accent-soft);
  color: var(--ss-orange);
  border: 1px solid var(--ss-accent-line);
}

.portfolio-year {
  font-family: var(--ss-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ss-fg-4);
}

.portfolio-meta h4 {
  font-family: var(--ss-font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ss-fg-1);
}

.portfolio-sub {
  font-family: var(--ss-font-body);
  font-size: 15px;
  color: var(--ss-fg-3);
  line-height: 1.6;
}

.portfolio-desc {
  font-family: var(--ss-font-body);
  font-size: 13px;
  color: var(--ss-fg-4);
  line-height: 1.8;
  margin-top: 4px;
}


/* ─── 12. WHY SOLOSTANDS ────────────────────────────────────────── */

.why-section {
  background: var(--ss-bg-1);
  padding: 148px var(--page-pad);
  border-bottom: 1px solid var(--ss-line-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.why-card {
  background: var(--ss-bg-2);
  padding: 40px 32px;
  min-height: 300px;
  transition: border-top-color 0.2s ease-out;
  border-top: 1px solid transparent;
}
.why-card:hover {
  border-top-color: var(--ss-orange);
  margin-top: -1px;
  padding-top: 41px;
}

.why-num {
  font-family: var(--ss-font-display);
  font-size: 76px;
  color: var(--ss-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h4 {
  font-family: var(--ss-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ss-fg-1);
  margin: 0 0 10px;
}

.why-card p {
  font-family: var(--ss-font-body);
  font-size: 16px;
  color: var(--ss-fg-3);
  line-height: 1.7;
  text-wrap: pretty;
}


/* ─── 13. CONTACT ───────────────────────────────────────────────── */

.contact-section {
  background: var(--ss-bg-1);
  padding: 148px var(--page-pad);
  border-bottom: 1px solid var(--ss-line-dark);
}

.contact-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--ss-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ss-fg-3);
}

.form-input {
  background: var(--form-input-bg);
  border: 1px solid var(--ss-line-mid);
  color: var(--ss-fg-1);
  padding: 16px 18px;
  font-family: var(--ss-font-body);
  font-size: 18px;
  font-weight: 400;
  outline: none;
  border-radius: var(--ss-r-sharp);
  width: 100%;
  transition: border-color 0.2s ease-out;
  -webkit-appearance: none;
}
.form-input::placeholder {
  color: var(--ss-fg-5);
}
.form-input:focus {
  border-color: var(--ss-orange);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 4px;
}

/* Turnstile widget — oculto visualmente, sigue funcionando */
.cf-turnstile {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
}

.form-success {
  display: none;
  font-family: var(--ss-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ss-orange);
  padding: 12px 0;
}

/* Aside */
.contact-aside {
  background: var(--ss-bg-2);
  border-left: 3px solid var(--ss-orange);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.aside-block {}

.aside-title {
  font-family: var(--ss-font-heading);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ss-orange);
  margin-bottom: 14px;
}

.wa-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--ss-line-dark);
  text-decoration: none;
  transition: color 0.2s ease-out;
}
.wa-link:last-child {
  border-bottom: none;
}
.wa-link:hover .wa-city,
.wa-link:hover .wa-num {
  color: var(--ss-fg-1);
}

.wa-city {
  font-family: var(--ss-font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ss-fg-1);
}

.wa-num {
  font-family: var(--ss-font-mono);
  font-size: 16px;
  color: var(--ss-fg-3);
  transition: color 0.2s ease-out;
}

.aside-loc {
  font-family: var(--ss-font-body);
  font-size: 15px;
  color: var(--ss-fg-3);
  line-height: 1.7;
  padding: 6px 0;
}
.aside-loc strong {
  color: var(--ss-fg-1);
  font-weight: 500;
}


/* ─── 14. FOOTER ────────────────────────────────────────────────── */

.footer {
  background: var(--ss-bg-0);
  padding: 64px var(--page-pad);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-row-bottom {
  border-top: 1px solid var(--ss-line-dark);
  padding-top: 18px;
}

.logo-footer {
  font-size: 32px;
}

.footer-meta {
  font-family: var(--ss-font-mono);
  font-size: 13px;
  color: var(--ss-fg-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-meta a {
  color: var(--ss-fg-3);
  transition: color 0.2s ease-out;
}
.footer-meta a:hover {
  color: var(--ss-fg-1);
}

.footer-copy {
  font-family: var(--ss-font-mono);
  font-size: 13px;
  color: var(--ss-fg-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ─── 15. STICKY WA BAR — mobile only ───────────────────────────── */

.sticky-wa {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 48;
  background: var(--ss-black);
  border-top: 2px solid var(--ss-orange);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-wa.is-visible {
  transform: translateY(0);
}

.sticky-wa-btn {
  flex: 1;
  justify-content: center;
  font-size: 13px;
  padding: 14px 12px;
  gap: 7px;
  color: var(--ss-fg-2);
  border-color: var(--ss-line-mid);
}

.sticky-wa-btn svg {
  color: #25D366;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sticky-wa {
    display: flex;
  }

  /* Espacio para que el footer no quede detrás de la barra */
  .footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
}


/* ─── 16. RESPONSIVE — TABLET / NAV COLLAPSE (≤ 960px) ─────────── */


@media (max-width: 960px) {
  :root {
    --page-pad: 44px;
    --nav-h: 72px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stand-inner {
    gap: 52px;
  }

  /* Nav: switch to hamburger, keep CTA in bar */
  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--ss-bg-1);
    border-bottom: 1px solid var(--ss-line-dark);
    padding: 0 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 49;
  }
  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    position: static;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    font-size: 15px;
    padding: 18px 0;
    border-bottom: 1px solid var(--ss-line-dark);
    display: block;
    color: var(--ss-fg-2);
  }
  .nav-links li:first-child .nav-link {
    padding-top: 24px;
  }
  .nav-links li:last-child .nav-link {
    border-bottom: none;
    padding-bottom: 24px;
  }
}


/* ─── 17. RESPONSIVE — MOBILE (≤ 768px) ────────────────────────── */

@media (max-width: 768px) {
  :root {
    --page-pad: 24px;
  }

  /* Nav: hide bar CTA, show mobile CTA inside dropdown */
  .nav-cta {
    display: none;
  }
  .nav-cta-mob {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 0 4px;
    border-top: 1px solid var(--ss-line-dark);
  }
  .nav-cta-mob .btn-wa {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 20px;
  }
  .nav-cta-mob .btn-wa svg {
    color: #25D366;
  }
  .nav-cta-mob #form_mob {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 14px 20px;
  }

  /* Hero */
  .hero {
    padding: 100px 24px 96px;
    min-height: calc(100svh - var(--nav-h));
  }
  .hero-br { display: none; }
  .hero-p { font-size: 18px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .hero-meta { display: none; }

  /* Stand sections */
  .stand-section {
    padding: 108px var(--page-pad);
    min-height: auto;
  }
  .stand-inner,
  .stand-inner-reverse {
    flex-direction: column;
    gap: 36px;
  }
  .stand-copy,
  .stand-photo {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .stand-photo {
    aspect-ratio: 4 / 3;
  }

  /* Services */
  .services-section {
    padding: 108px var(--page-pad);
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 108px var(--page-pad);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-card-anchor {
    grid-column: auto;
  }
  .portfolio-card-anchor .portfolio-photo {
    height: 240px;
  }
  .portfolio-card:not(.portfolio-card-anchor) .portfolio-photo {
    height: 200px;
  }

  /* Why */
  .why-section {
    padding: 108px var(--page-pad);
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  /* Contact */
  .contact-section {
    padding: 108px var(--page-pad);
  }
  .contact-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer {
    padding: 40px 24px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-row-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ─── 17. RESPONSIVE — SMALL MOBILE (≤ 480px) ───────────────────── */

@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-row-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .portfolio-card-anchor .portfolio-photo {
    min-height: 200px;
  }
}


/* ─── 18. REDUCED MOTION ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stand-photo img,
  .portfolio-card:hover .portfolio-photo img,
  .btn,
  .nav-link,
  .wa-link,
  .nav-toggle span {
    transition: none;
  }
}


/* ─── 19. LIGHTBOX ──────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 92vh;
  transform: scale(0.96);
  transition: transform 0.25s ease-out;
}
.lightbox.is-open .lightbox-figure {
  transform: scale(1);
}

.lightbox-img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.08);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--ss-r-sharp);
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}
.lightbox-close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-figure { transition: none; }
}
