/* ═══════════════════════════════════════════════
   GM GLOBAL CONSTRUCCIONES S.A.S.
   styles.css — Paleta corporativa del brochure
   Colores: Verde (#3EC99A / #52D6A8) + Turquesa (#00BCD4 / #29D9E8)
════════════════════════════════════════════════ */

/* ── Variables corporativas ─────────────────── */
:root {
  /* Colores principales del brochure */
  --teal:        #1ABCAD;       /* turquesa oscuro */
  --teal-light:  #29D9CB;       /* turquesa claro  */
  --green:       #3EC99A;       /* verde menta     */
  --green-light: #6EDBB8;       /* verde claro     */
  --dark:        #1A2A2A;       /* oscuro base     */
  --dark-mid:    #1E3535;       /* oscuro medio    */
  --white:       #FFFFFF;
  --sand:        #F4FAF8;       /* fondo claro con tinte verde */
  --text:        #1A2020;
  --text-muted:  #4A6060;
  --border:      #D0EAE5;
  --transition:  0.25s ease;
}

/* ── Reset & base ───────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; }
ul  { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Animación scroll ───────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   NAVEGACIÓN
════════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  border-bottom: 2px solid var(--teal);
}
.nav-logo        { display: flex; align-items: center; gap: 10px; }
.nav-logo-img    { height: 38px; width: auto; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 14px; color: var(--white); flex-shrink: 0;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 15px; color: var(--white); line-height: 1.15;
}
.nav-brand span {
  display: block; font-family: 'Barlow', sans-serif; font-weight: 300;
  font-size: 10px; color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase;
}
.nav-links       { display: flex; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase; transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal-light); }
.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white); padding: 8px 20px; font-size: 12px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: opacity var(--transition); white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 55%, #0D2828 100%);
  min-height: 540px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 5rem 2.5rem;
  gap: 2rem;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: repeating-linear-gradient(45deg, var(--teal) 0, var(--teal) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,189,173,0.15); border: 1px solid rgba(30,189,173,0.4);
  padding: 6px 16px; margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--teal-light);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-badge span { font-size: 11px; color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); line-height: 1.15; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero p {
  font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7;
  max-width: 520px; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white); padding: 14px 32px; font-size: 13px;
  font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: opacity var(--transition);
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline {
  display: inline-block; background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35); padding: 14px 32px;
  font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--teal-light); color: var(--teal-light); }

.hero-stats {
  position: absolute; 
  right: 3rem; top: 50%; 
  transform: translateY(-50%);
  display: flex; 
  flex-direction: column; 
  gap: 1.25rem; 
  z-index: 2;
}
.stat-box {
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(30,189,173,0.25);
  padding: 1.25rem 1.5rem; 
  text-align: center; 
  min-width: 130px;
}
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--teal-light); }
.stat-label { display: block; font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

/* ════════════════════════════════════════════
   SECCIONES comunes
════════════════════════════════════════════ */
.section { padding: 5rem 2.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { font-size: 11px; color: var(--teal); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--dark); line-height: 1.2; }
.section-line { width: 48px; height: 2px; background: linear-gradient(to right, var(--green), var(--teal)); margin: 1rem auto 0; }
.section-subtitle { margin-top: 1rem; font-size: 15px; color: var(--text-muted); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.service-card {
  border: 1px solid var(--border); padding: 2rem 1.5rem;
  position: relative; transition: all var(--transition); background: var(--white);
}
.service-card:hover { border-color: var(--teal); transform: translateY(-5px); box-shadow: 0 8px 28px rgba(30,189,173,0.12); }
.service-corner {
  position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0 26px 26px 0;
  border-color: transparent var(--teal) transparent transparent;
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover .service-corner { opacity: 1; }
.service-icon-wrap {
  width: 50px; height: 50px; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: background var(--transition);
}
.service-icon-wrap svg { width: 22px; height: 22px; stroke: var(--teal-light); transition: stroke var(--transition); }
.service-card:hover .service-icon-wrap { background: linear-gradient(135deg, var(--green), var(--teal)); }
.service-card:hover .service-icon-wrap svg { stroke: var(--white); }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: 0.75rem; }
.service-card p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ════════════════════════════════════════════
   NOSOTROS
════════════════════════════════════════════ */
.about { background: var(--sand); padding: 5rem 2.5rem; }
.about-inner { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-box-main { background: var(--dark); padding: 2.5rem; color: var(--white); }
.about-box-main h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1rem; color: var(--teal-light); }
.about-box-main p  { font-size: 14px; line-height: 1.78; color: rgba(255,255,255,0.75); font-weight: 300; }
.about-box-accent {
  background: linear-gradient(135deg, var(--green), var(--teal));
  padding: 1rem 1.5rem; margin-top: 1rem; display: flex; align-items: center; gap: 1rem;
}
.about-box-accent svg { width: 28px; height: 28px; stroke: var(--white); flex-shrink: 0; }
.about-box-accent p  { font-size: 12px; font-weight: 600; color: var(--white); letter-spacing: 0.3px; line-height: 1.45; }
.about-slogan {
  margin-top: 1rem; padding: 0.85rem 1.5rem;
  border-left: 3px solid var(--teal); background: rgba(30,189,173,0.06);
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 1.2rem; color: var(--teal); letter-spacing: 0.5px;
}
.about-text .eyebrow { font-size: 11px; color: var(--teal); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--dark); line-height: 1.25; margin-bottom: 1.25rem; }
.about-text > p { font-size: 14.5px; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.about-checks  { display: flex; flex-direction: column; gap: 0.65rem; }
.about-check   { display: flex; align-items: flex-start; gap: 10px; }
.check-dot { width: 18px; height: 18px; background: linear-gradient(135deg, var(--green), var(--teal)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-dot svg { width: 10px; height: 10px; stroke: var(--white); }
.about-check span { font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.4; }

/* ════════════════════════════════════════════
   PROYECTOS
════════════════════════════════════════════ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.project-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); }
.project-card:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 8px 28px rgba(30,189,173,0.12); }
.project-img { height: 170px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
/* Gradientes temporales — reemplazar con <img> real */
.project-img.p1 { background: linear-gradient(135deg, #1A3260, #0D1F3C); }
.project-img.p2 { background: linear-gradient(135deg, var(--dark-mid), var(--dark)); }
.project-img.p3 { background: linear-gradient(135deg, #0D3030, #051A1A); }
.project-img.p4 { background: linear-gradient(135deg, #1E2A40, #0D1830); }
.project-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-img-placeholder { pointer-events: none; }
.project-img-placeholder svg { width: 64px; height: 64px; }
.project-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.48); padding: 0.5rem 1rem; }
.project-label span { font-size: 10px; color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.project-body   { padding: 1.35rem; }
.project-body h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--dark); margin-bottom: 0.3rem; }
.project-location { font-size: 11.5px; color: var(--teal); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 0.6rem; }
.project-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.project-tags    { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.85rem; }
.project-tag {
  display: inline-block; background: rgba(30,189,173,0.1); border: 1px solid rgba(30,189,173,0.3);
  padding: 3px 10px; font-size: 10px; color: var(--teal); letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600;
}
.project-tag.tag-green { background: rgba(62,201,154,0.12); border-color: rgba(62,201,154,0.35); color: #1A8A60; }

/* ════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════ */
.testimonios { background: var(--sand); padding: 5rem 2.5rem; }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.testimonio-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 2rem; position: relative; transition: border-color var(--transition);
}
.testimonio-card:hover { border-color: var(--teal); }
.quote-icon { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--teal); line-height: 0.5; margin-bottom: 1.25rem; display: block; opacity: 0.5; }
.testimonio-card > p { font-size: 13.5px; color: var(--text-muted); line-height: 1.72; font-style: italic; margin-bottom: 1.5rem; }
.testimonio-autor { display: flex; align-items: center; gap: 12px; }
.autor-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testimonio-autor strong { display: block; font-size: 13.5px; color: var(--dark); font-weight: 600; }
.testimonio-autor span   { font-size: 11.5px; color: var(--text-muted); }

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contact { background: var(--dark); padding: 5rem 2.5rem; }
.contact-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.contact .section-eyebrow { color: var(--teal-light); }
.contact .section-title    { color: var(--white); }
.contact .section-line     { margin-bottom: 1rem; }
.contact-subtitle { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 2.5rem; line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.contact-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(30,189,173,0.2); padding: 1.5rem 1rem; transition: border-color var(--transition); }
.contact-item:hover { border-color: var(--teal); }
.contact-item svg { width: 24px; height: 24px; stroke: var(--teal-light); margin: 0 auto 0.75rem; display: block; }
.contact-item h4  { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.contact-item p   { font-size: 13.5px; color: rgba(255,255,255,0.8); line-height: 1.55; }

/* Formulario */
.contact-form { text-align: left; display: flex; flex-direction: column; gap: 1rem; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); padding: 12px 16px; font-size: 14px; outline: none;
  transition: border-color var(--transition); resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option  { background: var(--dark); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.btn-submit {
  align-self: center;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white); border: none; padding: 15px 48px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; margin-top: 0.5rem;
  transition: opacity var(--transition);
}
.btn-submit:hover { opacity: 0.88; }
.form-note { text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); margin-top: -0.25rem; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer { background: #080F0F; padding: 2rem 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.footer-copy  { font-size: 11.5px; color: rgba(255,255,255,0.3); margin-top: 0.5rem; line-height: 1.6; }
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; transition: color var(--transition); }
.footer-links a:hover { color: var(--teal-light); }
.footer-city  { font-size: 11px; color: rgba(30,189,173,0.45); letter-spacing: 1.5px; text-transform: uppercase; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-stats { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
  .hero { flex-direction: column; align-items: flex-start; padding-bottom: 3rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 680px) {
  #navbar { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--dark);
    padding: 1rem 1.5rem 1.5rem; gap: 1rem;
    border-top: 1px solid rgba(30,189,173,0.2); z-index: 99;
  }
  .nav-links.open a { font-size: 15px; }
  .nav-toggle { display: flex; }
  .hero, .section, .about, .testimonios, .contact { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding-top: 3rem; padding-bottom: 2.5rem; }
  .section, .about, .testimonios, .contact { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  footer { padding: 1.75rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}