/* =============================================
   SOHOBESE CONSTRUCTION & PROJECTS
   Design System — World-Class Build
   ============================================= */

/* TOKENS */
:root {
  --gold:      #B8975A;
  --gold-dark: #9A7A3E;
  --gold-glow: rgba(184,151,90,0.15);
  --steel:     #1E2D45;
  --steel-mid: #162236;
  --charcoal:  #0B1120;
  --concrete:  #8A8070;
  --fog:       #E8E0D0;
  --white:     #FAF8F4;
  --text:      #0B1120;
  --text-muted:#5F5040;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:   4px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:   0 4px 32px rgba(0,0,0,0.12);
}

/* RESET */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
  padding: 0 32px;
}
.nav.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #FAF8F4;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #B8975A;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--gold-dark) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/main.jpg') center/cover no-repeat;
  opacity: 0.32;
  z-index: 0;
  animation: heroZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__diag {
  position: absolute;
  right: -10%;
  top: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-mid) 100%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero__diag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(204,27,27,0.25)'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  opacity: 0.4;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 48px 60px;
  max-width: 800px;
  margin-left: max(48px, calc((100vw - 1320px)/2));
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,151,90,0.5);
  padding: 6px 14px;
  margin-bottom: 36px;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 130px);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero__headline--thin {
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}
.hero__headline--bold { color: var(--white); }
.hero__headline--outline {
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0 48px;
  max-width: 760px;
  margin-left: max(48px, calc((100vw - 1320px)/2));
}
.hero__stat {
  flex: 1;
  padding: 28px 0;
  padding-right: 32px;
}
.hero__stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 32px;
}
.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--concrete);
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero__scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--concrete);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity:1; }
  50% { transform: scaleY(0.5); opacity:0.4; }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 20px;
  animation: marqueeScroll 25s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,17,32,0.9);
}
.marquee__track .sep { color: rgba(11,17,32,0.4); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   SHARED LAYOUT
   ============================================= */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 120px 0; }
.section--dark { background: var(--steel); }
.section--steel { background: var(--steel-mid); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.section-header {
  margin-bottom: 72px;
}
.section-header h2 { margin-top: 12px; }
.text-center { text-align: center; }
.text-light { color: var(--white); }
.mt-48 { margin-top: 48px; }

/* EYEBROW */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}
.eyebrow--light { color: #FF5555; }
.eyebrow--light::before { background: #FF5555; }

/* HEADINGS */
h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 18px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: white; background: rgba(255,255,255,0.06); }
.btn--lg { padding: 18px 42px; font-size: 13px; }

/* =============================================
   ABOUT SNAP
   ============================================= */
.about-snap__text { display: flex; flex-direction: column; gap: 20px; }
.about-snap__text .eyebrow { margin-bottom: 4px; }
.about-snap__text p { color: var(--text-muted); font-size: 16px; }
.about-snap__text .btn { margin-top: 12px; align-self: flex-start; }
.about-snap__visual { display: flex; flex-direction: column; gap: 24px; }
.about-snap__card {
  position: relative;
  background: var(--fog);
  padding: 40px;
  overflow: hidden;
}
.about-snap__card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}
blockquote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--steel);
  margin-bottom: 16px;
}
cite { font-size: 12px; color: var(--text-muted); font-style: normal; letter-spacing: 0.06em; }
.about-snap__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(184,151,90,0.3);
  color: var(--gold);
  padding: 6px 14px;
}

/* =============================================
   SERVICES
   ============================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
}
.service-card {
  background: var(--steel-mid);
  padding: 48px 36px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }
.service-card:hover { background: var(--steel); }
.service-card__icon {
  width: 52px; height: 52px;
  color: var(--gold);
  margin-bottom: 24px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-card p { font-size: 14px; color: var(--concrete); line-height: 1.7; margin-bottom: 24px; }
.service-card__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing var(--transition);
}
.service-card:hover .service-card__link { letter-spacing: 0.14em; }

/* =============================================
   PROJECTS
   ============================================= */
