/* GSI Bali Agency shared styles */
:root {
  --bg: #f5efe6;
  --bg-soft: #fbf8f2;
  --surface: rgba(255,255,255,0.8);
  --surface-strong: #ffffff;
  --text: #18211a;
  --muted: #5f6b60;
  --line: rgba(24, 33, 26, 0.12);
  --green: #1f4d3c;
  --green-deep: #16372b;
  --gold: #c69a63;
  --sand: #e7d6bf;
  --shadow: 0 20px 50px rgba(15, 27, 21, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f3eb 0%, #ffffff 24%, #f6f2ea 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--green);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.display {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.mini-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(15, 27, 21, 0.06);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--green), #2d6a54);
  color: #fff;
  box-shadow: 0 14px 30px rgba(31, 77, 60, .24);
}
.btn-secondary {
  background: rgba(255,255,255,.72);
  color: var(--green-deep);
  border: 1px solid rgba(255,255,255,.55);
}
.btn-outline {
  border: 1px solid var(--line);
  color: var(--green-deep);
  background: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(248, 243, 235, 0.82);
  border-bottom: 1px solid rgba(24, 33, 26, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-deep);
  transition: transform .2s ease, opacity .2s ease;
}
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a {
  color: var(--muted);
  font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green-deep); }
.nav-cta { margin-left: 8px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}
.lang-btn {
  border: 1px solid rgba(24, 33, 26, 0.12);
  background: rgba(255,255,255,.72);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.lang-btn:hover,
.lang-btn:focus-visible {
  background: #fff;
  transform: translateY(-1px);
}
.lang-btn.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 28, 20, 0.72) 10%, rgba(11, 28, 20, 0.42) 46%, rgba(11, 28, 20, 0.22) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video {
  min-height: auto;
  background: transparent;
  display: block;
  line-height: 0;
}
.hero-video::before {
  display: none;
}
.hero-video-media {
  display: block;
  width: 100%;
  height: min(78vh, 860px);
  object-fit: cover;
  background: transparent;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%);
}
.hero-floating-copy {
  position: absolute;
  left: clamp(18px, 4vw, 44px);
  bottom: clamp(36px, 6vw, 68px);
  z-index: 3;
  max-width: min(760px, calc(100% - 36px));
  min-height: 112px;
  padding: 0;
  color: #fff;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-video[data-hero-ready="true"] .hero-floating-copy {
  opacity: 1;
}
.hero-sequence {
  position: relative;
  display: block;
}
.hero-sequence-line {
  position: absolute;
  inset: 0 auto auto 0;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  color: rgba(255,255,255,.98);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
}
.hero-sequence-line.is-active {
  opacity: 1;
  transform: translateY(0);
}
.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: end;
  padding: 72px 0;
}
.hero-copy { color: #fff; }
.hero-copy .eyebrow { color: rgba(255,255,255,.82); }
.hero-copy .display { font-size: clamp(3rem, 7vw, 5.8rem); margin: 18px 0 22px; }
.hero-copy .lead { color: rgba(255,255,255,.84); font-size: 1.14rem; }
.choice-panel {
  padding: 28px;
  background: rgba(252, 249, 244, 0.78);
  border: 1px solid rgba(255,255,255,.5);
}
.choice-grid { display: grid; gap: 18px; }
.choice-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(24, 33, 26, .08);
}
.choice-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.choice-card p { margin: 0 0 18px; color: var(--muted); }
.hero-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.kicker-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .92rem;
}
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 14px 0 14px; }
.service-card h3, .stat-card h3, .faq-item h3, .contact-card h3, .gallery-card h3, .timeline-step h3 { margin-top: 0; }
.service-card ul, .faq-item p:last-child, .gallery-card p:last-child { margin-bottom: 0; }
.service-card ul { padding-left: 18px; color: var(--muted); }
.service-card li + li { margin-top: 7px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat-card { padding: 22px; text-align: center; }
.stat-card strong { display: block; font-size: 2.15rem; color: var(--green); }
.gallery-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-card { overflow: hidden; padding: 0; }
.gallery-card img { height: 280px; width: 100%; object-fit: cover; }
.gallery-card .gallery-copy { padding: 18px 20px 20px; }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.timeline-step { padding: 24px; }
.timeline-step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(31, 77, 60, 0.1);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 16px;
}
.testimonial { padding: 24px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.03rem; color: var(--text); }
.testimonial .who { color: var(--muted); font-weight: 600; }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 24px; }
.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card { padding: 28px; }
.contact-list { display: grid; gap: 12px; margin: 20px 0 0; }
.contact-list a, .contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: 24px;
}
.notice-bar {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 3;
}
.notice-bar .card {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.inline-list-center {
  justify-content: center;
}
.inline-list span,
.inline-list a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 77, 60, .08);
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.inline-list a:hover {
  background: rgba(31, 77, 60, .14);
  color: var(--green-deep);
  transform: translateY(-1px);
}
.placeholder-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(249,244,236,.92));
}
.site-footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(24,33,26,.08);
  background: rgba(248,243,235,.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-grid p, .footer-grid li, .footer-grid a { color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(24,33,26,.08);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .35);
  z-index: 50;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 980px) {
  .hero-shell, .contact-shell, .footer-grid, .timeline, .gallery-strip, .three-col, .two-col, .stat-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-copy .display { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .hero-video {
    min-height: auto;
    display: block;
    overflow: hidden;
    background: transparent;
  }
  .hero-video-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    background: transparent;
  }
  .hero-floating-copy {
    left: 14px;
    right: 14px;
    bottom: 42px;
    max-width: none;
    min-height: 88px;
    padding: 0;
  }
  .hero-sequence-line {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }
  .notice-bar { margin-top: 0; padding-top: 0; }
  .notice-bar .card { flex-direction: column; align-items: flex-start; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-cta { margin-left: 0; }
  .lang-switch {
    margin-left: 0;
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .choice-panel, .placeholder-panel, .contact-card, .timeline-step, .testimonial, .service-card, .faq-item, .mini-card { padding: 22px; }
  .hero-shell { padding: 54px 0; }
  .btn { width: 100%; }
  .button-row { align-items: stretch; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}
