/* ═══════════════════════════════════════════════════════════
   CES MİMARLIK — Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── RESET & CUSTOM PROPERTIES ────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #F4F1EA;   /* warm cream */
  --surface:   #ffffff;
  --surface-2: #E1D6C7;   /* stone — expertise section bg */
  --ink:       #30353A;   /* dark charcoal */
  --ink-mid:   #7D6C5A;   /* warm brown — body copy */
  --ink-light: #C6B7A3;   /* warm stone — labels, hints */
  --border:    #E1D6C7;   /* stone border */

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

  --gap:   clamp(1.5rem, 5vw, 5rem);
  --ease:  0.35s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); background: none; border: none; }

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────── */
.section-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-dark   { background: var(--ink); color: var(--surface); border: 1px solid var(--ink); }
.btn-dark:hover { opacity: 0.78; }

.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.btn-ghost { background: transparent; color: var(--surface); border: 1px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--surface); }

.btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--surface); }
.btn-light:hover { background: var(--bg); }

.btn-sm { padding: 9px 22px; font-size: 10.5px; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  height: 66px;
  background: transparent;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.nav.scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--surface);
  transition: color var(--ease);
  z-index: 2;
}

.nav.scrolled .nav-logo { color: var(--ink); }

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

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--ease);
}

.nav-links a:hover { color: var(--surface); }
.nav.scrolled .nav-links a { color: var(--ink-mid); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.55) !important;
  padding: 7px 20px !important;
  transition: all var(--ease) !important;
}

.nav-cta:hover { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--surface) !important; }

.nav.scrolled .nav-cta { border-color: var(--ink) !important; color: var(--ink) !important; }
.nav.scrolled .nav-cta:hover { background: var(--ink) !important; color: var(--surface) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--surface);
  transition: all var(--ease);
}

.nav.scrolled .nav-toggle span { background: var(--ink); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;   /* text sits at the bottom */
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #12100a; /* warm dark fallback — matches photo's golden tones */
}

/* Image is taller + starts above the viewport to give parallax room to move */
.hero-bg img {
  position: absolute;
  top: -18%;
  left: 0;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: center 52%;  /* frame the villa façades, not the sky */
  opacity: 0;
  will-change: transform;
  transition: opacity 1.4s ease;
}

.hero-bg img.loaded { opacity: 1; }   /* full image — no dimming */

/* Bottom gradient only — warm dark tint matches the photo's golden tones.
   Top 55% stays fully open so the architecture reads clearly.            */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(14, 9, 3, 0.88) 0%,     /* warm near-black at text area */
      rgba(14, 9, 3, 0.38) 26%,
      rgba(14, 9, 3, 0.06) 48%,
      transparent           62%),
    linear-gradient(
      to bottom,
      rgba(14, 9, 3, 0.45) 0%,     /* top fade — nav text readable */
      transparent           22%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--surface);
  padding: 0 var(--gap);
  padding-bottom: clamp(5rem, 9vw, 7rem);  /* leave space for scroll indicator */
  width: 100%;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-title .t-ces {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 1;
}

.hero-title .t-mimarlik {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.9;
  font-style: italic;
}

.hero-sub {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.75);
  animation: scrollAnim 2s ease infinite;
}

@keyframes scrollAnim { to { top: 200%; } }

/* ── STATS STRIP ──────────────────────────────────────────── */
.stats-strip {
  background: #E1D6C7;   /* warm stone — no harsh dark band under the hero */
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.8rem var(--gap);
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.4rem 3.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: #30353A;   /* dark charcoal on the warm stone strip */
}

.stat-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: clamp(4.5rem, 9vw, 9rem) var(--gap);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

.about-text p {
  color: var(--ink);
  line-height: 1.85;
  margin-bottom: 1.3rem;
  font-size: 15px;
}

