/* =============================================
   VALENTINA MORENO — Portfolio UX/UI & Branding
   styles.css — Mobile-first, 2025
   ============================================= */

/* ── 1. TOKENS & RESET ─────────────────────── */
:root {
  --bg:        #fafafa;
  --primary:   #ff4d6d;
  --secondary: #1a1a2e;
  --accent:    #ffd60a;
  --white:     #ffffff;
  --gray-100:  #f4f4f6;
  --gray-200:  #e8e8ec;
  --gray-400:  #9696a8;
  --gray-700:  #3a3a4a;
  --text:      #1a1a2e;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius:    12px;
  --radius-lg: 24px;
  --shadow:    0 4px 24px rgba(26,26,46,.08);
  --shadow-lg: 0 12px 48px rgba(26,26,46,.14);
  --trans:     .3s ease;
  --nav-h:     72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.touch-device { cursor: auto; }

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; font-family: inherit; border: none; background: none; }
body.touch-device button { cursor: pointer; }

/* ── 2. UTILITIES ───────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }

.c-accent { color: var(--primary); }

/* Section headers */
.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,77,109,.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 540px;
}

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

.section__head .section__desc { margin: 0 auto; }

/* Tags */
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-700);
  letter-spacing: .04em;
}
.tag--uxui    { background: rgba(99,102,241,.12); color: #6366f1; }
.tag--branding{ background: rgba(255,77,109,.12); color: var(--primary); }
.tag--web     { background: rgba(16,185,129,.12); color: #10b981; }

/* ── 3. BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 24px;
  border-radius: 100px;
  transition: var(--trans);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,77,109,.35);
}
.btn--primary:hover {
  background: #e03557;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,77,109,.45);
}

.btn--outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.btn--outline:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--primary);
  color: var(--white);
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 100px;
  display: none;
}

.btn--full { width: 100%; justify-content: center; }

/* ── 4. CUSTOM CURSOR ───────────────────────── */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}

.cursor {
  width: 36px; height: 36px;
  border: 2px solid var(--primary);
  transition: width .2s, height .2s, border-color .2s, transform .08s;
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  transition: transform .08s;
}

.cursor.is-hovered {
  width: 60px; height: 60px;
  background: rgba(255,77,109,.12);
  border-color: var(--primary);
}

body.touch-device .cursor,
body.touch-device .cursor-dot { display: none; }

/* ── 5. NAVBAR ──────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .3s, box-shadow .3s;
}

.header.is-scrolled {
  background: rgba(250,250,250,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,26,46,.08);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  transition: transform .2s;
}
.nav__logo:hover { transform: rotate(-5deg) scale(1.08); }

.nav__list {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after { width: 100%; }

.nav__hamburger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--trans);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__list.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  padding: 24px 20px 32px;
  box-shadow: 0 8px 32px rgba(26,26,46,.1);
  gap: 0;
  z-index: 999;
}
.nav__list.is-open li { border-bottom: 1px solid var(--gray-200); }
.nav__list.is-open .nav__link {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
}

/* ── 6. HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(80px, 20vw, 220px);
  color: rgba(26,26,46,.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* --- Hero Content --- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,.1);
  color: #0d9e6d;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.badge__dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.hero__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.hero__name--outline {
  -webkit-text-stroke: 2px var(--secondary);
  color: transparent;
}

.hero__role {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-700);
  margin-bottom: 8px;
}

.hero__tagline {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 10px;
}

.hero__location {
  font-size: .85rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.hero__location i { color: var(--primary); }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
  line-height: 1;
}
.stat__lbl {
  font-size: .75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px; height: 36px;
  background: var(--gray-200);
}

/* --- Hero Image --- */
.hero__image-col {
  position: relative;
  align-self: center;
  max-width: 340px;
  margin: 0 auto;
}

.hero__image-frame {
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  overflow: hidden;
  aspect-ratio: 1;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero__image-frame:hover .hero__photo { transform: scale(1.05); }

.hero__deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__deco--1 {
  width: 80px; height: 80px;
  background: var(--primary);
  top: -16px; right: -16px;
  opacity: .25;
}
.hero__deco--2 {
  width: 50px; height: 50px;
  background: var(--accent);
  bottom: 20px; left: -20px;
  opacity: .5;
}

.hero__floating-tag {
  position: absolute;
  bottom: -12px; right: 10px;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── 7. PROJECTS ─────────────────────────────── */
.projects { background: var(--white); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  background: transparent;
  transition: var(--trans);
  cursor: pointer;
}
body:not(.touch-device) .filter-tab { cursor: none; }

.filter-tab:hover,
.filter-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

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

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, opacity .4s;
  cursor: pointer;
}
body:not(.touch-device) .project-card { cursor: none; }

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.project-card.is-fading {
  opacity: 0;
  transform: translateY(16px);
}

.project-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-card__img { transform: scale(1.06); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,77,109,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__view-btn {
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.6);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .2s;
}
.project-card__view-btn:hover { background: rgba(255,255,255,.15); }

.project-card__info { padding: 20px; }

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.project-card__client {
  font-size: .82rem;
  color: var(--gray-400);
}

/* ── 8. ABOUT ─────────────────────────────────── */
.about { background: var(--bg); }

.about__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about__img-col { text-align: center; }

.about__img-wrap {
  position: relative;
  display: inline-block;
  max-width: 320px;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about__img-badge {
  position: absolute;
  bottom: -16px; right: -12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
}
.about__img-badge i { color: var(--accent); font-size: 1rem; }
.about__img-badge span { font-weight: 700; display: block; color: var(--secondary); font-size: .85rem; }
.about__img-badge small { color: var(--gray-400); font-size: .75rem; }

.about__bio {
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 28px;
}
.about__tools-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tool-chip {
  background: var(--gray-100);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
}

.skills { margin: 0 0 32px; }

.skills__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--secondary);
}

.skill-item { margin-bottom: 16px; }

.skill-item__head {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.skill-item__head i { color: var(--primary); margin-right: 4px; }

.skill-item__track {
  height: 7px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}

.skill-item__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

/* ── 9. SERVICES ─────────────────────────────── */
.services { background: var(--secondary); }
.services .section__title,
.services .section__tag { color: var(--white); }
.services .section__tag { background: rgba(255,255,255,.1); }
.services .section__desc { color: rgba(255,255,255,.55); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  transition: transform .3s, background .3s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
}

.service-card--featured {
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(255,77,109,.4);
}
.service-card--featured:hover {
  background: #e03557;
}
.service-card--featured .service-card__list li i { color: var(--accent); }
.service-card--featured .btn--primary {
  background: var(--white);
  color: var(--primary);
}
.service-card--featured .btn--primary:hover {
  background: var(--accent);
  color: var(--secondary);
}

.service-card__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--accent);
  color: var(--secondary);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
}

