/* ============================================================
   DIZAYN MOBİLYA — pages.css
   Extra styles for images, new sections, and sub-pages
   ============================================================ */

/* ---- Mobile-only hero image ---- */
.hero-img-mobile {
  display: none;
}
.hero-img-mobile img {
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: none;
}

/* ---- Hero Split Layout ---- */
.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 100px 28px 80px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text);
}
.trust-item svg { color: var(--accent); }

/* Hero Image Mosaic */
.hero-visual {
  position: relative;
  height: 520px;
}
.hero-img {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img:hover img { transform: scale(1.04); }

.hero-img-main {
  top: 0; left: 0;
  width: 65%;
  height: 72%;
  z-index: 2;
}
.hero-img-sm1 {
  bottom: 0; left: 8%;
  width: 48%;
  height: 36%;
  z-index: 3;
}
.hero-img-sm2 {
  top: 12%; right: 0;
  width: 42%;
  height: 55%;
  z-index: 1;
}

.hero-img-badge {
  position: absolute;
  bottom: 18%;
  right: 4%;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 4;
  min-width: 110px;
}
.hib-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.hib-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 6px;
  line-height: 1.4;
}

/* ---- SEO Intro Section ---- */
.seo-intro {
  background: var(--bg);
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(139,111,71,0.10);
}

.seo-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.seo-intro-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: var(--heading);
  line-height: 1.3;
  margin-bottom: 20px;
}

.seo-intro-text h2 em {
  font-style: italic;
  color: var(--accent);
}

.seo-intro-text p {
  color: var(--text-muted, #555);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.seo-intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  padding-top: 6px;
}

.seo-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--heading);
  line-height: 1.4;
}

.seo-feature svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .seo-intro-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .seo-intro-features {
    grid-template-columns: 1fr;
  }
  .seo-intro {
    padding: 44px 0 36px;
  }
}

/* ---- Portfolio Preview (Homepage) ---- */
.portfolio-preview { background: var(--surface); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.portfolio-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--heading);
  aspect-ratio: 4/3;
  text-decoration: none;
  cursor: pointer;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
  opacity: 0.92;
}
.portfolio-card:hover img {
  transform: scale(1.06);
  opacity: 0.75;
}
.portfolio-card-wide {
  grid-column: 1 / 3;
  aspect-ratio: 16/8;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(28,28,26,0.80) 0%, transparent 100%);
  transition: opacity 0.3s ease;
}
.portfolio-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.portfolio-overlay h3 {
  color: white;
  font-size: 20px;
  font-weight: 600;
}

/* ---- About right column with image ---- */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img-wrap:hover img { transform: scale(1.03); }

/* ============================================================
   SUB-PAGE SHARED STYLES
   ============================================================ */
.page-hero {
  padding: calc(var(--navbar-h) + 72px) 0 80px;
  background: linear-gradient(150deg, #F5EDE0 0%, #EDE4D2 60%, #E5D8C2 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,168,130,0.20) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(139,111,71,0.10);
  border: 1px solid rgba(139,111,71,0.22);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 18px;
  color: var(--body-text);
  max-width: 560px;
  line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(74,74,71,0.4); }

/* ============================================================
   HİZMETLER PAGE
   ============================================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-detail-img:hover img { transform: scale(1.04); }

.service-detail-text { padding: 8px 0; }
.service-detail-text .section-label { display: block; margin-bottom: 12px; }
.service-detail-text h2 { font-size: 30px; margin-bottom: 16px; }
.service-detail-text p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--body-text);
}
.service-feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(139,111,71,0.12);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238B6F47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  margin-top: 2px;
}

/* Process Steps */
.process-section { background: var(--surface); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.process-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.process-icon {
  width: 68px;
  height: 68px;
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.process-card h3 { font-size: 18px; margin-bottom: 12px; }
.process-card p { font-size: 14px; line-height: 1.7; }

/* ============================================================
   GALERİ PAGE
   ============================================================ */
.gallery-section { background: var(--bg); }

.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 22px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.masonry-grid {
  columns: 3;
  column-gap: 16px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item .portfolio-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover .portfolio-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

/* ============================================================
   HAKKIMIZDA PAGE
   ============================================================ */
.about-page-story { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-img-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--accent);
  color: white;
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
}
.story-img-badge span:first-child {
  display: block;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}
.story-img-badge span:last-child {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}
.story-text h2 { margin-bottom: 20px; }
.story-text p {
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--body-text);
}

/* Values Grid */
.values-section { background: var(--surface); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card-icon {
  width: 62px;
  height: 62px;
  background: rgba(139,111,71,0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card p { font-size: 15px; line-height: 1.75; }

/* Testimonials */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F5A623;
  font-size: 18px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  display: block;
}
.author-loc {
  font-size: 13px;
  color: var(--body-text);
  display: block;
  margin-top: 2px;
}

/* ============================================================
   İLETİŞİM PAGE
   ============================================================ */
.contact-page { background: var(--bg); }
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form-wrap h2 { font-size: 28px; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 15px; margin-bottom: 32px; color: var(--body-text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--heading);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,111,71,0.12);
}
.form-group textarea { min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,111,71,0.35);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}
.contact-sidebar-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
}
.contact-sidebar-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* FAQ Section */
.faq-section { background: var(--surface); }
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--surface); }
.faq-question svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-text);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* ============================================================
   CTA BANNER (shared)
   ============================================================ */