.about-text .section-heading { margin-bottom: 2rem; }
.about-text .btn { margin-top: 0.8rem; }

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image:hover img { transform: scale(1.03); }

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  background: var(--surface);
  padding: clamp(4.5rem, 9vw, 9rem) var(--gap);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-head {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2rem;
  padding: 2.8rem 1.5rem;
  margin-left: -1.5rem;
  border-bottom: 1px solid var(--border);
  /* Exit: snaps back quickly so the next item feels fresh */
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.service-item:hover {
  background: rgba(48, 53, 58, 0.04);
  box-shadow: inset 3px 0 0 var(--ink), 0 8px 32px rgba(48, 53, 58, 0.10);
  transform: translateX(8px);
  /* Entry: 0.15s delay lets the previous row settle before this one pops,
     springy easing on transform gives the physical "pop" feel */
  transition: background 0.45s ease 0.15s,
              box-shadow 0.45s ease 0.15s,
              transform  0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-light);
  font-weight: 400;
  padding-top: 4px;
}

.service-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2.2rem;
  align-items: start;
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--ink);
  flex-shrink: 0;
}

.service-icon svg { width: 100%; height: 100%; }

.service-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.service-text p {
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 560px;
  font-size: 13.5px;
}

/* ── EXPERTISE ────────────────────────────────────────────── */
.expertise {
  padding: clamp(4.5rem, 9vw, 9rem) var(--gap);
  background: var(--surface-2);
}

.expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-inner .section-heading { margin-bottom: 2.5rem; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.expertise-card {
  cursor: pointer;
  transition: transform var(--ease);
}

.expertise-card:hover { transform: translateY(-5px); }

.expertise-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--border);
  border-radius: 3px;
  box-shadow: 0 6px 28px rgba(48, 53, 58, 0.14);
  transition: box-shadow var(--ease);
}

.expertise-card:hover .expertise-img {
  box-shadow: 0 16px 44px rgba(48, 53, 58, 0.24);
}

.expertise-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.expertise-card:hover .expertise-img img { transform: scale(1.07); }

.expertise-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--ease);
}

.expertise-card:hover .expertise-overlay { opacity: 1; }

.expertise-info {
  padding: 1rem 0 0.5rem;
}

.expertise-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.expertise-info p {
  font-size: 12.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── PROJECT PANELS ──────────────────────────────────────── */
.project-panel { display: none; }

.project-panel.active {
  display: block;
  animation: panelIn 0.38s ease;
}

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

/* ── PROJECTS ─────────────────────────────────────────────── */
.projects {
  background: var(--surface);
  padding: clamp(4.5rem, 9vw, 9rem) var(--gap);
}

.projects-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.projects-head .section-heading { margin-bottom: 0; }

.filter-tabs {
  display: flex;
  align-items: center;
}

.filter-tab {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 8px 16px;
  border-bottom: 1.5px solid transparent;
  transition: all var(--ease);
}

.filter-tab:hover { color: var(--ink); }
.filter-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 1rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.project-img {
  width: 100%;
  height: 100%;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.project-card:hover .project-img img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,0.88) 0%, transparent 58%);
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
  opacity: 0;
  transition: opacity var(--ease);
}

.project-card:hover .project-overlay,
.project-card.featured .project-overlay { opacity: 1; }

.project-card.featured .project-overlay {
  background: linear-gradient(to top, rgba(28,28,26,0.72) 0%, transparent 50%);
}

.project-info { color: var(--surface); }

.project-cat {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
}

.project-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.project-card.featured .project-info h3 { font-size: 2.1rem; }

.project-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* staggered reveal delays for grid items */
.project-card:nth-child(2) { transition-delay: 0.05s; }
.project-card:nth-child(3) { transition-delay: 0.10s; }
.project-card:nth-child(4) { transition-delay: 0.15s; }
.project-card:nth-child(5) { transition-delay: 0.20s; }

