@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

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

:root {
  --navy: #0D2137;
  --navy-mid: #163552;
  --blue: #1A6FAB;
  --blue-light: #2A8DD4;
  --orange: #E8610A;
  --orange-light: #F47C2A;
  --white: #FFFFFF;
  --off-white: #F6F8FA;
  --gray-light: #EDF1F5;
  --gray-mid: #8FA0B0;
  --gray-dark: #3D5166;
  --text: #0D2137;
  --text-muted: #506070;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(13,33,55,0.10);
  --shadow-lg: 0 8px 32px rgba(13,33,55,0.15);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.65; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-light); }
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a70 100%);
  color: var(--white);
  padding: 80px 5% 100px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,111,171,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--orange-light); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.82);
  max-width: 560px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  font-weight: 600; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* TRUST BAR */
.trust-bar {
  background: var(--off-white); border-bottom: 1px solid var(--gray-light);
  padding: 18px 5%;
  display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center;
  justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray-dark);
}
.trust-icon { font-size: 1.1rem; }

/* SECTIONS */
section { padding: 72px 5%; }
.section-alt { background: var(--off-white); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-bottom: 2.5rem; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: block;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue-light);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--navy); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.service-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.88rem; font-weight: 600; color: var(--orange);
  margin-top: 1rem; text-decoration: none;
}

/* WHY US */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; color: var(--orange);
  line-height: 1; flex-shrink: 0; min-width: 40px;
}
.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.why-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* CTA BAND */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 60px 5%;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; margin-bottom: 0.8rem;
}
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.2rem; }
.contact-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-top: 2px;
}
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item span { font-size: 0.98rem; color: var(--text-muted); }
.zone-list { margin-top: 1.5rem; }
.zone-list h4 { font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.6rem; }
.zone-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.zone-tag {
  background: var(--gray-light); color: var(--gray-dark);
  font-size: 0.82rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
}
.contact-form-box {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray-light);
}
.contact-form-box h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-dark); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid #CBD5DF;
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; background: var(--orange); color: var(--white);
  padding: 13px; border: none; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: var(--orange-light); }

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 56px 5% 48px;
  color: var(--white);
}
.page-hero .breadcrumb {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.8rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--orange-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 0.8rem;
}
.page-hero h1 span { color: var(--orange-light); }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; }

/* SERVICE PAGE */
.service-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.service-list { list-style: none; }
.service-list li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.98rem; color: var(--text-muted);
}
.service-list li::before {
  content: ''; display: block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}
.service-highlight {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg); padding: 2rem;
}
.service-highlight h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.service-highlight p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }

/* GALLERY / BEFORE AFTER */
.gallery-filter {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 7px 18px; border-radius: 20px;
  border: 1.5px solid var(--gray-light);
  background: var(--white); color: var(--gray-dark);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.before-after {
  display: grid; grid-template-columns: 1fr 1fr;
  height: 200px;
}
.ba-side {
  position: relative; overflow: hidden;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
}
.ba-side img { width: 100%; height: 100%; object-fit: cover; }
.ba-label {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 20px;
}
.ba-label.antes { background: rgba(13,33,55,0.75); color: var(--white); }
.ba-label.despues { background: rgba(232,97,10,0.9); color: var(--white); }
.ba-placeholder {
  color: var(--gray-mid); font-size: 0.78rem; font-weight: 600;
  text-align: center; padding: 1rem;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.ba-placeholder-icon { font-size: 2rem; opacity: 0.4; }
.project-info { padding: 1.2rem; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gray-light); color: var(--gray-dark);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 0.5rem;
}
.project-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.project-info p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.project-zone { font-size: 0.8rem; color: var(--gray-mid); margin-top: 0.6rem; font-weight: 500; }

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 1.2rem 0;
}
.faq-q {
  font-weight: 700; color: var(--navy); font-size: 1rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none;
}
.faq-q::after {
  content: '+'; font-size: 1.4rem; color: var(--orange);
  font-weight: 400; flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-item.open .faq-a { max-height: 200px; padding-top: 0.8rem; }

/* FOOTER */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 48px 5% 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 0.8rem; }
.footer-brand span { color: var(--orange); }
.footer-desc { font-size: 0.88rem; line-height: 1.65; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem; font-size: 0.82rem; text-align: center; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--navy); padding: 2rem; gap: 1.5rem; z-index: 99;
  }
  .mobile-menu a {
    color: var(--white); text-decoration: none; font-size: 1.3rem;
    font-family: var(--font-display); font-weight: 700;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-intro { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .before-after { height: 160px; }
}
