
:root {
  --color-primary: #07538c;
  --color-primary-dark: #053557;
  --color-secondary: #ffbf00;
  --color-accent: #06345b;
  --color-bg: #ffffff;
  --color-bg-soft: #f0f7fc;
  --color-text: #1d2528;
  --color-muted: #667479;
  --color-border: #dfe7e4;
  --color-whatsapp: #25d366;
  --color-phone: #0d6efd;
  --shadow-soft: 0 14px 35px rgba(16, 35, 40, 0.1);
  --shadow-premium: 0 24px 70px rgba(8, 28, 32, 0.18);
  --shadow-card: 0 18px 45px rgba(16, 35, 40, 0.1);
  --radius: 8px;
  --container: 1120px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

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

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.two-column h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.section-heading p:last-child {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo__text {
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #273235;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0f3f73;
  background: #dbeafe;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  padding-top: 58px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 75% 25%, rgba(244, 185, 66, 0.26), transparent 32%),
    linear-gradient(90deg, rgba(3, 17, 22, 0.94) 0%, rgba(7, 23, 28, 0.82) 45%, rgba(7, 23, 28, 0.38) 100%),
    linear-gradient(0deg, rgba(7, 23, 28, 0.3), rgba(7, 23, 28, 0.3)),
    linear-gradient(120deg, #061c2b, #07538c);
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero__text {
  max-width: 640px;
  margin: 22px 0 0;
  color: #d8e3e0;
  font-size: 1.12rem;
}

.hero .section-kicker {
  color: var(--color-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #1475b5);
  box-shadow: 0 14px 34px rgba(18, 107, 95, 0.28);
}

.btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
}

.hero__panel { border:1px solid #ffffff47; border-radius:18px; color:white; box-shadow:var(--shadow-premium); overflow:hidden; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.content-box {
  color: var(--color-muted);
}

.content-box p:first-child {
  margin-top: 0;
}

.service-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.contact-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.92));
  box-shadow: var(--shadow-card);
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(244, 185, 66, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  border-color: rgba(18, 107, 95, 0.28);
  box-shadow: 0 24px 60px rgba(16, 35, 40, 0.14);
  transform: translateY(-8px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #1475b5);
  box-shadow: 0 14px 30px rgba(18, 107, 95, 0.24);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3,
.contact-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 36%, rgba(4, 18, 22, 0.86) 100%);
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(4, 18, 22, 0.88), transparent);
  font-size: 1rem;
  font-weight: 800;
}

.gallery-item:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.07);
}

.gallery-item:hover::after {
  opacity: 1;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  color: var(--color-text);
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-muted);
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

.faq-item.active .faq-question span {
  background: var(--color-accent);
}

.cta-strip {
  padding: 72px 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(244, 185, 66, 0.2), transparent 28%),
    linear-gradient(135deg, #0b2f34, #102328 58%, #1d3557);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(16px);
}

.cta-strip .section-kicker {
  color: var(--color-secondary);
}

.cta-strip h2 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.16;
}

.cta-strip p:last-child {
  margin: 12px 0 0;
  max-width: 620px;
  color: #d8e3e0;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn--whatsapp {
  color: #ffffff;
  background: var(--color-whatsapp);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.25);
}

.btn--call {
  color: #ffffff;
  background: var(--color-phone);
  box-shadow: 0 14px 34px rgba(13, 110, 253, 0.24);
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
}

.contact-card {
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 250, 0.94));
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
  color: var(--color-muted);
}

.contact-list strong {
  color: var(--color-text);
}

.contact-list a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

.map-wrapper {
  min-height: 360px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 28, 32, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.floating-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
}

.floating-btn--whatsapp {
  background: var(--color-whatsapp);
}

.floating-btn--phone {
  background: var(--color-phone);
}

