/* -----------------------------------------------
   DIGIPORTE CONSULTING - Global Styles v3
   digiporteconsulting.com
   ----------------------------------------------- */

:root {
  --ink: #141210;
  --ink-soft: #2a2724;
  --ink-rich: #1a1714;
  --paper: #faf8f5;
  --warm: #f2efe9;
  --warm-deep: #e8e3da;
  --cream: #fdfcfa;
  --muted: #7a746b;
  --muted-light: #a39d94;
  --accent: #1b4332;
  --accent-mid: #2d6a4f;
  --accent-hover: #0f2d1f;
  --accent-light: #d8f0e3;
  --accent-glow: rgba(45, 106, 79, 0.08);
  --gold: #c9a84c;
  --gold-soft: #e4d5a0;
  --gold-glow: rgba(201, 168, 76, 0.12);
  --bronze: #8b6c45;
  --bronze-glow: rgba(139, 108, 69, 0.15);
  --border: #d9d4cb;
  --border-light: #ece8e1;
  --white: #ffffff;
  --shadow-sm: 0 1px 4px rgba(20,18,16,0.05);
  --shadow-md: 0 6px 30px rgba(20,18,16,0.08);
  --shadow-lg: 0 12px 50px rgba(20,18,16,0.12);
  --shadow-card: 0 2px 12px rgba(20,18,16,0.04);
  --shadow-card-hover: 0 12px 40px rgba(20,18,16,0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --max-w: 1100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* -- Typography -- */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { color: var(--muted); max-width: 640px; }
p + p { margin-top: 1.1rem; }

.text-ink { color: var(--ink); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* -- Layout -- */
.section {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.section--warm { background: var(--warm); }
.section--cream { background: var(--cream); }
.section--accent { background: var(--accent); }

/* Dark rich section */
.section--dark {
  background: linear-gradient(160deg, var(--ink-rich) 0%, #221e1a 50%, var(--ink-soft) 100%);
  color: var(--white);
}

.section--dark h2 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--dark .label { color: var(--gold); }
.section--dark .label::before { background: var(--bronze); }

/* Decorative dot pattern */
.section--pattern::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}

.section--dark.section--pattern::after {
  background-image: radial-gradient(circle, rgba(201,168,76,0.15) 1px, transparent 1px);
  opacity: 0.6;
}

/* Decorative diagonal line */
.section--diagonal::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: inherit;
  transform: skewY(-2deg);
  z-index: 0;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* -- Label -- */
.label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.6rem;
}

.label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* -- Subtitle -- */
.subtitle {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.85;
  margin-top: 1.1rem;
}

/* -- Buttons -- */
.btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.95rem 2.4rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 67, 50, 0.35);
}

.btn--white {
  background: var(--white);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

.btn--gold {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--bronze-glow);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,108,69,0.3);
}

.link-arrow {
  font-weight: 500;
  color: var(--accent-mid);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow::after { content: '\2192'; transition: transform var(--transition); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(6px); }

.section--dark .link-arrow { color: var(--gold-soft); }
.section--dark .link-arrow:hover { color: var(--gold); }

/* -- Navigation -- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 212, 203, 0.6);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius) !important;
  font-size: 0.85rem !important;
  transition: all var(--transition) !important;
  box-shadow: 0 3px 10px rgba(27, 67, 50, 0.2) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 18px rgba(27, 67, 50, 0.3) !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* -- Hero -- */
.hero {
  padding: 12rem 2rem 7rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Large decorative circle */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -8%;
  width: 550px;
  height: 550px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: heroCircleSpin 60s linear infinite;
}

/* Gold accent arc */
.hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -3%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-glow) 0%, var(--accent-glow) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes heroCircleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  max-width: 740px;
  margin-bottom: 1.5rem;
}

.hero > p {
  margin-bottom: 2.8rem;
  font-size: 1.15rem;
  line-height: 1.85;
}

/* Decorative line beside hero heading */
.hero-accent-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--bronze));
  border-radius: 3px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

/* -- Flip Cards (Pillars) -- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.flip-card {
  perspective: 1000px;
  height: 300px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.flip-card-front {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.flip-card-front::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid), var(--gold));
}

.flip-card-back {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: var(--white);
  transform: rotateY(180deg);
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.flip-card-back p {
  color: rgba(255,255,255,0.85);
  font-size: 0.94rem;
  line-height: 1.8;
  max-width: 100%;
}

.flip-card-back .flip-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: auto;
  letter-spacing: 0.05em;
}

.pillar-icon {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--accent-mid), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.pillar-icon-svg {
  margin-bottom: 1.2rem;
  line-height: 1;
}

.flip-card-front h3 {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.flip-card-front .flip-hint {
  font-size: 0.75rem;
  color: var(--muted-light);
  margin-top: auto;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.flip-hint-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--muted-light);
  border-radius: 50%;
  position: relative;
}

.flip-hint-icon::after {
  content: '\2192';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
}

/* -- Offer section -- */
.offer-block {
  background: linear-gradient(145deg, var(--warm) 0%, var(--warm-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  margin-top: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.offer-block::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.offer-detail h3 {
  font-size: 1.08rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

.offer-detail h3:first-child { margin-top: 0; }
.offer-detail p { font-size: 0.95rem; }

.check-list { list-style: none; padding: 0; margin: 0.5rem 0; }

.check-list li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-mid);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Pricing card */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--bronze));
}

