/* =============================================
   VALEN HERNÁNDEZ · PORTFOLIO v2
   styles.css — shared across all pages
   ============================================= */

:root {
  --bg:         #F7F1EA;
  --bg-warm:    #EFE4DA;
  --bg-section: #F2E8DF;
  --bg-dark:    #4A3F38;
  --brown:      #6E3F28;
  --brown-mid:  #A46A43;
  --cream:      #E6CBB6;
  --cream-light:#F0E2D5;
  --text:       #2E2219;
  --text-mid:   #6B5244;
  --text-light: #9E7E6C;
  --white:      #FFFCF8;
  --accent:     #A46A43;
  --green:      #25D366;

  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  44px;

  --shadow-sm:  0 2px 12px rgba(59,45,39,.07);
  --shadow-md:  0 8px 32px rgba(59,45,39,.12);
  --shadow-lg:  0 24px 64px rgba(59,45,39,.16);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h: 70px;
  --max-w: 1160px;
  --gap:   clamp(16px, 3vw, 40px);
}

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

.container {
  width: min(var(--max-w), 100% - 40px);
  margin-inline: auto;
}

/* --- TYPOGRAPHY UTILITIES --- */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--brown); }
.section-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 660px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s, border-color .22s;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary   { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: #5a3220; }
.btn-outline   { background: transparent; color: var(--brown); border: 1.5px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-cream     { background: var(--cream-light); color: var(--brown); border: 1.5px solid var(--cream); }
.btn-cream:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }
.btn-white     { background: var(--white); color: var(--brown); }
.btn-white:hover { background: var(--cream-light); }
.btn-wa        { background: var(--green); color: #fff; }
.btn-wa:hover  { background: #1da851; }
.btn-sm        { padding: .5rem 1.1rem; font-size: .82rem; }

/* --- CHIP --- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .28rem .72rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  background: var(--bg-warm);
  border: 1px solid var(--cream);
  color: var(--text-mid);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.scale-in   { transform: scale(.95); }
.reveal.visible    { opacity: 1; transform: none; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(247,241,234,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(164,106,67,.10);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
  width: min(var(--max-w), 100% - 40px);
  margin-inline: auto;
}
.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar__logo-img { height: 38px; width: auto; display: block; object-fit: contain; }
.logo-name  { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--brown); }
.logo-role  { font-size: .65rem; color: var(--text-light); letter-spacing: .05em; }

.navbar__nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav-link {
  font-size: .82rem; font-weight: 500; color: var(--text-mid);
  padding: .38rem .7rem; border-radius: 8px;
  transition: background .18s, color .18s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--bg-warm); color: var(--brown); }
.navbar__cta { margin-left: .5rem; flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; margin-left: auto; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--brown);
  border-radius: 2px; transition: transform .3s, opacity .3s, width .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  z-index: 850;
  display: flex; flex-direction: column;
  padding: 1.5rem; gap: .3rem;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-link { font-size: 1.05rem; padding: .85rem 1rem; border-radius: var(--radius-sm); border-bottom: 1px solid var(--cream-light); }
.mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: calc(var(--nav-h) + 16px) 0 0;
  font-size: .8rem; color: var(--text-light);
}
.breadcrumb a { color: var(--brown-mid); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin-inline: .35rem; }

/* =============================================
   PAGE HERO (subpages)
   ============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 64px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164,106,67,.1) 0%, transparent 70%);
  top: -100px; right: -80px; pointer-events: none;
}
.page-hero__inner { max-width: 680px; }
.page-hero__label { display: block; margin-bottom: .6rem; }
.page-hero__title { margin-bottom: .8rem; }
.page-hero__desc  { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }

/* =============================================
   SECTION WRAPPER
   ============================================= */
.section { padding: 96px 0; }
.section--bg-warm    { background: var(--bg-warm); }
.section--bg-white   { background: var(--white); }
.section--bg-dark    { background: var(--bg-dark); }
.section--bg-section { background: var(--bg-section); }

.section__head { margin-bottom: 3rem; display: flex; flex-direction: column; gap: .5rem; }
.section__head.centered { align-items: center; text-align: center; }

/* =============================================
   HOME — HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--bg) 55%, var(--bg-warm) 100%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(164,106,67,.09) 0%, transparent 70%);
  top: -80px; right: -120px; pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: 64px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--brown-mid);
  background: var(--cream-light); border: 1px solid var(--cream);
  border-radius: 50px; padding: .35rem .9rem; margin-bottom: 1.1rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.12; color: var(--text); margin-bottom: 1.1rem;
}
.hero__title em { font-style: italic; color: var(--brown); }
.hero__desc {
  font-size: clamp(.95rem, 1.5vw, 1.05rem); color: var(--text-mid);
  line-height: 1.78; max-width: 500px; margin-bottom: 2rem;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__photo-col { position: relative; }
.hero__photo-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--cream); position: relative;
}
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: var(--text-light); font-size: .82rem;
  text-align: center; padding: 1rem; background: var(--cream);
}
.hero__badge {
  position: absolute; bottom: 24px; left: -16px;
  background: var(--white); border-radius: var(--radius-md);
  padding: .9rem 1.2rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: .15rem;
}
.hero__badge-num  { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--brown); line-height: 1; }
.hero__badge-text { font-size: .72rem; color: var(--text-mid); }
.hero__deco {
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--cream); opacity: .5; z-index: -1;
}

/* =============================================
   CLIENTS CAROUSEL
   ============================================= */
.clients-section { padding: 56px 0; background: var(--white); overflow: hidden; }
.clients-section__label {
  text-align: center; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 1.5rem;
}
.carousel-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.carousel-track {
  display: flex; align-items: center; gap: 1rem;
  width: max-content;
  animation: carouselScroll 34s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }

@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.carousel-item {
  display: flex; align-items: center; justify-content: center;
  padding: .85rem 1.4rem;
  background: var(--bg-warm); border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  min-width: 130px; min-height: 64px;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.carousel-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: var(--white); }
.carousel-item img {
  height: 36px; width: auto; max-width: 120px;
  object-fit: contain;
  filter: grayscale(15%); opacity: .9;
  display: block;
}
.carousel-item--text {
  font-family: var(--font-heading); font-size: .88rem;
  font-weight: 700; color: var(--text-mid); white-space: nowrap;
}

/* =============================================
   PATH CARDS (home)
   ============================================= */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.path-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden;
}
.path-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brown); transform: scaleX(0); transition: transform .28s; transform-origin: left;
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.path-card:hover::before { transform: scaleX(1); }
.path-card--featured { background: var(--brown); border-color: var(--brown); }
.path-card--featured::before { background: var(--cream); }
.path-card--featured .path-card__title { color: var(--white); }
.path-card--featured .path-card__desc  { color: rgba(255,255,255,.8); }
.path-card--featured .btn-cream { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.3); }
.path-card--featured .btn-cream:hover { background: var(--white); color: var(--brown); }
.path-card__icon  { font-size: 2rem; line-height: 1; }
.path-card__title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.path-card__desc  { font-size: .88rem; color: var(--text-mid); line-height: 1.65; flex: 1; }

