/* ═══════════════════════════════════════════
   AMBIENTES — Diseño y Decoración
   Custom styles for Zaragoza interior design studio
   ═══════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-dark: #131F38;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-pale: #F5EBC8;
  --cream: #FAF8F5;
  --cream-warm: #F5F0E8;
  --blush: #F2E6DC;
  --sage: #E8EDE6;
  --sky: #E6EDF2;
  --lavender: #EDE8F0;
  --text: #1B2A4A;
  --text-light: #5A6B82;
  --text-muted: #8A9AB0;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.06), 0 1px 2px rgba(27,42,74,0.04);
  --shadow-md: 0 4px 20px rgba(27,42,74,0.08), 0 2px 8px rgba(27,42,74,0.04);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.12), 0 4px 16px rgba(27,42,74,0.06);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito Sans', system-ui, sans-serif;
  --nav-width: 260px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-eyebrow { margin-bottom: 12px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.35);
}

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

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

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

/* ═══════════════════════════════════════════
   SIDE NAVIGATION
   ═══════════════════════════════════════════ */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  z-index: 1000;
  transition: transform var(--transition);
}

.nav-brand {
  margin-bottom: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 38px;
}

.nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  position: relative;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-link:hover::before,
.nav-link.active::before {
  height: 24px;
}

.nav-link.active {
  color: var(--gold-light);
  font-weight: 600;
}

.nav-contact {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-phone,
.nav-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.nav-phone:hover,
.nav-email:hover { color: var(--gold); }

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19,31,56,0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.visible { opacity: 1; }

/* ═══════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════ */
.main-content {
  margin-left: var(--nav-width);
  min-height: 100vh;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(27,42,74,0.92) 0%,
      rgba(27,42,74,0.75) 40%,
      rgba(27,42,74,0.4) 65%,
      transparent 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 48px 0 80px;
  margin-left: auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 80px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

/* ── Servicios ── */
.servicios { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid rgba(27,42,74,0.04);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--cream);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
}

.service-card:hover .service-icon svg {
  stroke: var(--gold);
}

.service-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Proyectos ── */
.proyectos { background: var(--cream-warm); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.project-large {
  grid-column: span 7;
}

.project-wide {
  grid-column: span 12;
}

.project-card:not(.project-large):not(.project-wide) {
  grid-column: span 5;
}

.project-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-wide .project-img { aspect-ratio: 21/9; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-info {
  padding: 20px 24px;
}

.project-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.project-name {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Nosotros ── */
.nosotros { background: var(--cream); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.nosotros-images {
  position: relative;
  height: 620px;
}

.img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

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

.img-secondary {
  position: absolute;
  bottom: 0;
  right: -40px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
  z-index: 2;
}

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

.img-accent {
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 3;
}

.accent-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-md);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 600;
}

.nosotros-content .section-eyebrow { text-align: left; }
.nosotros-content .section-title { text-align: left; }
.nosotros-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.nosotros-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Proceso ── */
.proceso { background: var(--cream-warm); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold), var(--gold-pale));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-light);
}

.step-content h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* ── Testimonios ── */
.testimonios { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(27,42,74,0.04);
  transition: all var(--transition);
}

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

.testimonial-quote {
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.author-project {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── CTA ── */
.cta-section {
  padding: 80px 0;
  background: var(--cream-warm);
}

.cta-box {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 2px 2px, var(--gold) 1px, transparent 0);
  background-size: 32px 32px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-eyebrow { color: var(--gold-light) !important; }

.cta-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-text {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contacto ── */
.contacto { background: var(--cream); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contacto-info .section-eyebrow { text-align: left; }
.contacto-info .section-title { text-align: left; margin-bottom: 16px; }
.contacto-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.6;
  transition: color var(--transition);
}

.contact-value:hover { color: var(--gold); }

/* ── Form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27,42,74,0.04);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(27,42,74,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-privacy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
}

.form-success.visible {
  display: flex;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.footer-contact p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --nav-width: 220px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .side-nav {
    transform: translateX(-100%);
  }

  .side-nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.visible {
    pointer-events: all;
  }

  .main-content {
    margin-left: 0;
  }

  .hero-content {
    padding: 0 24px;
    margin-left: 0;
    max-width: 100%;
  }

  .hero-scroll { left: 24px; }

  .hero-bg {
    position: absolute;
    inset: 0;
  }

  .hero-gradient {
    background: linear-gradient(
      180deg,
      rgba(27,42,74,0.95) 0%,
      rgba(27,42,74,0.8) 50%,
      rgba(27,42,74,0.6) 100%
    );
  }

  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nosotros-images {
    height: 400px;
  }

  .img-secondary { right: -16px; }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-large { grid-column: span 12; }
  .project-card:not(.project-large):not(.project-wide) { grid-column: span 6; }
  .project-wide { grid-column: span 12; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-title { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .cta-box { padding: 48px 28px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .contact-form-wrap { padding: 24px; }

  .project-card:not(.project-large):not(.project-wide) { grid-column: span 12; }

  .img-secondary { position: relative; right: 0; bottom: 0; width: 100%; margin-top: 16px; }
  .nosotros-images { height: auto; display: flex; flex-direction: column; }
}
