:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   1. Reset y base
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  padding: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* =========================================================
   2. Header
========================================================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 62px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.35rem;
  color: var(--dark);
}

.brand-text span {
  margin-top: .25rem;
  font-size: .9rem;
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================
   3. Navegación
========================================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: .95rem;
  font-weight: 700;
}

.nav-brand-mobile,
.nav-toggle {
  display: none;
}

.nav-menu {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-content a,
.nav-menu a {
  transition: .2s ease;
}

.nav-content a:hover,
.nav-menu a:hover {
  color: var(--primary);
}

.nav-contact,
.nav-menu .nav-contact {
  margin-left: auto;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
}

.nav-contact:hover,
.nav-menu .nav-contact:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

/* =========================================================
   4. Botones y enlaces
========================================================= */

.btn,
.project-link,
.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
}

.btn {
  padding: .9rem 1.35rem;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  will-change: transform;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .25);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

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

.service-link {
  margin-top: 1.2rem;
  color: var(--primary);
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.project-link {
  padding: .75rem 1rem;
  font-size: .9rem;
}

.project-link-primary {
  background: var(--primary);
  color: var(--white);
}

.project-link-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .25);
}

.project-link-secondary {
  background: rgba(37, 99, 235, .08);
  color: var(--primary);
}

.project-link-secondary:hover {
  background: rgba(37, 99, 235, .14);
  transform: translateY(-3px);
}

/* =========================================================
   5. Heroes
========================================================= */

.hero {
  min-height: calc(100vh - 152px);
  padding: 7rem 0;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, .15), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .04em;
}

.hero h1,
.page-hero h1,
.music-hero h1 {
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  color: var(--dark);
  margin-bottom: 1.4rem;
}

.hero p,
.page-hero p,
.music-hero p {
  font-size: 1.15rem;
}

.hero p {
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.tech-tags span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 800;
  border: 1px solid #bfdbfe;
}

.hero-image {
  position: relative;
  min-height: 420px;
  padding: 2.5rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top, rgba(37, 99, 235, .18), transparent 45%),
    var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border-radius: 50%;
  background: #eff6ff;
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  max-height: 320px;
  object-fit: contain;
}

.page-hero {
  padding: 6rem 0;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 32%),
    var(--light);
}

.page-hero-content {
  max-width: 850px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 680px;
}

/* =========================================================
   6. Secciones generales
========================================================= */

.why-me,
.services-preview,
.process-section,
.projects-preview,
.about-preview,
.blog-preview,
.blog-page,
.article-page,
.faq-section,
.project-detail-section,
.project-development-section,
.project-technologies-section,
.project-result-section {
  padding: 6rem 0;
}

.why-me,
.about-preview,
.projects-preview,
.project-technologies-section {
  background: var(--light);
}

.services-preview,
.process-section,
.blog-page,
.article-page,
.faq-section,
.project-detail-section,
.project-development-section,
.project-result-section {
  background: var(--white);
}

.blog-preview {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 30%),
    var(--white);
}

.section-title {
  max-width: 760px;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: var(--primary);
}

.section-title h2,
.about-content h2,
.cta-content h2,
.project-detail-main h2,
.project-result-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-title p,
.about-content p,
.cta-content p {
  font-size: 1.08rem;
}

/* =========================================================
   7. Tarjetas y grids
========================================================= */

.features,
.services-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card,
.service-card,
.project-card,
.post-card,
.about-box,
.process-grid article,
.project-detail-main,
.project-detail-meta,
.project-result-card,
.project-development-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: .2s ease;
}

.feature-card,
.service-card,
.about-box,
.project-detail-main,
.project-detail-meta,
.project-result-card,
.project-development-item {
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.feature-card,
.service-card,
.about-box,
.process-grid article {
  padding: 2rem;
}

.service-card,
.project-card,
.post-card,
.process-grid article {
  will-change: transform;
}

.feature-card:hover,
.service-card:hover,
.project-card:hover,
.post-card:hover,
.process-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card::before,
.project-card::before,
.post-card::before,
.process-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: .2s ease;
}

.service-card:hover::before,
.project-card:hover::before,
.post-card:hover::before,
.process-grid article:hover::before {
  opacity: 1;
}

.feature-card h3,
.service-card h3,
.project-card h3,
.post-card h3,
.about-box h3,
.process-grid h3 {
  color: var(--dark);
  margin-bottom: .7rem;
}