/* =============================================
   PORTFOLIO CARDS
   ============================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}
.portfolio-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; transition: transform .28s, box-shadow .28s;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.portfolio-card__thumb {
  height: 130px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem 1.5rem; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--cream-light);
}
.portfolio-card__thumb img {
  max-height: 72px; max-width: 170px;
  width: auto; height: auto; object-fit: contain;
}
.portfolio-card__thumb--text {
  font-family: var(--font-heading); font-size: 1.05rem;
  font-weight: 700; color: var(--brown); text-align: center;
}
.portfolio-card__overlay {
  position: absolute; inset: 0;
  background: rgba(110,63,40,.78);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__overlay span { color: #fff; font-size: .82rem; font-weight: 600; }

.portfolio-card__body { padding: 1.1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.portfolio-card__cat  { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brown-mid); }
.portfolio-card__name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.portfolio-card__desc { font-size: .85rem; color: var(--text-mid); line-height: 1.6; flex: 1; }
.portfolio-card__chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }

/* =============================================
   PORTFOLIO MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20,12,8,.72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: min(720px, 100%); max-height: 90vh; overflow-y: auto;
  transform: translateY(20px) scale(.97);
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
  position: relative;
}
.modal-overlay.open .modal { transform: none; }

.modal__close {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: flex-end;
  padding: 1rem 1rem 0; background: var(--white);
}
.modal__close button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-warm); color: var(--text-mid); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal__close button:hover { background: var(--cream); }

.modal__head {
  padding: .5rem 2rem 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
  border-bottom: 1px solid var(--cream-light);
}
.modal__logo {
  width: 80px; height: 64px; border-radius: var(--radius-sm);
  background: var(--bg-warm); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.modal__logo img { max-width: 68px; max-height: 48px; object-fit: contain; }
.modal__logo--text {
  font-family: var(--font-heading); font-size: .88rem; font-weight: 700;
  color: var(--brown); text-align: center; padding: .5rem; line-height: 1.3;
}
.modal__client-name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--text); }
.modal__client-cat  { font-size: .8rem; color: var(--text-light); margin-top: .2rem; }

.modal__body { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.modal__block-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brown-mid); margin-bottom: .6rem;
}
.modal__chips   { display: flex; flex-wrap: wrap; gap: .4rem; }
.modal-chip {
  background: var(--cream-light); color: var(--brown-mid);
  border: 1px solid var(--cream); border-radius: 50px;
  padding: .25rem .85rem; font-size: .75rem; font-weight: 600;
}
.modal__desc    { font-size: .92rem; color: var(--text-mid); line-height: 1.75; }
.modal__badge   {
  background: var(--cream-light); border: 1px solid var(--cream);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  font-size: .88rem; color: var(--text-mid);
  display: flex; align-items: center; gap: .6rem;
}
.modal__media-placeholder {
  background: var(--bg-warm); border-radius: var(--radius-md);
  padding: 2rem; text-align: center; color: var(--text-light);
  font-size: .85rem; border: 1.5px dashed var(--cream);
}

/* =============================================
   DIFFERENTIATORS
   ============================================= */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.diff-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-md); padding: 1.6rem;
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--brown-mid); }
.diff-card__icon  { font-size: 1.6rem; line-height: 1; }
.diff-card__title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text); }
.diff-card__desc  { font-size: .86rem; color: var(--text-mid); line-height: 1.65; }

