/* ─── GAGYO.ai — Global Stylesheet ─── */
@import url('https://fonts.bunny.net/css?family=space-grotesk:400,500,600,700,800|inter:300,400,500,600,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --blue:       #768baa;
  --blue-dark:  #5a7090;
  --blue-deep:  #3d5570;
  --lime:       #c5f122;
  --lime-dark:  #aad010;
  --white:      #ffffff;
  --light:      #f5f7fa;
  --text:       #2a2a2a;
  --text-mid:   #555;
  --text-light: #888;
  --border:     #e0e5ec;
  --nav-h:      72px;
  --r:          12px;
  --shadow:     0 4px 28px rgba(118,139,170,.16);
  --t:          .25s ease;
  --max:        1200px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── LAYOUT ─── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-blue { background: var(--blue); color: var(--white); }
.section-light { background: var(--light); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
/* fallback text (hidden when image loads) */
.logo span { display: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--text-mid); transition: color var(--t); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.btn-nav {
  background: var(--lime) !important; color: var(--text) !important;
  padding: .5rem 1.25rem; border-radius: 6px; font-weight: 600 !important;
  transition: background var(--t) !important;
}
.btn-nav:hover { background: var(--lime-dark) !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--text);
}
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; z-index: 999; flex-direction: column; gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-weight: 500; color: var(--text-mid); padding: .5rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--blue);
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.06)' stroke-width='1'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 4rem 2rem;
}
.hero-label {
  display: inline-block;
  background: rgba(197,241,34,.2); color: var(--lime);
  font-size: .8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
  border: 1px solid rgba(197,241,34,.3);
}
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); color: var(--white); font-weight: 800; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--lime); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.82); margin-bottom: 2.5rem; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--lime); color: var(--text);
  padding: .85rem 2rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  transition: transform var(--t), background var(--t); display: inline-block;
}
.btn-primary:hover { background: var(--lime-dark); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,.12); color: var(--white);
  padding: .85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem;
  border: 1px solid rgba(255,255,255,.3);
  transition: background var(--t); display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.hero-img-wrap {
  display: flex; justify-content: center; align-items: center;
}
.hero-img-wrap img {
  width: min(420px, 100%); aspect-ratio: 3/4; object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
  border: 3px solid rgba(255,255,255,.15);
}
.hero-illustration {
  width: min(520px, 100%);
}
.hero-illustration svg {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.8rem; font-family: 'Space Grotesk', sans-serif; color: var(--lime); font-weight: 700; }
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ─── SECTION HEADINGS ─── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); margin-bottom: .75rem;
}
.section-blue .section-label { color: var(--lime); }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.section-blue .section-header h2 { color: var(--white); }
.section-header p { font-size: 1.05rem; color: var(--text-mid); margin-top: .75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-blue .section-header p { color: rgba(255,255,255,.8); }

/* ─── CARDS ─── */
.card-grid { display: grid; gap: 1.75rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--r);
  padding: 2rem; border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(118,139,170,.2); }
.card-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(118,139,170,.14), rgba(118,139,170,.07));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
  border: 1px solid rgba(118,139,170,.18);
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--text-mid); line-height: 1.65; }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--blue-deep); padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ─── ABOUT ─── */
.about-hero {
  background: var(--blue); padding: 8rem 0 5rem;
  min-height: 50vh; display: flex; align-items: center;
}
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.about-img img {
  width: 100%; max-width: 360px; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow);
}
.about-content h1 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white); margin-bottom: .5rem; }
.about-content .title { color: var(--lime); font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.about-content p { color: rgba(255,255,255,.85); line-height: 1.75; font-size: 1.05rem; }

.timeline { display: flex; flex-direction: column; gap: 2rem; }
.timeline-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: start;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date { font-size: .85rem; color: var(--blue); font-weight: 600; padding-top: .2rem; }
.timeline-content h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.timeline-content .company { color: var(--text-mid); font-size: .9rem; margin-bottom: .5rem; font-weight: 500; }
.timeline-content p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

.tag {
  display: inline-block; background: rgba(118,139,170,.1); color: var(--blue);
  font-size: .8rem; font-weight: 600; padding: .3rem .75rem;
  border-radius: 100px; margin: .25rem .2rem 0 0;
}

.lang-grid { display: flex; gap: 1rem; flex-wrap: wrap; }
.lang-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); min-width: 130px;
}
.lang-card .flag { font-size: 1.8rem; margin-bottom: .3rem; }
.lang-card strong { display: block; font-size: .95rem; }
.lang-card span { font-size: .8rem; color: var(--text-mid); }

