:root {
  --color-primary: #163E5A;
  --color-primary-dark: #102C40;
  --color-accent: #E0AE2E;
  --color-accent-dark: #c89522;
  --color-secondary: #F3F5F6;
  --color-foreground: #1c2530;
  --color-muted: #5b6675;
  --color-border: #dfe3e6;
  --radius: 1rem;
  --shadow: 0 20px 40px rgba(22,62,90,0.12);
  --max-width: 1180px;
  --font-display: "Playfair Display", serif;
  --font-body: "DM Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-foreground); background: #fff; line-height: 1.65; overflow-x: clip; }
img { max-width: 100%; display: block; }

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

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.6rem;
  padding: 14px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}
.btn--accent { background: var(--color-accent); color: var(--color-foreground); }
.btn--accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224,174,46,0.35); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }
.btn--full { width: 100%; display: block; }

/* HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.header__logo { height: 64px; width: auto; object-fit: contain; }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__link { font-weight: 500; color: var(--color-foreground); text-decoration: none; transition: color 0.2s; }
.header__link:hover { color: var(--color-primary); }
.header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.header__burger span { width: 24px; height: 2px; background: var(--color-foreground); display: block; }
.header__mobile { display: none; flex-direction: column; gap: 16px; padding: 20px 24px; border-top: 1px solid var(--color-border); background: #fff; }
.header__mobile.active { display: flex; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 80px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,62,90,0.92) 0%, rgba(22,62,90,0.82) 50%, rgba(22,62,90,0.7) 100%); }
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 880px; padding-top: 60px; padding-bottom: 60px; margin: 0 auto; }
.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.9); max-width: 700px; margin: 0 auto 40px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 24px;
}
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.8);
  animation: bounce 2.2s infinite;
}
.hero__scroll svg { width: 28px; height: 28px; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* TRUST BAR */
.trustbar { background: var(--color-primary-dark); padding: 36px 0; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; color: #fff; }
.trustbar__icon { font-size: 1.6rem; flex-shrink: 0; }
.trustbar__item p { font-size: 0.92rem; color: rgba(255,255,255,0.85); margin: 0; }
.trustbar__item strong { color: var(--color-accent); }

/* SECTIONS GENERIC */
section { padding: 96px 0; }
.section-title { font-family: var(--font-display); text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 700; color: var(--color-foreground); margin-bottom: 16px; }
.section-title--left { text-align: left; }
.section-title--white { color: #fff; }
.section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 56px; color: var(--color-muted); font-size: 1.1rem; }
.section-subtitle--white { color: rgba(255,255,255,0.85); margin-bottom: 48px; }

/* SERVICES */
.services { background: var(--color-secondary); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { background: #fff; border-radius: 1.25rem; padding: 40px 32px; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px rgba(22,62,90,0.18); }
.service-card__icon { width: 64px; height: 64px; border-radius: 0.85rem; background: rgba(224,174,46,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-card__icon svg { width: 30px; height: 30px; color: var(--color-accent); }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; color: var(--color-foreground); }
.service-card p { color: var(--color-muted); }

/* TRUST */
.trust { background: #fff; }
.trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust__image { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.trust__image img { width: 100%; height: 100%; object-fit: cover; }
.trust__lead { color: var(--color-muted); font-size: 1.1rem; margin-bottom: 40px; }
.trust__points { display: flex; flex-direction: column; gap: 32px; }
.trust-point { display: flex; gap: 18px; align-items: flex-start; }
.trust-point__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 0.7rem; background: rgba(22,62,90,0.08); display: flex; align-items: center; justify-content: center; }
.trust-point__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.trust-point h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; color: var(--color-foreground); }
.trust-point p { color: var(--color-muted); }

/* PROCESS */
.process { background: #fff; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-step { position: relative; padding: 36px 28px; background: var(--color-secondary); border-radius: 1.1rem; }
.process-step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 20px;
}
.process-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--color-foreground); }
.process-step p { color: var(--color-muted); font-size: 0.95rem; }

/* GALLERY */
.gallery { background: var(--color-secondary); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery-card { position: relative; border-radius: 1.1rem; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card__tag {
  position: absolute; top: 14px; left: 14px; background: var(--color-accent); color: var(--color-foreground);
  font-size: 0.78rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}

/* FAQ */
.faq { background: #fff; }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--color-border); border-radius: 0.9rem; overflow: hidden; }
.faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--color-secondary); border: none; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--color-foreground); text-align: left;
}
.faq-item__question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s ease; color: var(--color-primary); }
.faq-item.active .faq-item__question svg { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-item__answer { max-height: 220px; }
.faq-item__answer p { padding: 20px 24px; color: var(--color-muted); }

/* CONTACT */
.contact { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 60%, var(--color-primary-dark) 100%); }
.contact__inner { max-width: 700px; margin: 0 auto; }
.contact__form { background: #fff; border-radius: 1.25rem; padding: 48px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--color-foreground); }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--color-border); border-radius: 0.6rem;
  font-family: inherit; font-size: 0.97rem; color: var(--color-foreground); resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9aa3ad; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(22,62,90,0.15);
}
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.active { display: block; }
.form-success h3 { font-family: var(--font-display); color: var(--color-primary); margin-bottom: 10px; font-size: 1.5rem; }
.form-success p { color: var(--color-muted); }

/* FOOTER */
.footer { background: var(--color-primary); color: rgba(255,255,255,0.85); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 80px 24px 0; max-width: var(--max-width); margin: 0 auto; }
.footer__logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer__logo span { color: var(--color-accent); }
.footer__desc { color: rgba(255,255,255,0.75); max-width: 38ch; }
.footer__contact h3, .footer__links h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; }
.footer__contact a, .footer__contact p { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 12px; }
.footer__contact a:hover { color: var(--color-accent); }
.footer__icon { width: 18px; height: 18px; flex-shrink: 0; }
.footer__social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 0.6rem; background: rgba(255,255,255,0.1); color: #fff; }
.footer__social:hover { background: var(--color-accent); color: var(--color-primary); }
.footer__social svg { width: 20px; height: 20px; }
.footer__map { max-width: var(--max-width); margin: 56px auto 0; padding: 0 24px; }
.footer__map iframe { border-radius: 1rem; filter: grayscale(0.15) contrast(1.05); }
.footer__copy { text-align: center; padding: 40px 24px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); }
.footer__copy p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

/* MOBILE STICKY CTA BAR */
.mobile-cta-bar { display: none; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; gap: 40px; }
  .trust__image { max-width: 380px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  section { padding: 64px 0; }
  .hero { min-height: 100vh; }
  .contact__form { padding: 32px 24px; }
  .header__logo { height: 48px; }
  .whatsapp-float { bottom: 86px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .process__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: stretch; }

  .mobile-cta-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    background: #fff; border-top: 1px solid var(--color-border);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
    padding: 10px 12px; gap: 10px;
  }
  .mobile-cta-bar__btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px; border-radius: 0.6rem; font-weight: 600; font-size: 0.9rem; text-decoration: none;
  }
  .mobile-cta-bar__btn--call { background: var(--color-secondary); color: var(--color-foreground); }
  .mobile-cta-bar__btn--call svg { width: 18px; height: 18px; }
  .mobile-cta-bar__btn--form { background: var(--color-accent); color: var(--color-foreground); }
  body { padding-bottom: 70px; }
}