.section--bg-dark .section-label   { color: var(--cream); }
.section--bg-dark .section-title   { color: var(--white); }
.section--bg-dark .section-subtitle{ color: rgba(255,255,255,.65); }
.section--bg-dark .diff-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.section--bg-dark .diff-card:hover  { border-color: var(--cream); }
.section--bg-dark .diff-card__title { color: var(--white); }
.section--bg-dark .diff-card__desc  { color: rgba(255,255,255,.65); }

/* =============================================
   PROCESS
   ============================================= */
.process-list {
  display: flex; gap: 0; position: relative;
  counter-reset: step; flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 150px; padding: 1.6rem 1.2rem;
  text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.process-step::after {
  content: ''; position: absolute; top: 2.2rem; right: 0;
  width: 1px; height: 40px; background: var(--cream);
}
.process-step:last-child::after { display: none; }
.process-step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown); color: var(--white);
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.process-step__title { font-weight: 700; font-size: .92rem; color: var(--text); }
.process-step__desc  { font-size: .8rem; color: var(--text-mid); line-height: 1.55; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--brown); border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -80px; right: -60px; pointer-events: none;
}
.cta-banner__text { display: flex; flex-direction: column; gap: .4rem; }
.cta-banner__title { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; color: var(--white); }
.cta-banner__sub   { font-size: .92rem; color: rgba(255,255,255,.7); }
.cta-banner__btns  { display: flex; flex-wrap: wrap; gap: .7rem; flex-shrink: 0; }