.cta-banner {
  background: var(--accent);
  padding: 80px 28px;
  text-align: center;
}
.cta-banner h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner .btn-primary {
  background: white;
  color: var(--accent);
  border-color: white;
  font-size: 16px;
  padding: 16px 36px;
}
.cta-banner .btn-primary:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--accent-dark);
}

/* ============================================================
   STATS BAND (hakkimizda page)
   ============================================================ */
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-band-grid .stat-val {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.stats-band-grid .stat-lbl {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.80);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-split .hero-inner { gap: 40px; }
  .hero-visual { height: 420px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { gap: 48px; }
  .service-detail-grid { gap: 28px; }
  .service-detail-img { height: 300px; }
  .contact-page-grid { grid-template-columns: 1fr 1.2fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Page Hero */
  .page-hero { padding: calc(var(--navbar-h) + 48px) 0 56px; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 40px); }
  .page-hero p { font-size: 16px; }

  /* Hero Split */
  .hero-split .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 20px 52px;
    gap: 0;
  }
  .hero-visual { display: none; }
  .hero-trust { gap: 12px; }
  .trust-item { font-size: 13px; }

  /* Mobile hero image */
  .hero-img-mobile {
    display: block;
    margin: 28px 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    height: 220px;
  }
  .hero-img-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-img-mobile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,26,0.45) 0%, transparent 55%);
    border-radius: var(--radius-lg);
  }
  .hero-img-mobile-badges {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 2;
  }
  .hero-img-mobile-badge {
    background: rgba(139,111,71,0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
  }
  .hero-img-mobile-badge .hib-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }
  .hero-img-mobile-badge .hib-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 3px;
  }

  /* Portfolio Preview */
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portfolio-card-wide { grid-column: 1 / -1; }
  .portfolio-overlay h3 { font-size: 16px; }

  /* About right */
  .about-right { flex-direction: column; }
  .about-img-wrap { height: 200px; }

  /* Services detail */
  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    margin-bottom: 48px;
  }
  .service-detail-img { height: 220px; }
  .service-detail-text h2 { font-size: 24px; }
  .service-detail-text p { font-size: 15px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-card { padding: 32px 18px 24px; }
  .process-card h3 { font-size: 16px; }

  /* Gallery */
  .masonry-grid { columns: 2; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; }
  .gallery-filter { gap: 8px; margin-bottom: 32px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }

  /* Story / About page */
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-img { height: 260px; }
  .story-img-badge { padding: 14px 18px; }
  .story-img-badge span:first-child { font-size: 30px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .value-card { padding: 28px 20px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 28px 24px; }

  /* Stats band */
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-band-grid .stat-val { font-size: 40px; }

  /* Contact page */
  .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-sidebar { position: static; }
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form-wrap h2 { font-size: 24px; }
  .contact-sidebar-map { height: 220px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* FAQ */
  .faq-question { font-size: 15px; padding: 18px 20px; }
  .faq-answer { padding: 0 20px; }
  .faq-item.open .faq-answer { padding: 0 20px 18px; }

  /* CTA Banner */
  .cta-banner { padding: 60px 20px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 16px; }
  .cta-banner .btn-primary { padding: 14px 28px; font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — Small (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .page-hero { padding: calc(var(--navbar-h) + 36px) 0 44px; }
  .page-hero-badge { font-size: 11px; }

  .hero-img-mobile { height: 190px; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card-wide { grid-column: 1; }
  .portfolio-card { aspect-ratio: 16/9; }

  .values-grid { grid-template-columns: 1fr; }
  .value-card { padding: 24px 18px; }

  .process-grid { grid-template-columns: 1fr; }
  .process-card { padding: 36px 20px 24px; }

  .masonry-grid { columns: 1; }

  .story-img { height: 220px; }
  .story-text h2 { font-size: 22px; }

  .stats-band-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .testimonial-card { padding: 24px 18px; }

  .contact-form-wrap { padding: 24px 16px; }

  .cta-banner { padding: 48px 16px; }
  .cta-banner h2 { font-size: 22px; }
}

/* ============================================================
   RESPONSIVE — XSmall (≤ 375px)
   ============================================================ */
@media (max-width: 375px) {
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 15px; }

  .values-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-grid .stat-val { font-size: 34px; }

  .filter-btn { padding: 7px 12px; font-size: 12px; }

  .contact-form-wrap { padding: 20px 14px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 14px; padding: 12px 14px; }

  .cta-banner h2 { font-size: 20px; }
  .cta-banner p { font-size: 15px; }
}
