/* ============================================
   THE INNOVATIVE FACTORY — Main Stylesheet
   Brand: Red #CC1F1F | Charcoal #1A1A1A | White #FFFFFF
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --red: #CC1F1F;
  --red-dark: #A51818;
  --red-light: #F5E6E6;
  --charcoal: #1A1A1A;
  --charcoal2: #2D2D2D;
  --charcoal3: #3D3D3D;
  --white: #FFFFFF;
  --gray: #6B7280;
  --light-gray: #F4F4F4;
  --border: #E5E7EB;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.28s cubic-bezier(.22,.68,0,1.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--charcoal);
  border-bottom: 2px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo-wrap {
  background: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-left: 10px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--charcoal);
  padding: 90px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(204,31,31,0.07);
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(204,31,31,0.06);
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(204,31,31,0.4);
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 30px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 10px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-title .acc {
  color: var(--red);
  font-style: italic;
}

.hero-sub-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 28px;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 42px;
  line-height: 1.78;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  animation: fadeUp 0.7s 0.4s ease both;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: var(--transition);
}

.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ============================================
   TICKER
   ============================================ */
.ticker {
  background: var(--red);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 52px;
  animation: ticker 22s linear infinite;
}

.ticker-item {
  font-size: 10px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker-item::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-img {
  background: var(--charcoal2);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.about-img img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease, transform 0.6s ease;
}

.about-slide.active {
  opacity: 1;
  z-index: 2;
}

.about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: var(--charcoal2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.about-text {
  padding: 64px 56px;
  background: var(--light-gray);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-body {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 14px;
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-lbl {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.5;
  margin-top: 4px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-sec {
  padding: 72px 48px;
  background: var(--white);
}

.sec-header {
  text-align: center;
  margin-bottom: 48px;
}

.sec-header .eyebrow { justify-content: center; }
.sec-header .eyebrow::before { display: none; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

.svc-card {
  background: var(--white);
  padding: 40px 36px;
  transition: background 0.25s ease;
}

.svc-card:hover { background: var(--light-gray); }

.svc-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 900;
  color: rgba(204,31,31,0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.svc-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.svc-list { display: flex; flex-direction: column; gap: 10px; }

.svc-list li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-list li::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================
   PRINCIPLES
   ============================================ */
.principles {
  background: var(--charcoal);
  padding: 72px 48px;
}

.principles .section-title { color: var(--white); }

.prin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.prin-card {
  padding: 32px;
  border: 1px solid rgba(204,31,31,0.2);
  border-radius: 6px;
  transition: border-color 0.25s ease;
}

.prin-card:hover { border-color: rgba(204,31,31,0.5); }

.prin-icon {
  width: 44px; height: 44px;
  background: rgba(204,31,31,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  color: var(--red);
}

.prin-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.prin-body {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.72;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients-sec {
  padding: 60px 48px;
  background: var(--light-gray);
}

.clients-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
  margin-bottom: 36px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.client-box {
  width: 120px; height: 52px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.client-box:hover { border-color: var(--red); transform: translateY(-2px); }

.client-box img {
  max-height: 30px;
  max-width: 96px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
}

.client-box:hover img { filter: grayscale(0%); opacity: 1; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  background: var(--red);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(165,24,24,0.5);
}

.cta-pre {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-line {
  width: 44px; height: 2px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto 24px;
}

.cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 14px 34px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #0F0F0F;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(204,31,31,0.2);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
}

.footer-logo-wrap {
  background: var(--white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand img { width: 100%; height: 100%; object-fit: contain; }

.footer-brand-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-left: 10px;
  white-space: nowrap;
}

.footer-info {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-links { display: flex; gap: 22px; }

.footer-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  letter-spacing: 0.06em;
}

.footer-links a:hover { color: var(--red); }

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-hero {
  background: var(--charcoal);
  padding: 56px 48px 44px;
}

.filters {
  padding: 20px 48px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--white);
}

.pill {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--gray);
  background: var(--white);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.pill:hover { border-color: var(--red); color: var(--red); }
.pill.active { background: var(--red); border-color: var(--red); color: var(--white); }

.count-bar {
  padding: 14px 48px;
  font-size: 12px;
  color: var(--gray);
}

.count-bar span { color: var(--red); font-weight: 600; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 8px 48px 56px;
}

.portfolio-grid.bento {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 18px;
}

.bento .span-2x2 { grid-column: span 2; grid-row: span 2; }
.bento .span-2x1 { grid-column: span 2; grid-row: span 1; }
.bento .span-1x2 { grid-column: span 1; grid-row: span 2; }

.p-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--charcoal2);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
  opacity: 0;
  transform: translateY(20px);
}

.bento .p-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bento .p-card-img {
  flex: 1;
  aspect-ratio: unset;
  min-height: 0;
}

.bento .span-2x2 .p-card-title { font-size: 17px; }
.bento .span-2x2 .p-card-desc { font-size: 13px; }

.p-card.visible {
  animation: cardIn 0.45s cubic-bezier(.22,.68,0,1.1) forwards;
}

.p-card:hover { transform: translateY(-7px); }

.p-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--charcoal3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  font-size: 36px;
  color: rgba(255,255,255,0.08);
}

.p-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-card:hover .p-card-img-inner { transform: scale(1.06); }

.p-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s ease;
}

.p-card:hover .p-card-overlay { opacity: 0.9; }

.view-btn {
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 8px 20px;
  border-radius: 2px;
  transform: translateY(8px);
  transition: transform 0.28s ease;
}

.p-card:hover .view-btn { transform: translateY(0); }

.p-card-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.6);
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.p-card-body { padding: 14px 16px 16px; }

.p-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}

.p-card-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--charcoal);
  border-radius: 10px;
  max-width: 620px;
  width: 100%;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: #000;
  position: relative;
  overflow: hidden;
}

.modal-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: none;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-nav:hover { background: var(--red); }
.modal-prev { left: 12px; }
.modal-next { right: 12px; }

.modal-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.modal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.modal-dot.active { background: var(--red); width: 18px; border-radius: 3px; }

.modal-body { padding: 24px 26px; }

.modal-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-footer { display: flex; gap: 12px; align-items: center; }

.modal-close-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.45);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 11px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.modal-close-btn:hover { border-color: var(--red); color: var(--red); }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-hero {
  background: var(--charcoal);
  padding: 56px 48px 44px;
}

.services-intro {
  padding: 56px 48px;
  background: var(--white);
  max-width: 700px;
}

.services-full {
  padding: 0 48px 72px;
}

.svc-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.svc-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.svc-full-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }

.svc-full-header {
  background: var(--charcoal);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.svc-full-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: rgba(204,31,31,0.25);
  line-height: 1;
  flex-shrink: 0;
}

.svc-full-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-top: 8px;
}

.svc-full-body { padding: 28px 32px; }

.svc-full-list { display: flex; flex-direction: column; gap: 12px; }

.svc-full-list li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.svc-full-list li:last-child { border-bottom: none; padding-bottom: 0; }

.svc-full-list li::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  background: var(--charcoal);
  padding: 56px 48px 44px;
}

.contact-body {
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--charcoal);
  border-radius: 8px;
  padding: 36px 32px;
  height: fit-content;
}

.contact-info-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-info-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-icon {
  width: 36px; height: 36px;
  background: rgba(204,31,31,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 16px;
}

.contact-info-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-info-value {
  font-size: 13px;
  color: var(--white);
  line-height: 1.5;
}

.contact-info-value a {
  color: var(--white);
  transition: color 0.2s ease;
}

.contact-info-value a:hover { color: var(--red); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.contact-form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 24px;
}

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

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: #FAFAFA;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-input:focus { border-color: var(--red); background: var(--white); }

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

.form-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.form-submit:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ============================================
   PAGE HERO (reusable for inner pages)
   ============================================ */
.page-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.page-hero-title span { color: var(--red); font-style: italic; }

.page-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  max-width: 540px;
  line-height: 1.75;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; z-index: 101; }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--charcoal);
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(.22,.68,0,1.1), padding 0.4s ease;
  }

  .nav-links.open {
    max-height: 320px;
    padding: 18px 24px 24px;
  }

  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }

  .hero { padding: 60px 24px; }
  .hero-title { font-size: 48px; }

  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 280px; }
  .about-text { padding: 40px 28px; }

  .services-sec, .principles { padding: 52px 24px; }
  .svc-grid, .prin-grid, .svc-full-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; padding: 8px 24px 40px; }
  .portfolio-grid.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .filters, .count-bar { padding-left: 24px; padding-right: 24px; }

  .contact-body { grid-template-columns: 1fr; padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .cta-strip { padding: 52px 24px; }
  .cta-title { font-size: 30px; }
}

@media (max-width: 400px) {
  .nav-brand-text { font-size: 13px; }
}

@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .span-2x2, .bento .span-2x1, .bento .span-1x2 { grid-column: span 1; grid-row: span 1; }
  .bento .p-card-img { aspect-ratio: 16/10; flex: none; }
  .hero-title { font-size: 38px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stats { gap: 20px; }
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader img {
  width: 110px;
  animation: loaderPulse 1.3s ease-in-out infinite;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1); }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
body {
  opacity: 1;
  transition: opacity 0.32s ease;
}

body.page-fade-out {
  opacity: 0;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 90;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 18px; right: 18px; }
}
