/* =============================================
   DESIGN COLLECTIVE — Main Stylesheet
   ============================================= */

:root {
  --gold: #c4962a;
  --gold-light: #d4aa3e;
  --navy: #1a2744;
  --navy-2: #152036;
  --navy-mid: #2e4070;
  --dark: #1a2744;
  --dark-2: #152036;
  --light: #eef2f9;
  --white: #ffffff;
  --text: #1e2a3a;
  --text-muted: #5a6a7e;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;

  --nav-h: 80px;
  --section-pad: 100px;
  --radius: 2px;
  --transition: 0.3s ease;
}

/* ---- SKIP LINK (accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  margin: 8px auto 0;
}
.section-label.light { color: var(--gold-light); }
.section-label.light::after { background: var(--gold-light); }
.about .section-label::after { margin-left: 0; margin-right: auto; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 48px;
  text-align: center;
}
.section-title.left { text-align: left; margin-bottom: 24px; }
.section-title.light { color: var(--white); }

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.9);
  color: var(--white);
}
.btn-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.hero-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.full-width { width: 100%; text-align: center; }

/* ---- FOCUS STYLES (accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(26, 39, 68, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(26,39,68,0.4); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 68px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--white);
}
.nav-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(196,150,42,0.45);
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
}
.nav-social-icon svg {
  width: 15px;
  height: 15px;
  fill: rgba(255,255,255,0.75);
  transition: fill var(--transition);
}
.nav-social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.nav-social-icon:hover svg { fill: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,39,68,0.55) 0%,
    rgba(26,39,68,0.47) 40%,
    rgba(26,39,68,0.32) 100%
  );
}

/* Split layout: logo left | content right */
.hero-split {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 56px;
  max-width: 1200px;
  width: 100%;
  padding: 0 56px;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-brand img {
  width: clamp(200px, 26vw, 340px);
  filter: brightness(0) invert(1) drop-shadow(0 2px 20px rgba(0,0,0,0.4));
}

.hero-content {
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  line-height: 1.85;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* ============================================
   VALUE BAR
   ============================================ */
.value-bar {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 22px 0;
}
.value-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
}
.value-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Gold inner-glow below section border-top ── */
.services::after,
.about::after,
.portfolio::after,
.contact-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(196,150,42,0.07) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ── Gold dot pattern on light sections ── */
.services,
.about,
.portfolio,
.contact-section {
  position: relative;
}
.services::before,
.about::before,
.portfolio::before,
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(196,150,42,0.30) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.services .container,
.about .container,
.portfolio .container,
.contact-section .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--light);
  text-align: center;
  border-top: 3px solid rgba(196,150,42,0.35);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: 0 12px 40px rgba(26,39,68,0.12); }

.service-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.04); }

.service-body {
  padding: 32px 28px 40px;
  text-align: left;
}
.service-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  padding: var(--section-pad) 0;
  background: var(--white);
  text-align: center;
  border-top: 3px solid rgba(196,150,42,0.35);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,39,68,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 20px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-pad) 0;
  background: var(--light);
  border-top: 3px solid rgba(196,150,42,0.35);
}
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-content .btn { margin-top: 12px; }

/* ============================================
   PROCESS
   ============================================ */
.process {
  position: relative;
  padding: var(--section-pad) 0;
  text-align: center;
}
.process-bg {
  position: absolute;
  inset: 0;
}
.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 56, 0.88);
}
.process .container { position: relative; z-index: 2; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,150,42,0.25);
  padding: 40px 32px;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(196,150,42,0.30);
  line-height: 1;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}
.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.85;
}