.expertise-card:nth-child(2) { transition-delay: 0.08s; }
.expertise-card:nth-child(3) { transition-delay: 0.16s; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: clamp(4.5rem, 9vw, 9rem) var(--gap);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.contact-info .section-heading { margin-bottom: 2.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.contact-val {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.contact-link { transition: color var(--ease); }
.contact-link:hover { color: var(--ink); }

/* ── FORM ─────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  outline: none;
  transition: border-color var(--ease);
  width: 100%;
  resize: none;
  line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-light); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #30353A;
  color: var(--surface);
  padding: 3.5rem var(--gap);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.55rem;
}

.footer-brand p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
}

.footer-nav {
  display: flex;
  gap: 2.2rem;
}

.footer-nav a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}

.footer-nav a:hover { color: var(--surface); }

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  text-align: right;
}

.footer-tagline {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.32);
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TOUCH DEVICES — show overlays without hover ──────────── */
@media (hover: none) {
  .project-overlay,
  .expertise-overlay { opacity: 1; }
}

/* ── TABLET (≤ 960px) ─────────────────────────────────────── */
@media (max-width: 960px) {
  /* About */
  .about-inner { grid-template-columns: 1fr; }
  .about-image  { aspect-ratio: 16/9; order: -1; }

  /* Expertise */
  .expertise-grid { grid-template-columns: 1fr 1fr; }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
  .project-card.featured { grid-column: span 2; grid-row: span 1; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; }

  /* Stats: tighten without dividers */
  .stat         { padding: 1.2rem 1.5rem; }
  .stat-divider { display: none; }
}

/* ── MOBILE (≤ 640px) ─────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --gap: 1.25rem; }

  /* Remove tap flash on all interactive elements */
  a, button { -webkit-tap-highlight-color: transparent; }

  /* ── Nav ── */
  .nav-links {
    display: none;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 0 var(--gap);
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    list-style: none;
  }

  .nav-links.open { display: flex; }

  /* Full-width tappable links with bottom dividers */
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--ink-mid) !important;
    font-size: 12px;
    letter-spacing: 0.13em;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a:hover { color: var(--ink) !important; }

  /* İletişim CTA — plain link style in mobile menu */
  .nav-cta {
    border: none !important;
    padding: 1rem 0 !important;
    color: var(--ink) !important;
    letter-spacing: 0.13em;
    font-size: 12px;
  }

  .nav-toggle { display: flex; }

  /* ── Hero ── */
  .hero-title .t-ces {
    font-size: clamp(1rem, 4.5vw, 4.5rem);
    letter-spacing: 0.38em;
  }
  .hero-title .t-mimarlik {
    font-size: clamp(3rem, 13vw, 9rem);
  }
  .hero-sub { display: none; }  /* title + eyebrow carry the message on small screens */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(280px, 80vw);
    margin: 0 auto;
    gap: 10px;
  }
  .hero-actions .btn { justify-content: center; }
  .hero-scroll { display: none; }  /* touch users don't need a scroll nudge */

  /* ── Stats: compact 3-in-a-row ── */
  .stats-strip   { padding: 1.8rem var(--gap); gap: 0; }
  .stat          { flex: 1; padding: 0 0.4rem; min-width: 0; }
  .stat-num      { font-size: 1.9rem; }
  .stat-label    { font-size: 9px; letter-spacing: 0.1em; }

  /* ── Services ── */
  .service-item  { grid-template-columns: 32px 1fr; gap: 0.8rem; padding: 1.8rem 0; }
  .service-body  { grid-template-columns: 1fr; gap: 0.8rem; }
  .service-icon  { width: 36px; height: 36px; }
  .service-text h3 { font-size: 1.25rem; }

  /* ── Expertise: single column, wider aspect ── */
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-img  { aspect-ratio: 16/9; }  /* 3/4 is too tall on a phone */

  /* ── Projects ── */
  .projects-head { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Horizontal-scrolling filter tabs (no wrapping) */
  .filter-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    margin-bottom: -4px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; white-space: nowrap; padding: 8px 14px; }

  /* Single-column cards */
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .project-card.featured { grid-column: span 1; grid-row: span 1; }

  /* ── Contact form ── */
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group textarea { font-size: 16px; } /* prevents iOS zoom on focus */

  /* ── Footer ── */
  .footer-inner { flex-direction: column; gap: 2rem; text-align: center; }
  .footer-copy  { text-align: center; }
  .footer-nav   { flex-wrap: wrap; justify-content: center; }
}
