/* ACG Works - Brand: Yellow #f6be0b, Black #101010, White, Light gray #e3e8ed */
:root {
  --yellow: #f6be0b;
  --yellow-dark: #d9a608;
  --black: #101010;
  --white: #ffffff;
  --gray-light: #e3e8ed;
  --gray-medium: #6b7280;
  --gray-dark: #2a2a2a;
  --radius: 999px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --max-w: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--yellow);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--max-w); margin: 0 auto;
}
.site-header__logo img { height: 72px; width: auto; }
.site-nav { display: flex; gap: 44px; align-items: center; }
.site-nav a {
  font-weight: 600; font-size: 18px; color: var(--black);
  position: relative; padding: 8px 0;
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.7; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--white);
}
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-secondary { background: var(--yellow); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); padding: 12px 30px; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 28px; height: 3px; background: var(--black);
  margin: 5px 0; border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  background: var(--yellow); color: var(--black);
  padding: 60px 0 100px; position: relative; overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px;
}
.hero p { font-size: 18px; max-width: 480px; margin-bottom: 36px; }
.hero__image { position: relative; }
.hero__image img { max-height: 600px; margin-left: auto; }

/* Page hero (smaller) */
.page-hero {
  background: var(--yellow); padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 56px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.page-hero .breadcrumb {
  font-size: 14px; color: var(--gray-dark); font-weight: 500;
}

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-light { background: var(--gray-light); }
.section-dark { background: var(--black); color: var(--white); }
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15;
}
.section-subtitle { font-size: 18px; color: var(--gray-medium); max-width: 720px; margin: 0 auto 48px; text-align: center; }
.text-center { text-align: center; }

/* Partners */
.partners {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  align-items: center; padding: 32px 0;
}
.partners img { max-height: 80px; margin: 0 auto; filter: grayscale(20%); transition: filter 0.2s; }
.partners img:hover { filter: grayscale(0); }

/* Service cards */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.service-card h3 { font-size: 22px; margin-bottom: 16px; font-weight: 700; }
.service-card ul { list-style: none; padding: 0; }
.service-card ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15px;
}
.service-card ul li::before {
  content: '✓'; position: absolute; left: 0; color: var(--yellow-dark); font-weight: bold;
}
.service-card .btn { margin-top: 20px; }

/* Service detail row */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; margin-bottom: 80px;
}
.service-detail:nth-child(even) > div:first-child { order: 2; }
.service-detail img { border-radius: var(--radius-md); }
.service-detail h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.01em; }
.service-detail h4 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.service-detail p { color: var(--gray-medium); margin-bottom: 12px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--gray-light);
}
.testimonial__stars { margin-bottom: 16px; height: 24px; }
.testimonial h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.testimonial p { color: var(--gray-dark); margin-bottom: 16px; font-style: italic; }
.testimonial cite { font-style: normal; font-weight: 600; font-size: 14px; color: var(--gray-medium); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  text-align: center; margin: 60px 0;
}
.stat__number { font-size: clamp(48px, 6vw, 80px); font-weight: 800; color: var(--yellow); line-height: 1; margin-bottom: 12px; }
.stat__label { font-size: 16px; color: var(--gray-medium); }

/* Team */
.team-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-bottom: 32px;
}
.team-card { text-align: center; width: 240px; flex-shrink: 0; }
.team-card img {
  width: 100%; aspect-ratio: 1; object-fit: contain; object-position: center center;
  border-radius: var(--radius-md); margin-bottom: 16px;
}
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-card .role { color: var(--yellow-dark); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--gray-medium); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.step {
  background: var(--white); padding: 32px; border-radius: var(--radius-md);
  border-left: 4px solid var(--yellow); position: relative;
}
.step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--yellow); color: var(--black);
  border-radius: 50%; font-weight: 800; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray-medium); font-size: 14px; }