.pricing-card .price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1.2;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin-top: 0.3rem;
  margin-bottom: 1.6rem;
}

.pricing-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 1.3rem;
  margin-bottom: 1.6rem;
}

.pricing-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.9rem;
}

.pricing-meta-row span:first-child { color: var(--muted-light); }
.pricing-meta-row span:last-child { font-weight: 500; color: var(--ink-soft); }

.pricing-card .btn { display: block; text-align: center; width: 100%; }

/* -- Tier cards -- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.tier {
  padding: 1.4rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.tier:hover {
  border-color: var(--accent-light);
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-2px);
}

.tier-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.tier-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* -- Case Study (dark rich section) -- */
.case-study { max-width: 760px; }
.case-study h2 { margin-bottom: 2rem; }

.case-study p {
  margin-bottom: 1.1rem;
  max-width: 100%;
  line-height: 1.85;
}

.case-result {
  margin: 2.5rem 0;
  padding: 2rem 2.2rem;
  border-left: 4px solid var(--gold);
  background: rgba(255,255,255,0.06);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.section--dark .case-result {
  background: rgba(255,255,255,0.06);
}

.case-result .stat {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.section--dark .case-result .stat { color: var(--gold); }
.case-result p { font-size: 0.95rem; margin: 0; }

.case-pullquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  margin-top: 2.5rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.5rem;
}

.section--dark .case-pullquote { color: var(--white); }

.case-pullquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  border-radius: 3px;
}

/* -- Case Study Gallery -- */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.case-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.case-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-color: rgba(201,168,76,0.3);
}

.case-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-gallery-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 1rem;
}

.case-gallery-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

.case-gallery-placeholder small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* -- About preview -- */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--warm-deep) 0%, var(--border) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 10px;
  pointer-events: none;
}

.about-preview-text h2 { margin-bottom: 1.3rem; }
.about-preview-text p { margin-bottom: 1.1rem; }
.about-preview-text .link-arrow { margin-top: 0.8rem; display: inline-flex; }

/* -- CTA Banner -- */
.cta-banner {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(145deg, var(--accent-hover) 0%, var(--accent) 40%, var(--accent-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }

.cta-banner p {
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  font-size: 1.05rem;
}

/* -- Service cards -- */
.services-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-card {
  padding: 2.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-mid), var(--gold), var(--bronze));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; }
.service-card p { font-size: 0.95rem; }

.service-card .price-line {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
}

.service-card .price-detail {
  font-size: 0.85rem;
  color: var(--muted-light);
}

/* -- Trust / Data Privacy -- */
.trust-section { max-width: 720px; margin: 0 auto; }
.trust-section h2 { margin-bottom: 1.3rem; }
.trust-section > p { margin-bottom: 1.5rem; }

.trust-list { list-style: none; padding: 0; margin: 1.5rem 0; }

.trust-list li {
  padding: 0.7rem 0 0.7rem 2.2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.trust-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--gold-soft));
  border: 2px solid var(--accent-mid);
  border-radius: 50%;
}

/* -- Values grid -- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.value-item {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid), var(--gold), var(--bronze));
  opacity: 0;
  transition: opacity var(--transition);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-item:hover::before { opacity: 1; }

.value-item h3 { font-size: 1.08rem; margin-bottom: 0.5rem; color: var(--ink); }
.value-item p { font-size: 0.94rem; }

/* -- Credentials -- */
.credentials-list { list-style: none; padding: 0; margin-top: 1.8rem; }

.credentials-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: color var(--transition);
}

.credentials-list li:hover { color: var(--ink-soft); }

.credentials-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent-mid), var(--gold));
  border-radius: 50%;
  flex-shrink: 0;
}

/* -- Footer -- */
.footer {
  background: var(--ink);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-mid), var(--gold), var(--bronze), var(--gold), var(--accent-mid));
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-logo span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  margin-top: 2.5rem;
  text-align: center;
}

/* -- Scroll Reveal Animations -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* Hero entrance animation */
.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-reveal:nth-child(3) { animation-delay: 0.3s; }
.hero-reveal:nth-child(4) { animation-delay: 0.45s; }
.hero-reveal:nth-child(5) { animation-delay: 0.6s; }

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

/* -- Responsive -- */
@media (max-width: 900px) {
  .pillars-grid,
  .services-next-grid,
  .tier-grid,
  .case-gallery { grid-template-columns: 1fr; }

  .flip-card { height: 280px; }
  .offer-grid { grid-template-columns: 1fr; }
  .pricing-card { position: static; }
  .about-preview-grid { grid-template-columns: 1fr; }
  .about-photo-placeholder { max-width: 320px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links { justify-content: center; }
  .hero::before, .hero::after { display: none; }
  .section--pattern::after { width: 200px; height: 200px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 2rem;
    gap: 1.3rem;
    box-shadow: var(--shadow-lg);
  }

  .hero { padding: 8.5rem 1.5rem 4rem; min-height: auto; }
  .section { padding: 5rem 1.5rem; }
  .offer-block { padding: 2rem; }
  .pricing-card { padding: 1.8rem; }
  .service-card { padding: 2rem; }
  .value-item { padding: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 4.5rem 1.5rem; }
  .flip-card { height: 260px; }
}
