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

:root {
  --primary: #1f2937;
  --primary-dark: #111827;
  --accent: #d4af37;
  --accent-light: #f0d060;
  --text: #1f2937;
  --text-light: #374151;
  --bg-panel: rgba(255,255,255,0.93);
  --border: #d4af37;
  --white: #fff;
  --green-wa: #25D366;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-image: url('../bg_site.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* ===== HEADER ===== */
header {
  background: rgba(255,255,255,0.93);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.header-logo img {
  max-width: 280px;
  height: auto;
}

.header-tagline {
  font-size: 0.9rem;
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

/* ===== NAV ===== */
nav {
  background: var(--primary);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

nav a {
  color: #e5e7eb;
  padding: 13px 20px;
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* ===== PANEL (shared section style) ===== */
.panel {
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin: 1.5rem auto;
  max-width: 960px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 960px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

/* Page hero for inner pages */
.page-hero {
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  margin: 2rem auto;
  max-width: 960px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
}

/* ===== MAIN WRAPPER ===== */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* ===== HEADINGS INSIDE PANELS ===== */
.panel h2, section h2 {
  font-size: 1.4rem;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 1rem;
}

.panel h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin: 1.5rem 0 0.5rem;
}

.panel p, section p { color: var(--text-light); margin-bottom: 12px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  margin: 6px;
  padding: 0.8rem 1.8rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 25px;
  transition: background 0.3s;
}

.btn:hover { background: #374151; text-decoration: none; color: var(--white); }

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border-radius: 25px;
  padding: 0.8rem 1.8rem;
  display: inline-block;
  font-weight: 700;
  margin: 6px;
  transition: background 0.2s;
}

.btn-accent:hover { background: var(--accent-light); text-decoration: none; color: var(--primary); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wa);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  font-weight: 700;
  margin: 6px;
  transition: background 0.2s;
}

.btn-wa:hover { background: #1ebe5a; text-decoration: none; color: var(--white); }
.btn-wa img { width: 22px; height: 22px; }

/* ===== SERVICE CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.card-icon { font-size: 2.2rem; margin-bottom: 12px; }

.card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.card p { font-size: 0.88rem; color: var(--text-light); margin: 0 0 16px; }

.card a {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.card a:hover { background: var(--accent); text-decoration: none; color: var(--primary); }

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  padding: 10px 16px;
  background: rgba(255,255,255,0.7);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.97rem;
  color: var(--text);
}

/* ===== STEPS LIST ===== */
.steps-list {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.7);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-light);
}

.steps-list li::before {
  content: counter(steps);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green-wa);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s;
}

.whatsapp-float:hover { transform: scale(1.05); text-decoration: none; color: var(--white); }
.whatsapp-float img { width: 28px; height: 28px; display: block; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }

form { display: flex; flex-direction: column; gap: 14px; }

form label { font-weight: 600; color: var(--text); font-size: 0.92rem; display: block; margin-bottom: 4px; }

form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,41,55,0.1);
}

form textarea { resize: vertical; }

form button {
  background: var(--primary);
  color: var(--white);
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover { background: #374151; }

.contact-alt {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
}

.contact-alt h2 { border-left: none; padding-left: 0; font-size: 1.1rem; margin-bottom: 16px; }
.contact-alt p { font-size: 0.95rem; margin-bottom: 12px; }

/* ===== FOOTER ===== */
footer {
  background: rgba(255,255,255,0.93);
  color: var(--text);
  text-align: center;
  padding: 24px;
  font-size: 0.88rem;
  border-top: 2px solid var(--border);
  margin-top: 16px;
}

footer img { margin: 12px auto 0; max-height: 100px; }
footer a { color: var(--primary); font-weight: 600; }
footer p { margin-bottom: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  header { flex-direction: column; text-align: center; }
  .header-tagline { text-align: center; }
  nav a { padding: 10px 12px; font-size: 0.8rem; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 12px; border-radius: 50%; }
  .panel { padding: 1.5rem; }
}