/* ============================================
   CONTACT (merged — booking info + form)
   ============================================ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  border-top: 3px solid rgba(196,150,42,0.35);
}
.contact-section .section-title { margin-bottom: 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e8f0;
  font-size: 0.9rem;
  color: var(--text);
}
.contact-detail-list li .detail-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 80px;
  padding-top: 2px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--light);
  border: 1px solid #cdd6e5;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
  border-radius: var(--radius);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input.invalid,
.form-group textarea.invalid { border-color: #c0392b; }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 4px;
}
.form-group input.invalid ~ .field-error,
.form-group textarea.invalid ~ .field-error { display: block; }
.form-required-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -8px;
}
.form-success {
  display: none;
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding-top: 4px;
}
.form-success.visible { display: block; }
.form-trust {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: -6px;
}

/* Google Maps embed */
.map-wrap {
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid #e0e8f0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}
.map-directions-link {
  display: block;
  text-align: right;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--light);
  border-top: 1px solid #e0e8f0;
  transition: color var(--transition);
}
.map-directions-link:hover { color: var(--navy); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  padding: 60px 0 36px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.footer-credit {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-credit a {
  color: rgba(196,150,42,0.55);
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--gold-light); }

/* Footer contact address */
.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.footer-contact a,
.footer-contact span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

/* Social icons */
.footer-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(196,150,42,0.4);
  transition: background var(--transition), border-color var(--transition);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.6);
  transition: fill var(--transition);
}
.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.social-icon:hover svg { fill: var(--white); }

/* Inline social link (contact section) */
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
}
.contact-social-link:hover { color: var(--gold); }
.contact-social-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 30, 0.93);
  z-index: 8000;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
#lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 8px 80px rgba(0,0,0,0.7);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  line-height: 1;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 8001;
  font-family: var(--font-sans);
  font-weight: 300;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .value-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 70px; }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 32px;
    text-align: center;
  }
  .hero-brand img { width: clamp(140px, 40vw, 220px); }
  .hero-sub { max-width: 100%; }
  .hero-actions { align-items: center; }

  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-container,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { aspect-ratio: 16/9; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Grid items: fade-in only on mobile — no translateY to avoid overlap/gaps */
  .service-card { --delay: 0s; }
  .service-card.reveal.from-left,
  .service-card.reveal.from-right,
  .service-card.reveal.from-bottom { transform: translateY(0); }

  .portfolio-item { --delay: 0s; }
  .portfolio-item.reveal.from-left,
  .portfolio-item.reveal.from-right,
  .portfolio-item.reveal.from-bottom { transform: translateY(0); }

  .process-step { --delay: 0s; }
  .process-step.reveal.from-left,
  .process-step.reveal.from-right,
  .process-step.reveal.from-bottom { transform: translateY(0); }

  .map-wrap { margin-top: 48px; }
  .map-wrap iframe { height: 280px; }
}

@media (max-width: 680px) {
  :root { --section-pad: 56px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--navy-2);
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 32px;
    text-align: center;
  }
  .nav-links .nav-cta {
    margin: 12px 32px 0;
    width: calc(100% - 64px);
  }
  .nav-toggle { display: flex; }

  .hero-split { padding: 0 20px; gap: 24px; }
  .hero-brand img { width: clamp(120px, 36vw, 180px); }
  .hero-actions { align-items: center; }
  .nav-social-icon {
    display: flex;
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px 32px;
    justify-content: center;
  }
  .nav-social-icon svg { width: 22px; height: 22px; }

  .value-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .value-item { font-size: 0.68rem; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; gap: 10px; }
  .container { padding: 0 20px; }
  .value-bar-grid { grid-template-columns: 1fr 1fr; }
  #lightbox-img { max-width: 95vw; max-height: 80vh; }
  .lightbox-close { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 1.6rem; }
}

@media (max-width: 380px) {
  .value-bar-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 20px; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.from-left   { transform: translateX(-60px); }
.reveal.from-right  { transform: translateX(60px); }
.reveal.from-bottom { transform: translateY(44px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* On mobile: convert horizontal slides to vertical to avoid side-overflow */
@media (max-width: 768px) {
  .reveal.from-left,
  .reveal.from-right { transform: translateY(44px); }
}
/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.from-bottom { opacity: 1; transform: none; transition: none; }
}
