:root {
  --primary: rgb(48, 141, 225);
  --primary-dark: rgb(28, 104, 175);
  --primary-darker: rgb(17, 74, 128);
  --primary-light: rgb(224, 238, 252);
  --ink: rgb(17, 28, 40);
  --ink-soft: rgb(78, 92, 110);
  --bg: rgb(255, 255, 255);
  --bg-alt: rgb(246, 250, 255);
  --border: rgb(224, 232, 242);
  --whatsapp: rgb(37, 211, 102);
  --whatsapp-dark: rgb(18, 165, 74);
  --radius: 14px;
  --shadow: 0 12px 30px rgba(17, 74, 128, 0.12);
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .logo-text {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(48,141,225,0.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: transparent; }
.btn-outline:hover { background: var(--primary-light); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.logo-text { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.logo-text strong { color: var(--primary-dark); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.social-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-icon:hover { background: var(--primary); color: #fff; }
.social-icon-footer { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }
.social-icon-footer:hover { background: var(--primary); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); margin: 0 auto; }

/* Hero */
.hero { padding: 72px 0 60px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--ink); }
.hero-desc { font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li {
  font-size: 0.88rem;
  color: var(--primary-darker);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badges li::before { content: "✓"; color: var(--primary); }

.hero-media { display: flex; flex-direction: column; gap: 18px; }
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-card.card-2 { margin-left: 32px; }
.hero-card.card-3 { margin-left: 64px; }
.hero-icon { font-size: 1.6rem; }
.hero-card strong { font-family: 'Poppins', sans-serif; color: var(--ink); }
.hero-card p { margin: 0; font-size: 0.88rem; }

/* Sections generic */
section { padding: 80px 0; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); }
.section-title.center, .section-sub.center { text-align: center; }
.section-sub { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Services */
.services { background: var(--bg-alt); }
.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 1.8rem; }
.service-card h3 { font-size: 1.1rem; margin-top: 12px; }
.service-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Gallery */
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.gallery-cta { margin-top: 32px; }
.gallery-cta a { color: var(--primary-dark); font-weight: 600; }

/* About */
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about-media { display: flex; flex-direction: column; gap: 18px; }
.about-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
}
.about-box strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; margin-bottom: 4px; }
.about-box span { font-size: 0.9rem; opacity: 0.9; }
.about-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { padding-left: 26px; position: relative; color: var(--ink); font-weight: 500; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Area */
.area { background: var(--bg-alt); }
.area-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.area-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.area-item strong { display: block; color: var(--primary-darker); font-family: 'Poppins', sans-serif; margin-bottom: 6px; }
.area-item span { font-size: 0.85rem; color: var(--ink-soft); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-info a { color: var(--primary-dark); font-weight: 600; }
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form h3 { font-size: 1.1rem; }
.contact-form label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); }
.contact-form .btn { margin-top: 8px; justify-content: center; }
.form-note { font-size: 0.8rem; margin: 4px 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); padding-top: 48px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { max-width: 340px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-brand .logo-text { color: rgba(255,255,255,0.92); }
.footer-brand .logo-text strong { color: rgb(120, 179, 236); }
.footer-brand p { width: 100%; font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 8px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; align-self: flex-start; margin-top: 6px; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: #fff; }
.footer-inner .social-icon-footer { align-self: flex-start; margin-top: 6px; }
.footer-bottom { padding: 18px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(18,165,74,0.45);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { background: var(--whatsapp-dark); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media { flex-direction: row; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .logo-text { font-size: 0.92rem; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li { border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn-whatsapp span { display: none; }
  .header-actions .social-icon { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .about-media { flex-direction: column; }
}
