/* ============================================
   GSAr — Estilos principales
   Paleta: Celeste #00acd1 · Gris #66869f · Negro/Gris Oscuro #131f28
   ============================================ */

:root {
  --dark:        #131f28;
  --dark2:       #1a2b37;
  --dark3:       #203040;
  --accent:      #00acd1;
  --accent-light:#33c3e0;
  --accent-pale: #e0f7fd;
  --cream:       #eef3f7;
  --white:       #ffffff;
  --text-muted:  #66869f;
  --text-light:  #8faabf;
  --border:      rgba(0,172,209,0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  padding-top: 72px;

}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(19,31,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-decoration: none;
}
.nav-logo span { color: var(--white); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: var(--dark); }
.nav-info { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}
.nav-phone:hover { color: var(--accent-light); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%; height: 100%;
  background: var(--dark2);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-content {
  padding: 120px 5% 80px 8%;
  position: relative; z-index: 2;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero-desc {
  color: var(--text-light);
  font-size: 16px; line-height: 1.7;
  max-width: 440px; margin-bottom: 48px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--dark);
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-light); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual {
  position: relative; z-index: 2;
  padding: 120px 8% 80px 5%;
  display: flex; flex-direction: column; align-items: flex-end;
}
.hero-img-frame {
  width: 100%; max-width: 480px;
  aspect-ratio: 3/4;
  background: var(--dark3);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.7;
}
.hero-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--dark) 0%, transparent 50%);
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2px;
  width: 100%; max-width: 480px;
}
.stat {
  background: var(--dark2);
  padding: 20px 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300;
  color: var(--accent); line-height: 1;
}
.stat-label {
  font-size: 11px; letter-spacing: 1.5px;
  color: var(--text-muted); text-transform: uppercase;
  margin-top: 4px;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; z-index: 5;
  text-decoration: none;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ===================== SECTION BASE ===================== */
section { padding: 100px 5%; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-label::before {
  content: ''; width: 32px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300; line-height: 1.1;
}

/* ===================== ABOUT ===================== */
.about { background: var(--white); }
.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/5;
  background: var(--dark3); overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 160px;
  background: var(--accent-pale);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 20px;
  z-index: 2;
}
.about-accent-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 300;
  color: var(--accent); line-height: 1;
}
.about-accent-text {
  font-size: 11px; letter-spacing: 1px; color: var(--dark);
  text-transform: uppercase; margin-top: 4px;
}
.about-content { padding-left: 20px; }
.about-content h2 { color: var(--dark); margin-bottom: 24px; }
.about-content p {
  color: var(--text-muted); font-size: 16px; line-height: 1.8;
  font-weight: 300; margin-bottom: 20px;
}
.about-values { display: flex; flex-direction: column; gap: 0; margin: 36px 0; }
.value-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.value-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-pale);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.value-text h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; letter-spacing: 0.5px; }
.value-text p { font-size: 14px; margin-bottom: 0; line-height: 1.6; }

/* ===================== SERVICES ===================== */
.services { background: var(--dark); }
.services .section-title { color: var(--white); }
.services-header {
  max-width: 1200px; margin: 0 auto 60px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
}
.services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--dark2);
  padding: 40px 32px;
  transition: background 0.4s;
  position: relative; overflow: hidden;
  cursor: default;
}
.service-card:hover { background: var(--dark3); }
.service-card:hover .service-num { color: rgba(0,172,209,0.3); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300;
  color: rgba(0,172,209,0.10);
  position: absolute; top: 16px; right: 20px;
  line-height: 1; transition: color 0.4s;
  user-select: none;
}
.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 20px;
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400;
  color: var(--white); margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted); font-size: 14px; line-height: 1.7; font-weight: 300;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  margin-top: 24px; transition: gap 0.3s;
  z-index: 20;
}
.service-link:hover { gap: 14px; }
.service-large {
  grid-column: span 2;
  background: var(--dark3);
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px;
  position: relative;
}
.service-large-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark3) 0%, rgba(0,172,209,0.08) 100%);
}
.service-large h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300;
  color: var(--white); margin-bottom: 12px;
  position: relative;
}
.service-large p {
  color: var(--text-muted); max-width: 500px;
  font-size: 15px; line-height: 1.7; position: relative;
}