/* =========================================================
   8. Servicios
========================================================= */

.service-card {
  min-height: 250px;
}

.service-card i {
  width: 52px;
  height: 52px;
  margin-bottom: 1.3rem;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: .2s ease;
}

.service-card:hover i {
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3,
.feature-card h3 {
  font-size: 1.25rem;
}

.services-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: .25s ease;
}

.service-list-item:hover {
  transform: translateX(6px);
  border-color: var(--primary);
}

.service-list-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-list-item span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.service-image-section,
.project-single-image-section {
  padding: 3rem 0 1rem;
  background: var(--white);
}

.service-image,
.project-single-image {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
  border: 1px solid var(--border);
}

.service-image {
  max-height: 560px;
}

.project-single-image {
  max-height: 520px;
}

/* =========================================================
   9. Proceso
========================================================= */

.process-grid article {
  background: var(--light);
}

.process-grid article:hover {
  background: var(--white);
}

.process-grid span,
.project-development-number {
  display: inline-flex;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.process-grid span {
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
}

.process-grid h3 {
  font-size: 1.25rem;
}

/* =========================================================
   10. Proyectos
========================================================= */

.project-card {
  min-height: 240px;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), transparent),
    var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.projects-grid .project-card:nth-child(1) { background: linear-gradient(135deg, #eff6ff, #ffffff); }
.projects-grid .project-card:nth-child(2) { background: linear-gradient(135deg, #eef2ff, #ffffff); }
.projects-grid .project-card:nth-child(3) { background: linear-gradient(135deg, #f5f3ff, #ffffff); }
.projects-grid .project-card:nth-child(4) { background: linear-gradient(135deg, #ecfeff, #ffffff); }
.projects-grid .project-card:nth-child(5) { background: linear-gradient(135deg, #f0fdf4, #ffffff); }
.projects-grid .project-card:nth-child(6) { background: linear-gradient(135deg, #fff7ed, #ffffff); }

.project-card h3 {
  font-size: 1.4rem;
}

.project-card p,
.project-description {
  margin-bottom: 1.5rem;
}

.project-card span,
.project-category,
.project-tech {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
}

.project-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--border);
}

.project-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.project-category {
  margin-bottom: 1rem;
  padding: .45rem .8rem;
  background: rgba(37, 99, 235, .08);
  color: var(--primary);
  font-size: .9rem;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.project-tech {
  padding: .35rem .65rem;
  background: var(--light);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}

.project-tech-large {
  justify-content: flex-start;
  margin-top: 2rem;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
}

.project-single-actions {
  margin-top: 2.5rem;
  text-align: center;
}

/* =========================================================
   11. Fichas individuales de proyecto / música
========================================================= */

.project-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: stretch;
}

.project-detail-main,
.project-detail-meta,
.project-result-card {
  padding: 2.5rem;
}

.project-summary,
.project-result-card p {
  font-size: 1.15rem;
  line-height: 1.8;
}

.project-detail-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.project-meta-label {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .8rem;
}

.project-detail-meta strong {
  font-size: 1.4rem;
  color: var(--dark);
}

.project-development-list {
  display: grid;
  gap: 1rem;
}

.project-development-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
}

.project-development-number {
  width: 48px;
  height: 48px;
}

.project-development-item p {
  margin: 0;
  font-size: 1.05rem;
}

.project-result-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 35%),
    var(--white);
}

.project-result-card .project-link {
  margin-top: 1.5rem;
}

/* =========================================================
   12. Sobre mí
========================================================= */

.about-content {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 4rem;
}

.about-content .btn {
  margin-top: 1.5rem;
}

.about-box ul {
  list-style: none;
}

.about-box li {
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.about-box li:last-child {
  border-bottom: 0;
}

/* =========================================================
   13. Música
========================================================= */

.music-hero {
  padding: 7rem 0;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, .25), transparent 35%),
    linear-gradient(135deg, #020617, #111827);
  color: var(--white);
}

.music-hero-content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 4rem;
}

.music-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin-bottom: 1.5rem;
}

.music-hero p {
  max-width: 650px;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.music-logo-box {
  padding: 3rem;
  min-height: 360px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-logo-box img {
  max-height: 260px;
  object-fit: contain;
}

.music-hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}

.music-hero .btn-outline:hover {
  border-color: var(--primary);
}

/* =========================================================
   14. Blog y artículos
========================================================= */

.post-card {
  padding: 2rem;
  background: var(--light);
}

.post-card:hover {
  background: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.post-card img,
.featured-post img,
.article-image {
  width: 100%;
  border-radius: calc(var(--radius) - 6px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card img {
  margin-bottom: 1.2rem;
}

.post-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.post-card p {
  margin-bottom: 1.5rem;
}

.post-card a {
  color: var(--primary);
  font-weight: 800;
}

.post-card a:hover {
  color: var(--primary-dark);
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0 4rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
}

.featured-post span {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

.featured-post h2 {
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}

.featured-post > div {
  max-width: 560px;
}

.featured-post p {
  margin-bottom: 2rem;
}

.featured-post .btn {
  margin-top: .5rem;
}

.blog-tools {
  margin: 3rem 0;
}

.blog-tools input {
  width: 100%;
  max-width: 520px;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font: inherit;
}

.blog-tools input:focus {
  outline: 2px solid #bfdbfe;
  border-color: var(--primary);
}

.article-page {
  padding: 5rem 0;
}

.article-page .container {
  max-width: 860px;
}

.article-image {
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

#article-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

#article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--dark);
}

#article-content h3 {
  margin-top: 2.2rem;
  margin-bottom: .8rem;
  font-size: 1.5rem;
  color: var(--dark);
}

#article-content ul,
#article-content ol {
  margin: 1.5rem 0 2rem 1.5rem;
}

#article-content li {
  margin-bottom: .5rem;
  font-size: 1.08rem;
  line-height: 1.8;
}

#article-content strong {
  color: var(--dark);
}

/* =========================================================
   15. Contacto
========================================================= */

.contact-section {
  padding: 6rem 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.contact-info > p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--primary);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  border: 1px solid var(--border);
  transition: .25s;
}

.contact-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

.contact-form {
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: .6rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: .25s;
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.contact-form select {
  cursor: pointer;
}

.contact-form select:hover {
  border-color: #b8c2d1;
}

.contact-form button {
  margin-top: 1rem;
}

.form-message {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  transition: opacity .35s ease, transform .35s ease;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
}

.form-message.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   16. FAQ
========================================================= */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--dark);
}

.faq-list p {
  margin-top: 1rem;
}

/* =========================================================
   17. CTA
========================================================= */

.cta-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 35%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 760px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
}

.cta-content p {
  margin-bottom: 2rem;
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta-section .btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* =========================================================
   18. Footer
========================================================= */

.site-footer {
  background: #111827;
  color: var(--white);
  padding-top: 5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  width: 70px;
  margin-bottom: 1rem;
}

.footer-brand h3,
.footer-column h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #d1d5db;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li,
.footer-column a {
  color: #d1d5db;
}

.footer-column li {
  margin-bottom: .65rem;
}

.footer-column a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: .8rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f2937;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
  will-change: transform;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* =========================================================
   19. Responsive
========================================================= */

@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .features,
  .services-grid,
  .about-content,
  .blog-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-content {
    min-height: auto;
    padding: 1rem 0;
  }

  .nav-content {
    min-height: 66px;
    padding: 0;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav-brand-mobile {
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    color: var(--dark);
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--dark);
    transition: .25s ease;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 0 0 22px 22px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--light);
  }

  .nav-menu .nav-contact {
    margin-left: 0;
    margin-top: .4rem;
    text-align: center;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-content,
  .music-hero-content,
  .featured-post,
  .project-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 300px;
  }

  .hero-image img {
    max-height: 220px;
  }
}

@media (max-width: 700px) {
  .process-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .page-hero,
  .why-me,
  .services-preview,
  .process-section,
  .projects-preview,
  .about-preview,
  .blog-preview,
  .blog-page,
  .article-page,
  .faq-section,
  .project-detail-section,
  .project-development-section,
  .project-technologies-section,
  .project-result-section,
  .contact-section {
    padding: 4rem 0;
  }

  .tech-tags {
    margin-top: 1.5rem;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-link {
    width: 100%;
  }

  .project-development-item {
    grid-template-columns: 1fr;
  }

  .project-single-image,
  .service-image {
    max-height: 360px;
  }
}

@media (max-width: 620px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