.projects-strip { display: flex; flex-direction: column; gap: 2px; }
.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
}
.project-item--flip { direction: rtl; }
.project-item--flip > * { direction: ltr; }
.project-item__img {
  position: relative;
  overflow: hidden;
}
.project-item__img--concrete {
  background:
    linear-gradient(135deg, rgba(11,17,32,0.15), rgba(11,17,32,0.05)),
    url('../images/project1.jpg') center/cover no-repeat;
}
.project-item__img--brick {
  background:
    linear-gradient(135deg, rgba(11,17,32,0.15), rgba(11,17,32,0.05)),
    url('../images/project2.jpg') center/cover no-repeat;
}
.project-item__body {
  background: var(--fog);
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.project-item__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-item__body h3 { font-size: 28px; color: var(--steel); }
.project-item__body p { color: var(--text-muted); font-size: 15px; }
.project-item__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.meta-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(184,151,90,0.12);
  color: var(--gold);
  padding: 5px 12px;
}

/* =============================================
   VALUES
   ============================================= */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
}
.value-item {
  background: rgba(255,255,255,0.03);
  padding: 48px 36px;
  border-top: 3px solid transparent;
  transition: all var(--transition);
}
.value-item:hover { background: rgba(255,255,255,0.06); border-top-color: var(--gold); }
.value-item__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: rgba(184,151,90,0.25);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.value-item h4 { color: var(--white); margin-bottom: 12px; }
.value-item p { font-size: 14px; color: var(--concrete); line-height: 1.7; }

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: var(--gold);
  padding: 80px 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-strip__inner h2 {
  color: #0B1120;
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 8px;
}
.cta-strip__inner p { color: rgba(11,17,32,0.65); font-size: 16px; }
.cta-strip .btn--primary {
  background: white;
  color: var(--gold);
  flex-shrink: 0;
}
.cta-strip .btn--primary:hover { background: var(--fog); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand .nav__logo { margin-bottom: 20px; }
.footer__brand p { font-size: 13px; color: var(--concrete); line-height: 1.7; }
.footer__col h5 { color: var(--concrete); }
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: white; }
.footer__col ul li:not(a) {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(184,151,90,0.15);
  color: #B8975A;
  padding: 4px 10px;
  border: 1px solid rgba(184,151,90,0.3);
}
.footer__bottom {
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p { font-size: 12px; color: var(--concrete); }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — TABLET 1100px
   ============================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .service-detail__visual { min-height: 220px; }
  .service-detail__body { padding: 48px 40px; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-card.large { grid-column: span 1; }
  .proj-card.large .proj-card__img { height: 320px; }
}

/* =============================================
   RESPONSIVE — MOBILE 768px
   ============================================= */
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }

  /* NAV — smooth slide-down menu */
  .nav { padding: 0 20px; }
  .nav__inner { height: 68px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(11,17,32,0.98);
    backdrop-filter: blur(16px);
    padding: 40px 32px;
    border-top: 1px solid rgba(184,151,90,0.2);
    gap: 8px;
    overflow-y: auto;
    z-index: 99;
  }
  .nav__links.open a {
    font-size: 22px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: block;
    color: rgba(255,255,255,0.8);
  }
  .nav__links.open a:hover { color: var(--gold); }
  .nav__links.open .nav__cta {
    margin-top: 24px;
    background: var(--gold) !important;
    color: #0B1120 !important;
    text-align: center;
    border-radius: 0;
    padding: 18px !important;
    font-size: 14px !important;
  }
  .nav__burger { display: flex; }

  /* HERO */
  .hero__content {
    padding: 100px 20px 40px;
    margin-left: 0;
  }
  .hero__headline {
    font-size: clamp(48px, 13vw, 72px);
    line-height: 0.95;
    margin-bottom: 20px;
  }
  .hero__headline--outline {
    -webkit-text-stroke: 1px var(--gold);
  }
  .hero__sub {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 13px;
  }
  .hero__stats {
    margin-left: 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero__stat {
    min-width: unset;
    padding: 20px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero__stat:not(:last-child) {
    border-right: unset;
    margin-right: 0;
    padding-right: 0;
  }
  .hero__stat:nth-child(even) { border-right: none; }
  .hero__stat-num { font-size: 28px; }
  .hero__scroll { display: none; }
  .hero__badge { font-size: 9px; padding: 5px 10px; }

  /* ABOUT SNAP */
  .about-snap__card { padding: 28px; }
  blockquote { font-size: 17px; }
  .about-snap__tags { gap: 6px; }
  .tag { font-size: 10px; padding: 5px 10px; }

  /* SERVICES GRID */
  .services__grid { grid-template-columns: 1fr; gap: 2px; }
  .service-card { padding: 36px 24px; }
  .service-card h3 { font-size: 18px; }

  /* SERVICE DETAIL PAGES */
  .service-detail,
  .service-detail:nth-child(even) { 
    grid-template-columns: 1fr; 
    direction: ltr; 
  }
  .service-detail__visual { min-height: 180px; padding: 32px; }
  .service-detail__body { padding: 36px 24px; }
  .service-detail__body h2 { font-size: 26px; }

  /* PROJECTS */
  .project-item { grid-template-columns: 1fr; }
  .project-item--flip { direction: ltr; }
  .project-item__img { height: 240px; }
  .project-item__body { padding: 32px 24px; }
  .project-item__body h3 { font-size: 22px; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-card.large { grid-column: span 1; }
  .proj-card.large .proj-card__img { height: 260px; }
  .proj-card__img { height: 220px; }
  .proj-card__body { padding: 24px; }

  /* VALUES */
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value-item { padding: 32px 20px; }
  .value-item__num { font-size: 40px; }

  /* FOOTER */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 60px 0 0; }
  .footer__brand { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }

  /* CTA STRIP */
  .cta-strip { padding: 56px 0; }
  .cta-strip__inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-strip__inner .btn { width: 100%; justify-content: center; }

  /* DIRECTORS */
  .dir-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }

  /* WHATSAPP */
  .wa-float { bottom: 20px; right: 16px; }
  .wa-float svg { width: 52px; height: 52px; }
  .wa-float__label { display: none; }
}

