/* ============ SENSIBO-INSPIRED THEME ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Sensibo-inspired palette */
  --primary: #14B8A6;          /* Teal green - signature color */
  --primary-dark: #0D9488;
  --primary-light: #99F6E4;
  --accent: #F97316;           /* Orange CTA accent */
  --accent-2: #6366F1;         /* Indigo secondary */
  --dark: #0F172A;             /* Navy black */
  --dark-2: #1E293B;
  --text: #0F172A;
  --text-muted: #64748B;
  --surface: #FFFFFF;
  --surface-muted: #F8FAFC;
  --surface-warm: #FFF7ED;
  --surface-teal: #F0FDFA;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, #14B8A6 0%, #0EA5E9 100%);
  --gradient-warm: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 30px 80px rgba(20, 184, 166, 0.18);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============ UTILITIES ============ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: var(--shadow-xl);
}

.btn-accent {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-ghost::after {
  content: ' →';
  transition: transform 0.2s;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface-teal);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  color: var(--dark);
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.65;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
  opacity: 0;
}

.animate-float { animation: float 4s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============ NAVBAR (Sensibo-style) ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 15px;
}

.logo-text strong {
  font-size: 16px;
  color: var(--dark);
  font-weight: 800;
}

.logo-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--primary-dark);
  background: var(--surface-teal);
}

.nav-link.active {
  color: var(--primary-dark);
  background: var(--surface-teal);
  font-weight: 600;
}

.nav-cta {
  margin-left: 14px;
  padding: 10px 22px;
  font-size: 14px;
  background: var(--dark);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface-muted);
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 25%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 30px 30px;
    background: white;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 17px; width: 100%; }
  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: #CBD5E1;
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo-text strong { color: white; }
.footer-brand .logo-text span { color: #94A3B8; }

.footer-desc {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #94A3B8;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #CBD5E1;
  transition: background 0.25s, transform 0.25s, color 0.25s;
}

.socials a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a,
.footer-col ul span {
  color: #94A3B8;
  font-size: 14.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #64748B;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: var(--primary); }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============ FLOATING BUTTONS ============ */
.fab-group {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
}

.fab-wa { background: #25D366; }
.fab-call { background: var(--gradient); }

.fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.25;
  animation: pulse 2s infinite;
}

@media (max-width: 560px) {
  .fab-group { right: 14px; bottom: 14px; }
  .fab { width: 52px; height: 52px; }
}

/* ============ COMMON COMPONENTS ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split-visual:hover img { transform: scale(1.04); }

.split-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.75;
  margin-top: 16px;
}

/* CTA BAND */
.cta-band {
  background: var(--dark);
  padding: 90px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.3), transparent 70%);
  border-radius: 50%;
}

.cta-inner { position: relative; z-index: 1; }

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
  color: #CBD5E1;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 150px 0 70px;
  text-align: center;
  background: var(--surface-teal);
}

.page-hero-title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--dark);
}

.page-hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
}