/* =============================================
   SERVICES — TABS
   ============================================= */
.service-tabs {
  display: flex; gap: .4rem; flex-wrap: wrap;
  background: var(--bg-warm); border: 1px solid var(--cream);
  border-radius: 50px; padding: .3rem;
  width: fit-content; margin-bottom: 2.5rem;
}
.service-tab {
  padding: .55rem 1.2rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; color: var(--brown);
  border: 2px solid var(--cream); background: var(--white);
  transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.service-tab.active, .service-tab:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }
.service-panel { display: none; }
.service-panel.active { display: block; animation: fadeIn .3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .28s, box-shadow .28s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon { font-size: 2rem; line-height: 1; }
.service-card__name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.service-card__tagline { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }

/* Pricing blocks */
.price-block {
  background: var(--bg-section); border-radius: var(--radius-md);
  padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem;
}
.price-from-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); }
.price-amount { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--brown); line-height: 1; }
.price-detail { font-size: .75rem; color: var(--text-light); }

.price-block--packages { gap: .6rem; }
.price-packages { display: flex; flex-direction: column; gap: .5rem; }
.package-row {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem .5rem;
  padding: .55rem .8rem; background: var(--white);
  border: 1px solid var(--cream); border-radius: var(--radius-sm);
}
.package-row--highlight { background: var(--cream-light); border-color: var(--accent); }
.package-row__name   { font-size: .82rem; font-weight: 700; color: var(--text); }
.package-row__price  { font-size: .88rem; font-weight: 700; color: var(--brown); white-space: nowrap; text-align: right; }
.package-row__detail { font-size: .7rem; color: var(--text-light); grid-column: 1 / -1; }

.service-card__includes { display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.service-card__includes li {
  font-size: .85rem; color: var(--text-mid);
  padding-left: 1.2rem; position: relative; line-height: 1.5;
}
.service-card__includes li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: .78rem; }
.service-card__note {
  font-size: .78rem; color: var(--text-light); font-style: italic;
  background: var(--bg-warm); border-radius: var(--radius-sm); padding: .6rem .9rem; line-height: 1.5;
}

/* =============================================
   VIDEO GALLERY — Phone mockups
   ============================================= */
.video-gallery { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.video-mockup {
  width: 175px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: .8rem; cursor: pointer;
}
.video-mockup__phone {
  width: 175px; height: 310px; border-radius: 26px;
  border: 3.5px solid var(--text); background: linear-gradient(160deg, #c4a882 0%, #8c6c52 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .3s, box-shadow .3s;
}
.video-mockup:hover .video-mockup__phone {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0,0,0,.25);
}
.video-mockup__phone::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 10px; background: var(--text);
  border-radius: 0 0 8px 8px; z-index: 10;
}
.video-mockup__video { width: 100%; height: 100%; object-fit: cover; }
.video-mockup__overlay {
  position: absolute; inset: 0;
  background: rgba(30,15,5,.35);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  transition: background .2s;
}
.video-mockup:hover .video-mockup__overlay { background: rgba(30,15,5,.18); }
.video-mockup__play {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s; border: none; cursor: pointer;
}
.video-mockup:hover .video-mockup__play { transform: scale(1.12); background: var(--white); }
.video-mockup__label {
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.45); border-radius: 50px; padding: .22rem .65rem;
}
.video-mockup__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: var(--text-light); font-size: .72rem; text-align: center; padding: .8rem;
}
.video-mockup__placeholder span { font-size: 2rem; opacity: .3; }
.video-mockup__client { font-size: .8rem; font-weight: 600; color: var(--text-mid); text-align: center; }

