:root {
  --white: #ffffff;
  --warm: #fff8f0;
  --cream: #f8efe5;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --blue: #2563eb;
  --navy: #0f172a;
  --sky: #eaf3ff;
  --gray: #f3f4f6;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --wa: #25d366;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(37,99,235,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #F97316, #2563EB, #F97316);
}

.header-inner {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}

.brand-logo {
  width: clamp(180px, 17vw, 280px);
  max-width: 280px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-logo img {
  width: 100%;
  max-height: 66px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #263247;
}

.main-nav a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { color: var(--blue); border-color: var(--orange); }

.header-actions, .hero-cta, .contact-actions, .footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; box-shadow: 0 14px 28px rgba(249, 115, 22, .24); }
.btn-phone { background: var(--blue); color: #fff; box-shadow: 0 14px 28px rgba(37, 99, 235, .2); }
.btn-whatsapp { background: var(--wa); color: #062411; box-shadow: 0 14px 28px rgba(37, 211, 102, .2); }
.btn-ghost { color: var(--blue); background: var(--sky); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.section { padding: 86px 0; }
.section-band {
  background:
    radial-gradient(circle at 15% 20%, rgba(249,115,22,.12), transparent 28%),
    linear-gradient(135deg, #fff 0%, var(--warm) 48%, var(--sky) 100%);
}

.hero { padding: 72px 0 88px; }
.hero-grid, .about-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.eyebrow, .section-head span {
  display: inline-flex;
  color: var(--orange-dark);
  background: rgba(249, 115, 22, .11);
  border: 1px solid rgba(249, 115, 22, .18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 14px;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.lead, .large-text { font-size: clamp(17px, 2vw, 20px); color: #334155; }
.hero-copy > p:not(.eyebrow), .service-card p, .video-card p { color: var(--muted); }

.hero-badges, .mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span, .mini-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(37, 99, 235, .14);
  background: rgba(255,255,255,.72);
  border-radius: 8px;
  font-weight: 800;
  color: #1e293b;
}

.hero-media, .about-media, .contact-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
  background: #fff;
}

.hero-media { aspect-ratio: 4 / 3; }
.about-media { aspect-ratio: 1 / 1; }
.hero-media img, .about-media img { width: 100%; height: 100%; object-fit: cover; }

.media-placeholder {
  min-height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(249,115,22,.18), rgba(37,99,235,.18)),
    repeating-linear-gradient(45deg, rgba(15,23,42,.055) 0 10px, transparent 10px 20px),
    #fff;
  color: #23324a;
}

.media-placeholder strong { font-size: 24px; }
.media-placeholder span { color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }
.media-placeholder.compact { min-height: 420px; }

.section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 34px;
}

.section-head.left { text-align: left; margin-left: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card, .video-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.service-card { display: flex; flex-direction: column; }
.service-image,
.gallery-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7ED, #EAF3FF);
}

.service-image img,
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-image span,
.card-placeholder,
.video-placeholder span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: #334155;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(37,99,235,.12), rgba(249,115,22,.12)),
    repeating-linear-gradient(45deg, rgba(15,23,42,.045) 0 10px, transparent 10px 20px),
    #f8fafc;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  margin-bottom: 16px;
}

.text-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.about-section { background: var(--gray); }
blockquote {
  margin: 24px 0 0;
  padding: 20px;
  border-left: 5px solid var(--orange);
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, var(--sky));
  border: 1px solid rgba(37, 99, 235, .14);
  font-weight: 900;
}

.why-item svg { color: var(--orange); }
.process-section { background: linear-gradient(180deg, var(--warm), #fff); }

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.step {
  position: relative;
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.step b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  margin-bottom: 16px;
}

.step span { font-weight: 900; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: auto;
  height: 240px;
  padding: 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15,23,42,0.08);
  cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:disabled { cursor: default; }
.gallery-item:disabled:hover img { transform: none; }
.gallery-item .card-placeholder {
  position: static;
  min-height: 100%;
  color: #334155;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(37,99,235,.12), rgba(249,115,22,.12)),
    repeating-linear-gradient(45deg, rgba(15,23,42,.045) 0 10px, transparent 10px 20px),
    #f8fafc;
}
.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(15,23,42,.82);
  color: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 800;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card video,
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111827;
  border-radius: 8px;
  margin-bottom: 16px;
}

.video-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.85);
}

.video-placeholder span {
  position: absolute;
  inset: 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(15,23,42,.78), rgba(37,99,235,.5));
}

.empty-panel {
  border: 1px dashed rgba(37, 99, 235, .35);
  background: linear-gradient(135deg, var(--sky), var(--warm));
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  color: #334155;
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(249,115,22,.08)),
    #fff;
}

.contact-grid { align-items: start; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.contact-cards a, .contact-cards div {
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}

.contact-cards svg { color: var(--blue); }
.contact-cards span { color: var(--muted); font-size: 13px; font-weight: 800; }
.contact-cards b { overflow-wrap: anywhere; line-height: 1.35; }

.contact-panel {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.whatsapp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.whatsapp-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  color: #334155;
}

.whatsapp-form label:nth-child(5), .whatsapp-form button { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

textarea { resize: vertical; }
.contact-panel iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
}

.site-footer {
  color: #e5e7eb;
  background:
    linear-gradient(90deg, rgba(249,115,22,.22), transparent 26%, rgba(37,99,235,.22)),
    #0b1220;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1.2fr;
  gap: 40px;
  padding: 56px 0 34px;
}

.footer-logo { background: #fff; border-radius: 8px; padding: 8px; }
.site-footer h3 { color: #fff; }
.site-footer p { color: #cbd5e1; max-width: 390px; }
.site-footer a, .site-footer span {
  display: block;
  color: #cbd5e1;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.site-footer a:hover { color: #fff; }
.footer-buttons a { display: inline-flex; color: inherit; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 18px 16px;
  color: #cbd5e1;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9000;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15,23,42,.22);
  animation: pulse 2.4s ease-in-out infinite;
}

.float-phone { background: var(--blue); }
.float-whatsapp { background: var(--wa); }
.float-map { background: var(--orange); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.lightbox.open { display: flex; }
.lightbox img {
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 34px rgba(15,23,42,.12);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; border-radius: 8px; }
  .service-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .brand-logo { width: clamp(135px, 44vw, 180px); }
  .brand-logo img { max-height: 54px; }
  .header-inner { min-height: 70px; width: min(100% - 22px, 1240px); gap: 12px; }
  .section { padding: 58px 0; }
  .hero { padding: 46px 0 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(36px, 12vw, 48px); }
  h2 { font-size: clamp(27px, 9vw, 36px); }
  .hero-cta .btn, .contact-actions .btn { width: 100%; }
  .service-grid, .why-grid, .timeline, .gallery-grid, .video-grid, .contact-cards, .whatsapp-form, .footer-grid {
    grid-template-columns: 1fr;
  }
  .step { min-height: auto; }
  .gallery-item { height: 230px; }
  .contact-panel { padding: 14px; }
  .whatsapp-form label:nth-child(5), .whatsapp-form button { grid-column: auto; }
  .floating-actions { right: 12px; bottom: 12px; gap: 8px; }
  .floating-actions a { width: 44px; height: 44px; }
  .media-placeholder.compact { min-height: 300px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 22px, 1180px); }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-badges span, .mini-badges span { width: 100%; }
}
