:root {
  --bg: #f5f3ee;
  --surface: #fffdfa;
  --surface-2: #fdf9f0;
  --text: #1c1c1c;
  --muted: #4f4b43;
  --accent: #007da8;
  --accent-2: #f16a2d;
  --border: rgba(28, 28, 28, 0.12);
  --shadow: 0 20px 40px rgba(16, 17, 24, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 8%, #ffefd6 0%, var(--bg) 38%),
    linear-gradient(180deg, #fff3df 0%, #f6f4ed 40%, var(--bg) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(34px);
}

.orb-1 {
  width: 320px;
  height: 320px;
  right: -80px;
  top: -50px;
  background: rgba(0, 125, 168, 0.2);
}

.orb-2 {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 7vh;
  background: rgba(241, 106, 45, 0.2);
}

.site-header {
  width: min(1140px, 92vw);
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0.75rem;
  z-index: 30;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

main {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding-bottom: 6rem;
}

.hero {
  padding: 4.8rem 0 2.5rem;
}

.availability {
  margin: 0;
  display: inline-flex;
  border: 1px solid rgba(0, 125, 168, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(0, 125, 168, 0.08);
  color: #00526d;
  font-weight: 700;
  font-size: 0.8rem;
}

.tag {
  margin-top: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  max-width: 16ch;
  font-family: "Space Grotesk", sans-serif;
}

h1 span {
  display: block;
  color: var(--accent);
}

#heroName {
  color: var(--text);
}

.hero-copy {
  margin-top: 0.95rem;
  max-width: 64ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 125, 168, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(0, 125, 168, 0.45);
}

.quick-contact {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.quick-contact p {
  margin: 0;
}

.quick-contact a {
  color: var(--accent);
  text-decoration: none;
}

.stats {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.stats article {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.stats p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.section {
  margin-top: 2rem;
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.section-head {
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.78rem;
}

.about-copy {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.service-grid,
.skill-groups,
.project-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.service-grid article,
.skill-groups article,
.project-card,
.process-grid article,
.testimonial-grid article {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.service-grid p,
.skill-groups p,
.process-grid p,
.testimonial-grid p,
.project-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-weight: 700;
  background: #fff;
  font-size: 0.9rem;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 125, 168, 0.45);
}

.project-meta {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00526d;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline article {
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 0.7rem 0 0.7rem 0.85rem;
  background: linear-gradient(90deg, rgba(0, 125, 168, 0.08), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
}

.contact-info p {
  margin: 0 0 0.55rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 125, 168, 0.24);
  border-color: rgba(0, 125, 168, 0.45);
}

.form-status {
  margin: 0;
  color: #00526d;
  font-weight: 700;
  min-height: 1.2rem;
}

.form-status.is-success {
  color: #0f7a3d;
}

.form-status.is-error {
  color: #b42318;
}

.hidden-field {
  display: none;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  text-decoration: none;
  color: white;
  background: #1fb65a;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 182, 90, 0.35);
}

.mobile-cta {
  display: none;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem 4.2rem;
}

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

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

@media (max-width: 940px) {
  .service-grid,
  .skill-groups,
  .project-grid,
  .process-grid,
  .testimonial-grid,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: 64px;
    right: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.75rem;
    flex-direction: column;
    min-width: 190px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .section {
    padding: 1.15rem;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    position: fixed;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    z-index: 45;
  }

  .mobile-cta a {
    text-decoration: none;
    text-align: center;
    color: white;
    background: #222;
    border-radius: 10px;
    padding: 0.64rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
  }

  .mobile-cta a:last-child {
    background: #1fb65a;
  }
}
