/* ============================================================
   AKRETIO — Glass Luxe Design System
   Glassmorphism · Dark Background · Floating Orbs · Gradient Text
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------
   CSS Variables
   ---------------------------------------------------------- */
:root {
  --dark-teal: #1a2825;
  --green: #6aad3d;
  --green-light: #7cc24a;
  --green-dark: #5a9433;
  --teal-accent: #3fa3a2;
  --gold: #c49a6c;
  --white: #ffffff;
  --bg: #0d1a17;
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Two extra orbs via body::before and ::after */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}

body::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(63, 163, 162, 0.3), transparent 70%);
  top: 30%;
  right: -100px;
  animation: orbFloat4 28s ease-in-out infinite;
}

body::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 154, 108, 0.2), transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: orbFloat5 32s ease-in-out infinite;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--green-light);
}

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

/* ----------------------------------------------------------
   Skip Link
   ---------------------------------------------------------- */
a.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 10000;
  transition: top 0.3s ease;
}

a.skip-link:focus {
  top: 16px;
}

/* ----------------------------------------------------------
   Floating Orbs (DOM)
   ---------------------------------------------------------- */
.orb-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106, 173, 61, 0.3), transparent 70%);
  top: -10%;
  left: -5%;
  animation: orbFloat1 22s ease-in-out infinite;
}

.orb--2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(63, 163, 162, 0.25), transparent 70%);
  top: 50%;
  right: -8%;
  animation: orbFloat2 26s ease-in-out infinite;
}

.orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(196, 154, 108, 0.2), transparent 70%);
  bottom: -5%;
  left: 30%;
  animation: orbFloat3 30s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, 40px) scale(1.1); }
  50% { transform: translate(-30px, 80px) scale(0.95); }
  75% { transform: translate(40px, -20px) scale(1.05); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, -30px) scale(1.08); }
  50% { transform: translate(40px, -60px) scale(0.92); }
  75% { transform: translate(-20px, 50px) scale(1.04); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.06); }
  50% { transform: translate(-60px, -20px) scale(0.97); }
  75% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes orbFloat4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-40px, 60px) scale(1.05); }
  50% { transform: translate(50px, -40px) scale(0.93); }
  75% { transform: translate(-30px, -50px) scale(1.08); }
}

@keyframes orbFloat5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.07); }
  50% { transform: translate(-40px, 50px) scale(0.96); }
  75% { transform: translate(20px, -60px) scale(1.03); }
}

/* ----------------------------------------------------------
   Navigation (#topheader)
   ---------------------------------------------------------- */
#topheader {
  position: fixed;
  top: 28px;
  left: 24px;
  right: 24px;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-radius: 60px;
  background: rgba(13, 26, 23, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo */
.toplogo {
  flex-shrink: 0;
}

.toplogo a.nav-logo,
a.XLink.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Menu */
#menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

#menu .xmenuboxlev0 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style: none;
}

#menu .xmenuboxlev0 a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

#menu .xmenuboxlev0 a:hover {
  color: var(--white);
}

/* Language switcher */
.lang {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2px;
  flex-shrink: 0;
}

.lang a.XLink {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang a.XLink:hover {
  color: rgba(255, 255, 255, 0.8);
}

.lang a.XLink.langactive {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ----------------------------------------------------------
   Hero (#topimagecontainer)
   ---------------------------------------------------------- */
#topimagecontainer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(196, 154, 108, 0.08);
  border: 1px solid rgba(196, 154, 108, 0.2);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

h1.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--white) 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

a.hero__cta {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(106, 173, 61, 0.3);
  transition: all 0.3s ease;
}

a.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(106, 173, 61, 0.45);
  color: var(--white);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255, 255, 255, 0.3);
  fill: none;
}

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

/* ----------------------------------------------------------
   Main Body & Sections
   ---------------------------------------------------------- */
.mainbody {
  position: relative;
  z-index: 1;
}

#mainarea {
  width: 100%;
}

section {
  padding: 120px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  max-width: 550px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

/* ----------------------------------------------------------
   Expertise Cards
   ---------------------------------------------------------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expertise-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px 36px;
  transition: all 0.4s ease;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.4;
}

.expertise-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.expertise-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(106, 173, 61, 0.1);
  border: 1px solid rgba(106, 173, 61, 0.2);
  margin-bottom: 24px;
  color: var(--green);
}

.expertise-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.expertise-card p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   Reference Cards
   ---------------------------------------------------------- */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ref-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s ease;
}

.ref-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.ref-card-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(196, 154, 108, 0.08);
  border: 1px solid rgba(196, 154, 108, 0.15);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.ref-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.ref-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 16px;
}

a.ref-link {
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

a.ref-link:hover {
  transform: translateX(3px);
  color: var(--green-light);
}

/* ----------------------------------------------------------
   Company Section
   ---------------------------------------------------------- */
.company-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 56px;
}

.company-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.company-glass h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.company-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

svg.company-detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal-accent);
  stroke: currentColor;
  fill: none;
  margin-top: 2px;
}

.company-detail div {
  display: flex;
  flex-direction: column;
}

.company-detail strong {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.company-detail span {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------------------
   Contact Section
   ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-text h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-text p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px;
}

.form-group {
  position: relative;
  margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: all 0.3s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(106, 173, 61, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Floating labels */
.form-group label {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--bg);
  padding: 0 6px;
}

/* reCAPTCHA */
.g-recaptcha {
  margin-bottom: 28px;
}

/* Submit button */
input[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(106, 173, 61, 0.3);
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(106, 173, 61, 0.45);
}

/* ----------------------------------------------------------
   Footer (#outro)
   ---------------------------------------------------------- */
#outro {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 24px;
  text-align: center;
}

.footer__logo {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 12px;
  color: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  margin-bottom: 32px;
  user-select: none;
}

#outrocontent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer__copy a.XLink {
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__copy a.XLink:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a.XLink {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a.XLink:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------------------------
   Scroll Reveal
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ----------------------------------------------------------
   Focus / Accessibility
   ---------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--teal-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__scroll {
    animation: none;
  }
}

/* ----------------------------------------------------------
   Responsive: 1024px
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .expertise-grid,
  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   Responsive: 768px
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  #topheader {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .nav-inner {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
    order: -1;
  }

  #menu {
    display: none;
    width: 100%;
    order: 10;
    padding-top: 16px;
  }

  #topheader.nav-open #menu {
    display: flex;
  }

  #menu .xmenuboxlev0 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 8px 0 12px;
  }

  /* Hamburger animation */
  #topheader.nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #topheader.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  #topheader.nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .expertise-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 80px 20px;
  }

  #topimagecontainer {
    padding: 120px 20px 60px;
  }

  .company-glass {
    padding: 36px 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .contact-layout {
    gap: 32px;
  }

  #outrocontent {
    flex-direction: column;
    gap: 16px;
  }

  .footer__links {
    justify-content: center;
  }
}

/* ----------------------------------------------------------
   Responsive: 480px
   ---------------------------------------------------------- */
@media (max-width: 480px) {
  h1.hero__title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 16px;
  }

  .section-container {
    padding: 0 8px;
  }

  .expertise-card {
    padding: 36px 24px;
  }

  .ref-card {
    padding: 28px 24px;
  }

  .company-glass {
    padding: 28px 18px;
  }

  .contact-form {
    padding: 28px 18px;
  }

  a.hero__cta {
    padding: 14px 32px;
  }

  .footer__logo {
    font-size: 1.8rem;
    letter-spacing: 8px;
  }
}
