:root {
  --bg: #0b1118;
  --bg-accent: #0f1722;
  --text: #ecf1f6;
  --muted: #a7b3be;
  --primary: #1b3a6f;
  --primary-dark: #15305c;
  --accent: #d24a1f;
  --whatsapp: #25d366;
  --card: #111a24;
  --border: rgba(236, 241, 246, 0.1);
  --shadow: 0 18px 40px rgba(5, 10, 16, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #172030 0%, var(--bg) 55%, var(--bg-accent) 100%);
  background-size: 120% 120%;
  line-height: 1.6;
}

body.animations-enabled {
  animation: ambientShift 22s ease-in-out infinite alternate;
}

@keyframes ambientShift {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 18%;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.015);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.animations-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.animations-enabled .reveal.is-visible {
  animation: revealUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(11, 17, 24, 0.85);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo {
  width: 132px;
  height: 114px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  background: transparent;
  border: none;
  padding: 0;
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 36px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin: 0 0 12px;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

h4 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.cta-row .btn {
  width: 190px;
  font-size: 0.95rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  border-color: rgba(236, 241, 246, 0.28);
  padding: 8px 18px;
  font-weight: 700;
  color: #eef4ff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn-whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.08);
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.9rem;
  line-height: 1;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  transform: translateY(-1px);
}

.btn-whatsapp .icon {
  width: 16px;
  height: 16px;
}

.header-actions .btn {
  width: 132px;
  padding: 9px 14px;
  font-size: 0.9rem;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
}

.icon {
  width: 18px;
  height: 18px;
}

.btn-link {
  border: none;
  color: var(--primary);
  font-weight: 600;
}

.hero-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric {
  font-size: 1.4rem;
  font-weight: 800;
  color: #eef4ff;
  display: block;
  text-shadow: 0 1px 10px rgba(5, 10, 16, 0.28);
}

.metric-label {
  font-size: 0.9rem;
  color: #d3ddea;
}

.hero-card {
  background: linear-gradient(155deg, #121b26 10%, #101822 100%);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-card-inner {
  padding: 26px;
}

.card-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.card-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
}

.services {
  padding: 40px 0 60px;
}

.section-title {
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(5, 10, 16, 0.35);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 136px;
  height: 136px;
  background-image: var(--hover-illustration, none);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(27, 58, 111, 0.18), rgba(210, 74, 31, 0));
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(236, 241, 246, 0.24);
  box-shadow: 0 14px 32px rgba(5, 10, 16, 0.5);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 0.26;
  transform: translateY(0) scale(1);
  animation: floatIcon 1.8s ease-in-out infinite;
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
}

.service-custom-website {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24' y='28' width='112' height='76' rx='10'/%3E%3Cpath d='M58 120h44M80 104v16M36 50h88M44 64h30M44 78h54'/%3E%3C/g%3E%3C/svg%3E");
}

.service-lead-bot {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='26' y='30' width='108' height='76' rx='18'/%3E%3Cpath d='M54 106l-18 18v-18M58 86h44M80 24v10M52 24h56'/%3E%3Ccircle cx='66' cy='66' r='6'/%3E%3Ccircle cx='94' cy='66' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

.service-ai-assistant {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M80 28c22 0 40 17 40 39 0 14-7 23-18 31v18H58V98c-11-8-18-17-18-31 0-22 18-39 40-39z'/%3E%3Ccircle cx='66' cy='66' r='5'/%3E%3Ccircle cx='94' cy='66' r='5'/%3E%3Cpath d='M64 86h32M80 18v10M36 56h12M112 56h12'/%3E%3C/g%3E%3C/svg%3E");
}

.service-custom-solutions {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M56 28h24a10 10 0 0 1 10 10v8h8a10 10 0 0 1 10 10v24a10 10 0 0 1-10 10h-8v8a10 10 0 0 1-10 10H56a10 10 0 0 1-10-10v-8h-8a10 10 0 0 1-10-10V56a10 10 0 0 1 10-10h8v-8a10 10 0 0 1 10-10z'/%3E%3Cpath d='M42 118l20-20M52 128l20-20M90 36l30 30'/%3E%3C/g%3E%3C/svg%3E");
}

.service-google-profile {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M80 22c18 0 32 14 32 32 0 23-32 56-32 56S48 77 48 54c0-18 14-32 32-32z'/%3E%3Ccircle cx='80' cy='54' r='10'/%3E%3Cpath d='M34 122h92M44 122v16M60 122v16M84 122v16M116 122v16'/%3E%3C/g%3E%3C/svg%3E");
}

.service-whatsapp-line {
  --hover-illustration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23355172' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M80 24c29 0 52 21 52 48s-23 48-52 48c-10 0-20-3-29-8l-23 8 7-22c-5-8-7-17-7-26 0-27 23-48 52-48z'/%3E%3Cpath d='M62 64c2-4 6-6 10-4l4 2c2 1 3 3 2 5l-2 6c4 8 10 14 18 18l6-2c2-1 4 0 5 2l2 4c2 4 0 8-4 10-5 2-11 2-16 0-15-6-29-20-35-35-2-5-2-11 0-16z'/%3E%3C/g%3E%3C/svg%3E");
}

.why {
  padding: 56px 0;
  background: #0f1620;
}

.why-grid {
  display: grid;
  gap: 26px;
}

.why-points {
  display: grid;
  gap: 18px;
}

.contact {
  padding: 60px 0 80px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: #0f1722;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(5, 10, 16, 0.4);
}

.lcw-root .lcw-toggle{                                                                                                                                                         
    width:58px !important;                                                                                                                                                       
    height:58px !important;                                                                                                                                                      
    border-radius:50% !important;                                                                                                                                                
    padding:0 !important;                                                                                                                                                        
    display:inline-flex !important;                                                                                                                                              
    align-items:center !important;                                                                                                                                               
    justify-content:center !important;                                                                                                                                           
  }    

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font: inherit;
  background: #0b131d;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  border-color: var(--primary);
  background: #101a26;
}

.form-message {
  margin: 0;
  font-weight: 600;
  color: var(--primary);
  min-height: 1.4em;
}

.form-message.is-loading {
  color: var(--muted);
}

.form-message.is-success {
  color: #2dd38d;
}

.form-message.is-error {
  color: #ff9b85;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #0b1118;
  padding: 28px 0 40px;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (min-width: 720px) {
  .cta-row .btn {
    width: 220px;
    font-size: 1rem;
  }

  .logo {
    width: 176px;
    height: 148px;
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 719px) {
  .site-header {
    position: static;
    top: auto;
  }

  .site-header .container {
    align-items: flex-start;
    gap: 12px;
  }

  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .header-actions .btn {
    width: 120px;
    padding: 7px 12px;
    font-size: 0.82rem;
    min-height: 32px;
  }

  .btn-whatsapp {
    gap: 6px;
  }

  .btn-whatsapp .icon {
    width: 14px;
    height: 14px;
  }

  .service-card::before {
    width: 108px;
    height: 108px;
    right: -10px;
    bottom: -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.animations-enabled {
    animation: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .service-card,
  .service-card::before,
  .service-card::after {
    transition: none;
    animation: none;
  }
}