/* ===================== GALLERY (preview en index) ===================== */
.gallery { background: var(--cream); padding: 100px 5%; }
.gallery-header {
  max-width: 1200px; margin: 0 auto 48px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
}
.gallery-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.gallery-item {
  background: var(--dark3);
  overflow: hidden;
  position: relative;
}
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; aspect-ratio: unset; min-height: 400px; }
.gallery-item:nth-child(2) { grid-column: span 5; min-height: 196px; }
.gallery-item:nth-child(3) { grid-column: span 5; min-height: 196px; }
.gallery-item:nth-child(4) { grid-column: span 4; min-height: 240px; }
.gallery-item:nth-child(5) { grid-column: span 4; min-height: 240px; }
.gallery-item:nth-child(6) { grid-column: span 4; min-height: 240px; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,31,40,0.6) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  position: absolute; bottom: 16px; left: 20px;
  color: var(--white); font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===================== PROCESS ===================== */
.process { background: var(--white); }
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, var(--accent), var(--accent-light), var(--accent));
  z-index: 0;
}
.step {
  padding: 0 20px;
  position: relative; z-index: 1;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--white);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 300;
  color: var(--accent);
}
.step h4 { font-size: 15px; font-weight: 500; margin-bottom: 12px; color: var(--dark); }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ===================== CTA BAND ===================== */
.cta-band {
  background: var(--dark);
  padding: 80px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.cta-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; color: var(--white);
  line-height: 1.1; max-width: 600px;
}
.cta-text h2 span { color: var(--accent); }
.cta-text p {
  color: var(--text-muted); font-size: 15px;
  margin-top: 12px; max-width: 480px; line-height: 1.7;
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.cta-phone-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; color: var(--accent-light);
  text-decoration: none; font-weight: 300;
  letter-spacing: 1px;
}
.cta-phone-big:hover { color: var(--white); }
.cta-email {
  color: var(--text-muted); font-size: 14px;
  text-decoration: none; letter-spacing: 0.5px;
}
.cta-email:hover { color: var(--accent); }

/* ===================== CONTACT ===================== */
.contact { background: var(--cream); }
.contact-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-info h2 { color: var(--dark); margin-bottom: 20px; }
.contact-info p {
  color: var(--text-muted); font-size: 16px; line-height: 1.8;
  font-weight: 300; margin-bottom: 40px;
}
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.07);
}
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-pale);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.contact-detail-text { font-size: 15px; color: var(--dark); }
.contact-detail-text span {
  display: block; font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--dark);
  outline: none; transition: border-color 0.3s;
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--dark);
  border: none;
  color: var(--accent);
  padding: 18px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; align-self: flex-start;
}
.form-submit:hover { background: var(--accent); color: var(--dark); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--dark);
  padding: 60px 5% 32px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand .nav-logo { display: block; margin-bottom: 16px; font-size: 32px; }
.footer-brand p {
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
  font-weight: 300; max-width: 280px;
}
.footer-col h5 {
  color: var(--white); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { color: var(--text-muted); font-size: 13px; }
.footer-location {
  color: var(--text-muted); font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.accent-dot {
  width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  display: inline-block;
}

/* ===================== PROYECTOS PAGE ===================== */
/* Hero de la página proyectos */
.projects-hero {
  min-height: 48vh;
  background: var(--dark);
  display: flex; align-items: flex-end;
  padding: 120px 5% 60px;
  position: relative; overflow: hidden;
}
.projects-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark) 40%, rgba(0,172,209,0.06) 100%);
}
.projects-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%; }
.projects-hero-content .section-label { margin-bottom: 16px; }
.projects-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300; color: var(--white);
  line-height: 1.05;
}
.projects-hero-content h1 em { font-style: normal; color: var(--accent); }
.projects-hero-content p {
  color: var(--text-light); font-size: 16px;
  line-height: 1.7; max-width: 520px;
  margin-top: 20px; font-weight: 300;
}