.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-card__list {
  margin-bottom: 24px;
}
.service-card__list li {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card__list li i {
  color: var(--accent);
  font-size: .75rem;
  flex-shrink: 0;
}

.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.price__cur { font-size: .85rem; color: rgba(255,255,255,.7); }
.price__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}
.price__per { font-size: .8rem; color: rgba(255,255,255,.6); }

.service-card .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.service-card .btn--outline:hover {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

/* ── 10. PROCESS ─────────────────────────────── */
.process { background: var(--bg); }

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: steps;
}

.process-step {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s;
}
.process-step:hover { transform: translateX(4px); }

.process-step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  color: rgba(255,77,109,.1);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
}

.process-step__icon {
  width: 48px; height: 48px;
  background: rgba(255,77,109,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.process-step__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: .88rem;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ── 11. TESTIMONIALS ───────────────────────── */
.testimonials { background: var(--white); }

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: box-shadow .3s, transform .3s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  color: var(--accent);
  font-size: .85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  quotes: '"' '"';
}
.testimonial-card blockquote::before { content: open-quote; color: var(--primary); font-size: 1.4rem; }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--secondary);
}
.testimonial-card__author span {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ── 12. CONTACT ─────────────────────────────── */
.contact { background: var(--bg); }

.contact__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__desc {
  color: var(--gray-400);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: inherit;
  transition: color .2s;
}
.contact__detail-item:hover { color: var(--primary); }

.contact__detail-icon {
  width: 40px; height: 40px;
  background: rgba(255,77,109,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .95rem;
  flex-shrink: 0;
}

.detail__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.detail__val {
  font-size: .9rem;
  font-weight: 500;
  color: var(--secondary);
}

.contact__socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: .95rem;
  transition: var(--trans);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,77,109,.12);
}
.form-input.is-error { border-color: #ef4444; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239696a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
body:not(.touch-device) .form-select { cursor: none; }

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

.form-error {
  font-size: .78rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 18px;
}

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

.form-success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.form-success i { color: #10b981; font-size: 1.1rem; }

.btn__loading { display: none; }
.btn--loading .btn__text  { display: none; }
.btn--loading .btn__loading { display: inline-flex; align-items: center; gap: 8px; }

/* ── 13. FOOTER ──────────────────────────────── */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,.6);
  padding-top: 48px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .nav__logo {
  margin-bottom: 10px;
}

.footer__tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer__nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--trans);
}
.footer__socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer__copy {
  padding: 16px 0;
  text-align: center;
}
.footer__copy p {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

/* ── 14. MODAL ───────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,.85);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
body:not(.touch-device) .modal__backdrop { cursor: none; }

.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(26,26,46,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary);
  z-index: 10;
  transition: background .2s;
}
.modal__close:hover { background: var(--primary); color: var(--white); }

.modal__img-wrap { overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal__img { width: 100%; height: 280px; object-fit: cover; }

.modal__body { padding: 24px; }

.modal__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.modal__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.modal__desc {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.modal__meta-lbl {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 2px;
}
.modal__meta-val {
  font-size: .9rem;
  font-weight: 600;
  color: var(--secondary);
}

/* ── 15. SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── 16. BREAKPOINT 480px ─────────────────────── */
@media (min-width: 480px) {
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .form-row       { flex-direction: row; }
}

/* ── 17. BREAKPOINT 768px ─────────────────────── */
@media (min-width: 768px) {
  .nav__list { display: flex; margin-left: auto; }
  .nav__hamburger { display: none; }
  .btn--nav { display: inline-flex; }

  .hero__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .hero__content { flex: 1; max-width: 540px; }
  .hero__image-col { max-width: 380px; flex-shrink: 0; }

  .about__container {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
  .about__img-col { flex: 0 0 280px; }
  .about__content { flex: 1; }

  .contact__container {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
  .contact__info { flex: 1; }
  .contact__form-wrap { flex: 1.2; }

  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }

  .testimonials__grid { grid-template-columns: 1fr 1fr; }

  .modal__img { height: 360px; }
}

/* ── 18. BREAKPOINT 1024px ────────────────────── */
@media (min-width: 1024px) {
  .projects__grid    { grid-template-columns: repeat(3, 1fr); }
  .services__grid    { grid-template-columns: repeat(4, 1fr); }
  .process__grid     { grid-template-columns: repeat(4, 1fr); }
  .testimonials__grid{ grid-template-columns: repeat(3, 1fr); }

  .service-card--featured { transform: scale(1.02); }

  .hero__image-col { max-width: 440px; }
}

/* ── 19. ACCESSIBILITY ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