/* Video modal */
.video-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(10,5,3,.88);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.video-modal-overlay.open { opacity: 1; pointer-events: all; }
.video-modal {
  position: relative; width: min(360px, 90vw); aspect-ratio: 9/16;
  border-radius: var(--radius-lg); overflow: hidden; background: #000;
  transform: scale(.9); transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.video-modal-overlay.open .video-modal { transform: scale(1); }
.video-modal video { width: 100%; height: 100%; object-fit: contain; }
.video-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.video-modal__close:hover { background: rgba(255,255,255,.3); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-lg); padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.testimonial-card::before {
  content: '\201C'; font-family: var(--font-heading); font-size: 5rem;
  color: var(--cream); position: absolute; top: .4rem; left: 1.2rem;
  line-height: 1; pointer-events: none;
}
.testimonial-card__text {
  font-size: .92rem; color: var(--text-mid); line-height: 1.75;
  font-style: italic; padding-top: 1.5rem;
}
.testimonial-card__footer { padding-top: .8rem; border-top: 1px solid var(--cream-light); }
.testimonial-card__name { font-weight: 700; font-size: .88rem; color: var(--text); display: block; }
.testimonial-card__role { font-size: .78rem; color: var(--text-light); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { display: flex; flex-direction: column; gap: .5rem; max-width: 800px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--cream); border-radius: var(--radius-md); overflow: hidden; }
.faq-btn {
  width: 100%; padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; font-size: .92rem; font-weight: 600; color: var(--text);
  transition: background .18s, color .18s;
}
.faq-btn:hover { background: var(--bg-warm); }
.faq-btn[aria-expanded="true"] { color: var(--brown); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--text-light);
  flex-shrink: 0; position: relative; transition: transform .3s, border-color .2s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--text-mid); border-radius: 1px;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  transition: transform .3s, opacity .3s, background .2s;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }
.faq-btn[aria-expanded="true"] .faq-icon { border-color: var(--brown); }
.faq-btn[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-btn[aria-expanded="true"] .faq-icon::before,
.faq-btn[aria-expanded="true"] .faq-icon::after { background: var(--brown); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s; padding: 0 1.4rem;
}
.faq-answer.open { max-height: 400px; padding: 0 1.4rem 1.2rem; }
.faq-answer p { font-size: .9rem; color: var(--text-mid); line-height: 1.7; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: start; }
.contact-links { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.contact-link {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem;
  border-radius: var(--radius-md); font-size: .9rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s; max-width: 340px;
}
.contact-link:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact-link__icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link--wa   { background: #e7f7ed; color: #1a6932; }
.contact-link--wa   .contact-link__icon { background: #25D366; color: #fff; }
.contact-link--ig   { background: #fce9f3; color: #9b1063; }
.contact-link--ig   .contact-link__icon { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.contact-link--mail { background: var(--bg); color: var(--brown); }
.contact-link--mail .contact-link__icon { background: var(--brown); color: #fff; }

.social-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social-pill {
  padding: .4rem .9rem; border-radius: 50px;
  background: var(--white); border: 1px solid var(--cream);
  font-size: .78rem; font-weight: 500; color: var(--text-mid);
  transition: background .2s, color .2s;
}
.social-pill:hover { background: var(--brown); color: var(--white); }

.contact-card {
  background: var(--white); border: 1px solid var(--cream);
  border-radius: var(--radius-xl); padding: 2.5rem;
  text-align: center; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.contact-card__avatar { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--cream); margin-bottom: .5rem; }
.contact-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-card__name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.contact-card__role { font-size: .82rem; color: var(--text-light); }
.contact-card__data { width: 100%; margin-top: .8rem; padding-top: 1rem; border-top: 1px solid var(--cream-light); display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; color: var(--text-mid); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--cream); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--text-light); font-size: .82rem; text-align: center; padding: 1rem; }
.about-badge { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; background: var(--white); border: 1px solid var(--cream); border-radius: 50px; padding: .5rem 1rem; font-size: .8rem; font-weight: 600; color: var(--brown-mid); }
.about-text { font-size: .95rem; color: var(--text-mid); line-height: 1.78; margin-bottom: 1rem; }
.know-block { background: var(--bg-warm); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.3rem 1.5rem; margin: 1.2rem 0 1.8rem; }
.know-block__title { font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: var(--brown); margin-bottom: .8rem; }
.know-list { display: flex; flex-direction: column; gap: .45rem; }
.know-list li { font-size: .88rem; color: var(--text-mid); padding-left: 1.3rem; position: relative; line-height: 1.6; }
.know-list li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); font-size: .68rem; top: .45rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--text); padding: 1.5rem 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__social { display: flex; gap: .7rem; }
.footer__social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.footer__social a:hover { background: var(--accent); color: #fff; }

/* =============================================
   FLOATING ELEMENTS
   ============================================= */
.wa-float {
  position: fixed; bottom: 26px; right: 22px; z-index: 800;
  display: flex; align-items: center; gap: .45rem;
  background: #25D366; color: #fff; border-radius: 50px;
  padding: .72rem 1.1rem .72rem .85rem;
  font-size: .82rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,.32);
  transition: transform .22s, box-shadow .22s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.44); }
.wa-float__label { white-space: nowrap; }

.back-top {
  position: fixed; bottom: 26px; left: 22px; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--cream);
  color: var(--brown); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; transform: translateY(8px);
}
.back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-top:hover { background: var(--brown); color: var(--white); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .navbar__nav { display: none; }
  .navbar__cta { display: none; }
  .hamburger   { display: flex; }

  .hero__grid  { grid-template-columns: 1fr; text-align: center; padding-block: 48px; }
  .hero__desc  { margin-inline: auto; }
  .hero__btns  { justify-content: center; }
  .hero__photo-col { max-width: 380px; margin-inline: auto; }
  .hero__badge { left: 0; }

  .paths-grid  { grid-template-columns: 1fr 1fr; }
  .paths-grid .path-card:nth-child(3) { grid-column: 1/-1; max-width: 400px; margin-inline: auto; width: 100%; }
  .diff-grid   { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:nth-child(3) { grid-column: 1/-1; max-width: 480px; margin-inline: auto; width: 100%; }
  .contact-grid   { grid-template-columns: 1fr; }
  .contact-card   { display: none; }
  .about-grid     { grid-template-columns: 1fr; }
  .about-photo    { max-width: 360px; margin-inline: auto; }
  .process-step::after { display: none; }
  .service-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --nav-h: 62px; }
  .hero__title { font-size: clamp(1.9rem, 6vw, 2.4rem); }
  .paths-grid  { grid-template-columns: 1fr; }
  .paths-grid .path-card:nth-child(3) { grid-column: auto; max-width: 100%; }
  .diff-grid   { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:nth-child(3) { grid-column: auto; max-width: 100%; }
  .service-tab { font-size: .78rem; padding: .45rem .8rem; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .video-gallery { gap: .8rem; }
  .video-mockup { width: 145px; }
  .video-mockup__phone { width: 145px; height: 258px; }
  .cta-banner  { flex-direction: column; }
  .cta-banner__btns { width: 100%; }
  .cta-banner__btns .btn { flex: 1; justify-content: center; }
  .process-list { flex-direction: column; }
  .process-step { flex-direction: row; text-align: left; align-items: flex-start; }
  .footer__inner { flex-direction: column; text-align: center; }
  .wa-float__label { display: none; }
  .wa-float { padding: .85rem; border-radius: 50%; }
  .modal__head { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .modal__body { padding: 1.2rem 1.2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel-track { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