/* =============================================
   RESPONSIVE — SMALL PHONES 480px
   ============================================= */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }

  .hero__content { padding: 88px 16px 32px; }
  .hero__headline { font-size: clamp(42px, 14vw, 58px); }
  .hero__sub { font-size: 13px; line-height: 1.6; }
  .hero__badge { display: none; }
  .hero__stat-num { font-size: 24px; }
  .hero__stat-label { font-size: 9px; }

  .values__grid { grid-template-columns: 1fr; }
  .value-item { padding: 28px 16px; }

  /* Section headers */
  h2 { font-size: clamp(28px, 9vw, 44px); }
  .section-header { margin-bottom: 40px; }

  /* Buttons full width on small screens */
  .btn { font-size: 11px; padding: 14px 20px; }
  .btn--lg { padding: 16px 24px; font-size: 12px; }

  /* Multi-step form */
  .form-step span { font-size: 16px; }
  .form-step { font-size: 9px; padding: 12px 10px; gap: 6px; }
  .form-nav.two { flex-direction: column; }
  .form-nav.two .btn,
  .form-nav.two .btn--ghost-dark { width: 100%; }

  /* About page */
  blockquote { font-size: 15px; }
  .about-snap__card { padding: 20px; }

  /* Services detail */
  .service-detail__body { padding: 28px 16px; }
  .service-detail__body ul li { font-size: 13px; }

  /* Projects */
  .proj-card__overlay h3 { font-size: 16px; }
  .proj-card__body p { font-size: 13px; }
  .meta-pill { font-size: 9px; }

  /* Footer */
  .logo-name { font-size: 15px; }
  .logo-sub { font-size: 8px; }
  .nav__logo svg { width: 32px; height: 36px; }
}

/* =============================================
   TOUCH — Remove hover-only effects on touch devices
   ============================================= */
@media (hover: none) {
  .service-card:hover { background: var(--steel-mid); }
  .service-card:hover::after { width: 0; }
  .project-item:hover .project-item__img { transform: none; }
  .proj-card:hover .proj-card__img { transform: none; }
  .proj-card:hover { transform: none; }
  .btn--primary:hover { transform: none; }
}

/* =============================================
   IMAGE ANIMATIONS
   ============================================= */
.project-item__img {
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.project-item:hover .project-item__img {
  transform: scale(1.03);
}
.proj-card__img {
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.proj-card:hover .proj-card__img {
  transform: scale(1.04);
}

/* Fade-in on load */
@keyframes imgFadeIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}
.hero::before {
  animation: heroZoom 18s ease-in-out infinite alternate,
             imgFadeIn 1.5s ease forwards;
}
/* TOUCH ACTIVE STATES */
.btn.touch-active,
.btn:active { opacity: 0.85; transform: scale(0.98); }
.service-card.touch-active { background: var(--steel); }
.proj-card.touch-active { opacity: 0.92; }

/* MOBILE TYPOGRAPHY SMOOTHING */
* { -webkit-tap-highlight-color: transparent; }
input, select, textarea { 
  font-size: 16px !important; /* Prevent iOS zoom on focus */
  border-radius: 0;
  -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8975A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px !important;
}