/* CTA */
.cta-band {
  background: var(--black); color: var(--white); padding: 80px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { font-size: 18px; margin-bottom: 32px; opacity: 0.85; }
.cta-band .btn-primary { background: var(--yellow); color: var(--black); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.blog-card__image { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: 13px; color: var(--gray-medium); margin-bottom: 8px; }
.blog-card__title { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; flex: 1; }
.blog-card__excerpt { font-size: 14px; color: var(--gray-medium); margin-bottom: 16px; }
.blog-card__link { color: var(--black); font-weight: 600; font-size: 14px; }
.blog-card__link:hover { color: var(--yellow-dark); }

/* Article */
.article {
  max-width: 760px; margin: 0 auto; padding: 60px 24px;
}
.article__meta { color: var(--gray-medium); font-size: 14px; margin-bottom: 16px; }
.article h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.02em; }
.article h2 { font-size: 28px; font-weight: 700; margin: 40px 0 16px; }
.article h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.article p { margin-bottom: 18px; color: var(--gray-dark); font-size: 17px; }
.article ul, .article ol { margin: 16px 0 24px 24px; }
.article li { margin-bottom: 8px; color: var(--gray-dark); }
.article a { color: var(--yellow-dark); text-decoration: underline; }
.article figure { margin: 32px 0; }
.article img { border-radius: var(--radius-md); }

/* Forms */
.form-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 40px; border: 1px solid var(--gray-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
  background: var(--white); transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(246,190,11,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.form-status.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-status.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Contact info cards */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.contact-form-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--white); padding: 32px; border-radius: var(--radius-md);
  text-align: center; border: 1px solid var(--gray-light);
}
.contact-card h3 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--gray-medium); margin-bottom: 16px; font-size: 14px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light); padding: 20px 0;
}
.faq-item summary {
  font-weight: 600; font-size: 17px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; color: var(--yellow-dark); font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-top: 16px; color: var(--gray-medium); font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--black); color: var(--white); padding: 80px 0 32px;
}
.site-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px;
}
.site-footer h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 15px; }
.site-footer a { color: var(--white); opacity: 0.85; transition: opacity 0.2s; }
.site-footer a:hover { opacity: 1; color: var(--yellow); }
.site-footer__brand p { opacity: 0.75; max-width: 360px; font-size: 15px; margin-top: 16px; }
.site-footer__logo { height: 64px; margin-bottom: 8px; }
.site-footer__incorporating {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 28px 0 24px;
  display: flex; align-items: center;
}
.incorporating-label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.55; color: var(--white);
  white-space: nowrap; flex-shrink: 0; margin-right: 40px;
}
.incorporating-logos {
  display: flex; justify-content: space-evenly; align-items: center;
  flex: 1; flex-wrap: wrap; gap: 24px;
}
.incorporating-logo {
  height: 96px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.incorporating-logo:hover { opacity: 1; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 14px; opacity: 0.75;
}
.site-footer__bottom .legal a { margin-left: 24px; }

/* Top contact bar */
.top-bar {
  background: var(--black); color: var(--white); padding: 8px 0; font-size: 13px;
}
.top-bar__inner { display: flex; justify-content: flex-end; gap: 24px; }
.top-bar a { color: var(--yellow); }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner, .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) > div:first-child { order: 0; }
  .services-grid, .testimonials-grid, .blog-grid, .contact-cards, .steps, .partners {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-layout { grid-template-columns: 1fr; gap: 32px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--yellow); flex-direction: column; gap: 0;
    padding: 16px 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .site-header__cta { display: none; }
  .top-bar__inner { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .services-grid, .testimonials-grid, .blog-grid, .contact-cards, .steps, .partners {
    grid-template-columns: 1fr;
  }
  .site-footer__top { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 60px; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px 0; margin: 0;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--black);
}
.nav-dropdown__trigger:hover { opacity: 0.7; }
.nav-dropdown__trigger:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.nav-dropdown__trigger.active { position: relative; }
.nav-dropdown__trigger.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--white);
}
.nav-dropdown__trigger svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown__trigger svg,
.nav-dropdown.open .nav-dropdown__trigger svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14); min-width: 220px;
  padding: 16px 0 8px; list-style: none; z-index: 200;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
  margin-top: 0;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--white);
  border-top: none;
}
.nav-dropdown__menu a {
  display: block; padding: 11px 20px; font-size: 15px; font-weight: 500;
  color: var(--black); opacity: 1; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown__menu a:hover { background: var(--gray-light); color: var(--black); opacity: 1; }
.nav-dropdown__menu a.active { font-weight: 700; color: var(--yellow-dark); }

/* Mobile dropdown */
@media (max-width: 960px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger { width: 100%; padding: 12px 0; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .nav-dropdown__menu {
    position: static; transform: none; box-shadow: none; border-radius: 0;
    background: rgba(0,0,0,0.05); min-width: 0; width: 100%; padding: 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown__menu { display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-dropdown__menu::before { display: none; }
  .nav-dropdown__menu a { padding: 10px 16px; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 14px; white-space: normal; }
}

/* Service landing page */
.service-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.service-feature {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 24px; border: 1px solid var(--gray-light);
}
.service-feature h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.service-feature p { font-size: 14px; color: var(--gray-medium); margin: 0; }
@media (max-width: 960px) { .service-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-features { grid-template-columns: 1fr; } }

/* ===== FLOATING CONTACT BUTTONS ===== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.floating-contact__btn:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.floating-contact__btn--phone {
  background: var(--yellow);
}

.floating-contact__btn--email {
  background: var(--black);
}

.floating-contact__btn--whatsapp {
  background: #25d366;
}

.floating-contact__btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .floating-contact {
    bottom: 18px;
    left: 14px;
    gap: 10px;
  }
  .floating-contact__btn {
    width: 48px;
    height: 48px;
  }
  .floating-contact__btn svg {
    width: 22px;
    height: 22px;
  }
}
