/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal-900: #042f2e;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --text-heading: var(--slate-900);
  --text-body:    var(--slate-700);
  --text-muted:   var(--slate-500);
  --border:       var(--slate-200);

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow:    0 4px 20px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.11), 0 4px 12px rgba(15,23,42,.05);

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --ease:      cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: 'Sora', system-ui, sans-serif;
  color: var(--text-heading);
  line-height: 1.15;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all .22s var(--ease);
  border: none;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-teal {
  background: var(--teal-600);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,148,136,.3);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.07);
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 50px;
  background: #0a66c2;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .2s, transform .2s;
  border: none;
}
.btn-linkedin:hover { background: #085aad; transform: translateY(-2px); }
.btn-linkedin svg { width: 18px; height: 18px; }

.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: all .3s var(--ease);
}

.navbar.scrolled {
  background: rgba(9, 20, 40, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.3px;
}
.logo span { color: var(--teal-300); }

.logo-icon {
  width: 28px; height: 28px;
  color: var(--teal-300);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--teal-600) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: var(--teal-700) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(13,148,136,.3) !important;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(140deg, #091628 0%, #0c2340 40%, #092e2a 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 75%, rgba(13,148,136,.14) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(20,184,166,.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 28px 100px;
  width: 100%;
}

/* LEFT */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 24px;
}

.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.5); }
}

.hero-left h1 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-left h1 em {
  font-style: normal;
  color: var(--teal-300);
}

.hero-left p {
  font-size: 1.02rem;
  color: rgba(255,255,255,.56);
  max-width: 440px;
  line-height: 1.72;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* RIGHT — network illustration */
.hero-network {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(13,148,136,.12));
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.25);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  animation: scroll-drop 2s infinite;
}

@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 0.97rem;
  color: var(--text-muted);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 104px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-100);
}

/* Visual illustration header */
.svc-visual {
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--slate-100);
}

.svc-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}

.service-card:hover .svc-visual img {
  transform: scale(1.04);
}

.svc-body {
  padding: 28px 26px 32px;
  flex: 1;
}

.svc-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.svc-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 104px 0;
  background: var(--slate-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--teal-600), var(--shadow-lg);
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* TEXT */
.about-text .section-tag { display: block; }

.about-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  border-left: 2px solid var(--slate-200);
  padding-left: 12px;
  margin-top: 4px;
}

.about-claro {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 24px 0 12px;
}

.about-claro-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.about-claro-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--teal-500);
}

.about-claro-list li strong {
  color: var(--slate-800);
  font-weight: 600;
}

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

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 104px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ci-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--teal-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
}
.ci-icon svg { width: 18px; height: 18px; }

.ci-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.ci-text a {
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color .2s;
}
.ci-text a:hover { color: var(--teal-600); }
.ci-text span { color: var(--text-muted); font-size: 0.9rem; }

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 50px;
  margin-top: 4px;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }

/* FORM */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-heading);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-300); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  padding: 13px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--slate-900);
  padding: 36px 0;
}

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

.logo-light .logo-icon { color: var(--teal-400); }
.logo-light span { color: var(--teal-400); }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,.75); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,.22);
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .hero-network { max-width: 380px; }
  .hero-left h1 { font-size: 2.8rem; }
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 58px;
    background: rgba(9,20,40,.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 28px;
    gap: 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
  .menu-btn { display: flex; }

  .hero-grid { padding: 56px 0 80px; }
  .hero-left h1 { font-size: 2.4rem; letter-spacing: -.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }

  .about-actions { flex-direction: column; }
  .about-actions .btn,
  .about-actions .btn-linkedin { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}
