/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.65);
  --orange: #e8711a;
  --orange-light: #f59e42;
  --orange-dark: #c85c10;
  --orange-pale: #fff4eb;
  --orange-glow: rgba(232, 113, 26, 0.12);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a68;
  --text-dim: #8a8aa8;
  --border-glass: rgba(232, 113, 26, 0.12);
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-soft: rgba(0, 0, 0, 0.04);
  --shadow-orange: rgba(232, 113, 26, 0.12);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ===== FLOATING INSURANCE ICONS BACKGROUND ===== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-icon {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.06;
  animation: floatIcon linear infinite;
  will-change: transform;
}

@keyframes floatIcon {
  0% {
    transform: translateY(110vh) rotate(0deg);
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
  }
}

.bg-icon:nth-child(1) {
  left: 5%;
  animation-duration: 22s;
  animation-delay: 0s;
  font-size: 2rem;
}

.bg-icon:nth-child(2) {
  left: 15%;
  animation-duration: 28s;
  animation-delay: 3s;
  font-size: 1.5rem;
}

.bg-icon:nth-child(3) {
  left: 25%;
  animation-duration: 25s;
  animation-delay: 6s;
  font-size: 2.2rem;
}

.bg-icon:nth-child(4) {
  left: 35%;
  animation-duration: 20s;
  animation-delay: 1s;
  font-size: 1.6rem;
}

.bg-icon:nth-child(5) {
  left: 45%;
  animation-duration: 30s;
  animation-delay: 8s;
  font-size: 1.8rem;
}

.bg-icon:nth-child(6) {
  left: 55%;
  animation-duration: 24s;
  animation-delay: 2s;
  font-size: 2rem;
}

.bg-icon:nth-child(7) {
  left: 65%;
  animation-duration: 26s;
  animation-delay: 5s;
  font-size: 1.4rem;
}

.bg-icon:nth-child(8) {
  left: 75%;
  animation-duration: 21s;
  animation-delay: 4s;
  font-size: 2.1rem;
}

.bg-icon:nth-child(9) {
  left: 85%;
  animation-duration: 27s;
  animation-delay: 7s;
  font-size: 1.7rem;
}

.bg-icon:nth-child(10) {
  left: 92%;
  animation-duration: 23s;
  animation-delay: 9s;
  font-size: 1.9rem;
}

.bg-icon:nth-child(11) {
  left: 10%;
  animation-duration: 29s;
  animation-delay: 11s;
  font-size: 1.5rem;
}

.bg-icon:nth-child(12) {
  left: 50%;
  animation-duration: 19s;
  animation-delay: 13s;
  font-size: 2rem;
}

/* ===== BACKGROUND GRADIENT BLOBS ===== */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 113, 26, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 66, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar-content {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand .brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.navbar-brand .brand-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange);
  background: var(--orange-pale);
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 100px;
  padding-bottom: 30px;
  text-align: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 113, 26, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.profile-photo-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
}

.profile-photo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--orange), var(--orange-light), var(--orange-dark), var(--orange));
  animation: rotateRing 6s linear infinite;
  opacity: 0.65;
}

@keyframes rotateRing {
  to {
    transform: rotate(360deg);
  }
}

.profile-photo {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-secondary);
  z-index: 2;
  box-shadow: 0 8px 30px rgba(232, 113, 26, 0.12);
}

.hero-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.hero-name span {
  color: var(--orange);
}

.hero-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 8px;
}

.hero-slogan {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.hero-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px var(--shadow-soft);
}

.hero-company-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
}

.hero-company .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
}

.hero-stat .stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 40px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.section-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  margin-top: 10px;
}

/* ===== ABOUT SECTION ===== */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.about-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-text strong {
  color: var(--orange);
  font-weight: 600;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-soft);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 113, 26, 0.2);
  box-shadow: 0 12px 40px var(--shadow-orange);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.service-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-desc {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.4;
}

/* ===== CONTACT / SOCIAL SECTION ===== */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-soft);
}

.contact-item:hover {
  border-color: rgba(232, 113, 26, 0.25);
  transform: translateX(4px);
  box-shadow: 0 4px 20px var(--shadow-orange);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.contact-icon.instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}

.contact-icon.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.contact-icon.phone {
  background: var(--orange-pale);
  color: var(--orange);
}

.contact-icon.email {
  background: rgba(66, 133, 244, 0.1);
  color: #4285f4;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-arrow {
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-arrow {
  transform: translateX(4px);
  color: var(--orange);
}

/* ===== CTA BUTTON ===== */
.cta-section {
  padding: 20px 0 40px;
  text-align: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(232, 113, 26, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(232, 113, 26, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.footer-logo-img {
  max-width: 180px;
  height: auto;
  margin-bottom: 10px;
  opacity: 0.85;
}

.footer-text {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 360px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-name {
    font-size: 1.7rem;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (min-width: 481px) {
  .container {
    max-width: 520px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--orange-light);
  border-radius: 4px;
}