/* ─── SERVICES ─── */
.services-hero { background: var(--blue); padding: 8rem 0 5rem; }
.services-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); font-weight: 800; }
.services-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-top: .75rem; max-width: 560px; }

.service-card {
  background: var(--white); border-radius: var(--r);
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(118,139,170,.22); }
.service-num { font-size: .8rem; font-weight: 700; color: var(--lime); background: var(--blue); padding: .3rem .7rem; border-radius: 6px; display: inline-block; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .75rem; color: var(--blue-deep); }
.service-card p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }
.service-card ul { margin-top: 1rem; }
.service-card ul li { font-size: .9rem; color: var(--text-mid); padding: .3rem 0; padding-left: 1.2rem; position: relative; }
.service-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-size: .85rem; }

/* ─── CONTACT ─── */
.contact-hero { background: var(--blue); padding: 8rem 0 5rem; }
.contact-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); font-weight: 800; }
.contact-hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-top: .75rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info-card { background: var(--light); border-radius: var(--r); padding: 2.5rem; }
.contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item strong { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .2rem; }
.contact-item a { color: var(--blue); font-size: .95rem; }
.contact-item span { color: var(--text-mid); font-size: .95rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'Inter', sans-serif; font-size: .95rem;
  color: var(--text); background: var(--white); transition: border-color var(--t);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  background: var(--blue); color: var(--white);
  padding: .9rem 2.5rem; border-radius: 8px; border: none;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: background var(--t), transform var(--t); width: 100%;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }
.form-success {
  display: none; text-align: center; padding: 2rem;
  background: rgba(197,241,34,.1); border-radius: var(--r);
  border: 1px solid rgba(197,241,34,.4);
}
.form-success.show { display: block; }
.form-success h3 { color: var(--blue-deep); margin-bottom: .5rem; }

/* ─── FOOTER ─── */
footer {
  background: var(--blue-deep); color: rgba(255,255,255,.7);
  padding: 3rem 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; align-items: start;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .5rem; }
.footer-logo span { color: var(--lime); }
.footer p { font-size: .9rem; line-height: 1.65; }
.footer h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .5rem; }
.footer ul li a { color: rgba(255,255,255,.7); font-size: .9rem; transition: color var(--t); }
.footer ul li a:hover { color: var(--lime); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom span { font-size: .85rem; }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }
.fade-up-delay-5 { transition-delay: .5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-img-wrap { order: -1; }
  .hero-img-wrap img { max-width: 280px; aspect-ratio: 1/1; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-item { grid-template-columns: 1fr; gap: .5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: 3rem 1.25rem; }
  .hero-stat strong { font-size: 1.4rem; }
}

/* ── Language Switcher ───────────────────────────────────── */
.lang-switcher { display:flex; gap:.2rem; align-items:center; margin-right:.4rem; }
.lang-btn {
  background: none;
  border: 1px solid rgba(118,139,170,.3);
  border-radius: 5px;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  padding: .26rem .52rem;
  cursor: pointer;
  letter-spacing: .4px;
  transition: background .18s, color .18s, border-color .18s;
  line-height: 1.2;
  white-space: nowrap;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
@media (max-width: 600px) {
  .lang-switcher { margin-right:.2rem; }
  .lang-btn { font-size:.62rem; padding:.22rem .42rem; }
}