.site-footer {
  padding: 54px 0 26px;
  color: #ffffff;
  background: #102328;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(170px, 0.7fr) minmax(170px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p,
.footer-column ul,
.footer-bottom p {
  margin: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-logo__text {
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 410px;
  color: #c9d7d3;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #c9d7d3;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.digital-signature {
  color: #c9d7d3;
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }

  .hero__grid,
  .two-column,
  .contact-grid,
  .cta-strip__inner {
    grid-template-columns: 1fr;
  }

  .cta-strip__actions {
    justify-content: flex-start;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__panel,
  .service-card,
  .contact-card {
    padding: 22px;
  }

  .cta-strip__actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    padding: 56px 0;
  }

  .cta-strip__inner {
    padding: 24px;
  }

  .gallery-item {
    min-height: 180px;
  }

  .gallery-item img {
    min-height: 180px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }
}

.brand-emblem { display:block; width:64px; height:44px; overflow:hidden; flex-shrink:0; border-radius:6px; background:white; }
.brand-emblem img { display:block; width:64px; height:64px; max-width:none; }
.logo__text,.footer-logo__text { white-space:normal; max-width:180px; line-height:1.15; }
.hero__panel.solar-panel { padding:0; overflow:hidden; position:relative; min-height:380px; background:#07538c; }
.solar-panel > img { display:block; width:100%; height:440px; object-fit:cover; }
.solar-panel__caption { position:absolute; bottom:0; left:0; right:0; padding:50px 28px 24px; background:linear-gradient(transparent,#042c50); color:white; font-size:1.6rem; font-weight:800; }
.solar-panel__caption span { display:block; font-size:.85rem; font-weight:500; margin-top:8px; }

@media(max-width:640px) { .gallery-grid { grid-template-columns:1fr; } .solar-panel > img { height:330px; } .hero__panel.solar-panel { min-height:330px; } .logo__text { font-size:.95rem; max-width:150px; } }

img { height:auto; }
.nav-link { text-transform:uppercase; font-size:.82rem; letter-spacing:.025em; }
.nav-menu { gap:4px; }
.brand-emblem:has(img[src=""]) { display:none; }
.logo { min-width:0; }
.logo__text { overflow-wrap:anywhere; }
.menu-toggle { flex-shrink:0; }
.service-image { width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:10px; }
.service-card { display:flex; flex-direction:column; }
.service-card p { flex:1; overflow-wrap:anywhere; }
.content-box,.contact-list,.footer-brand { overflow-wrap:anywhere; }
.faq-answer { display:grid; grid-template-rows:0fr; max-height:none; transition:grid-template-rows .25s ease; }
.faq-answer>div { overflow:hidden; }
.faq-item.active .faq-answer { grid-template-rows:1fr; max-height:none; }
.floating-actions { right:max(14px,env(safe-area-inset-right)); bottom:max(14px,env(safe-area-inset-bottom)); }
.site-footer { padding-bottom:155px; }
a:focus-visible,button:focus-visible { outline:3px solid #ffbf00; outline-offset:4px; }
.menu-toggle span { transition:transform .2s,opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.digital-signature { font-size:.8rem; }
@media(max-width:1050px) {
.menu-toggle { display:block; }
.nav-menu { position:absolute; top:100%; left:16px; right:16px; display:flex; flex-direction:column; align-items:stretch; padding:12px; border:1px solid var(--color-border); border-radius:var(--radius); background:white; box-shadow:var(--shadow-soft); max-height:calc(100dvh - 110px); overflow-y:auto; opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .2s,transform .2s,visibility .2s; }
.nav-menu.open { opacity:1;visibility:visible;transform:translateY(0); }
.nav-link { width:100%;min-height:44px; }
}
@media(min-width:641px) and (max-width:920px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:380px) { .logo__text { font-size:.85rem;max-width:140px; }  .navbar { gap:10px; } .hero h1 { font-size:2rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; animation:none!important; } }
.brand-emblem { height:48px; }
.brand-emblem img { width:100%;height:100%;object-fit:contain; }
.brand-emblem--original { height:44px; }
.brand-emblem--original img { width:64px;height:64px;max-width:none; }

.social-links { display:flex;flex-wrap:wrap;gap:16px;margin-top:20px; }
.social-links a { color:#c9d7d3;transition:color .2s; }
.social-links a:hover { color:var(--color-secondary); }