/* Filtros */
.projects-filters {
  background: var(--white);
  padding: 32px 5%;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  position: static; top: 72px; z-index: 50;
}
.filters-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text-muted);
  padding: 8px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

/* Galería de proyectos */
.gallery {
  overflow: hidden;
}
.projects-gallery {
  background: var(--cream);
  padding: 60px 5% 100px;
}
.projects-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Tarjeta de proyecto */
.project-card {
  background: var(--dark3);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-4px); }
.project-card-img {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background: var(--dark2);
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }

/* Slot vacío para subir foto */
.project-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: var(--dark2);
  border: 2px dashed var(--border);
  color: var(--text-muted);
  font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 240px;
}
.project-placeholder:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.project-placeholder svg {
  width: 36px; height: 36px;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.project-placeholder:hover svg { opacity: 0.8; }

.project-card-body {
  padding: 20px 24px;
  background: var(--dark2);
  border-top: 1px solid var(--border);
}
.project-card-tag {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.project-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400;
  color: var(--white); margin-bottom: 4px;
}
.project-card-location {
  font-size: 13px; color: var(--text-muted);
}

/* Cards destacadas (primera y segunda más grandes) */
.project-card.featured {
  grid-column: span 2;
}
.project-card.featured .project-card-img {
  aspect-ratio: 16/10;
}

/* Upload hint */
.upload-hint {
  max-width: 1200px; margin: 0 auto 32px;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 13px;
}
.upload-hint-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  flex-shrink: 0;
}

/* ===================== MOBILE ===================== */
@media (max-width: 900px) {
  /* NAV — logo a la izquierda, botón CTA a la derecha, links ocultos */
  nav {
    padding: 0 5%;
    justify-content: space-between;
  }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  /* El nav-info solo muestra el botón CTA, sin el teléfono */
  .nav-info { gap: 0; }

  /* HERO */
  .hero { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-visual { display: none; }
  .hero-content { padding: 120px 5% 80px; text-align: center; }
  .hero-desc { margin: 0 auto 48px; }
  .hero-btns { justify-content: center; }
  .hero-tag { justify-content: center; }

  /* LABELS */
  .section-label { justify-content: flex-start; }

  /* ABOUT */
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 400px; margin: 0 auto; }
  .about-content { padding-left: 0; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }
  .service-large { grid-column: span 1; }

  /* GALLERY PREVIEW */
  .gallery-item:nth-child(1) { grid-column: span 12; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) { grid-column: span 12; }
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: span 12; }

  /* PROCESS */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }

  /* CTA BAND */
  .cta-inner { flex-direction: column; }
  .cta-actions { align-items: flex-start; }

  /* CONTACT */
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* PROYECTOS PAGE */
  .projects-hero { padding: 100px 5% 48px; min-height: auto; }
  .projects-filters { top: 72px; padding: 20px 5%; }
  .filters-inner { gap: 8px; }
  .filter-btn { padding: 7px 14px; font-size: 11px; }
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .project-card.featured { grid-column: span 2; }
  .upload-hint { font-size: 12px; }
}

@media (max-width: 600px) {
  /* NAV */
  .nav-cta { padding: 8px 16px; margin-right: 20px; font-size: 11px; }

  /* HERO */
  .hero-content { padding: 110px 5% 60px; }

  /* SECTIONS */
  .section { padding: 72px 5%; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-accent{
    margin-right: 10px;
  }


  /* PROCESS */
  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* PROYECTOS PAGE */
  .projects-hero { padding: 90px 5% 40px; }
  .projects-hero-content h1 { font-size: clamp(36px, 10vw, 56px); }
  .projects-filters { position: static; } /* quita el sticky en móvil pequeño para no acumular espacio */
  .projects-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card.featured { grid-column: span 1; }
  .project-card.featured .project-card-img { aspect-ratio: 4/3; }

  /* CTA BAND */
  .cta-phone-big { font-size: 24px; }
}
