/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1a3a6b;      /* dark blue */
  --accent: #e07b2a;       /* construction orange */
  --accent-dark: #c56a1e;
  --light: #f5f7fb;
  --border: #e2e8f0;
  --text-muted: #64748b;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --radius: 12px;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224,123,42,.35);
}
.btn-full { width: 100%; text-align: center; }

/* ===== SECTION DEFAULTS ===== */
.section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}
.section-header.left p { margin: 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.3px;
  line-height: 1.2;
  max-width: 260px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: #374151;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(26,58,107,.88) 0%, rgba(26,58,107,.70) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Crect width='80' height='80' fill='%231a3a6b'/%3E%3Cpath d='M0 40 L40 0 L80 40 L40 80 Z' fill='none' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E") center/60px;
  background-color: var(--primary);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(26,58,107,.9), rgba(14,27,50,.75));
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 680px;
  padding: 60px 0;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .88;
  margin-bottom: 36px;
  max-width: 480px;
}

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(26,58,107,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.card p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== ABOUT ===== */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-body {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 40px;
}
.about-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #0e1b32 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(26,58,107,.3);
}
.about-badge svg {
  width: 80px;
  height: 80px;
  stroke: rgba(255,255,255,.9);
  margin-bottom: 16px;
}
.about-badge span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .9;
}

/* ===== CONTACT ===== */
.contact { background: var(--light); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  padding-top: 8px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}
.contact-item strong {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-item a {
  color: var(--primary);
  font-weight: 500;
  font-size: .95rem;
  word-break: break-all;
}
.contact-item a:hover { color: var(--accent); }
.contact-note {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* FORM */
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: #1a1a2e;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}
.form-success.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  padding: 56px 0 40px;
}
.footer-brand .brand { color: #fff; font-size: 1rem; }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact a {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  word-break: break-all;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 99;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
}
.whatsapp-btn svg { width: 30px; height: 30px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 24px;
    width: 100%;
  }
  .nav-cta { margin: 8px 24px 0; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .hero { min-height: 70vh; }
  .about-stats { gap: 24px; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .whatsapp-btn { bottom: 18px; right: 18px; }
}
