/* ========================================
   Pedol Group — Dark Luxury Minimalism
   ======================================== */

:root {
  --bg:       #0a0a0a;
  --bg-alt:   #111;
  --bg-card:  #161616;
  --gold:     #c8a55a;
  --gold-dim: rgba(200, 165, 90, .15);
  --text:     #e0e0e0;
  --text-dim: #888;
  --white:    #fff;
  --radius:   8px;
  --ease:     cubic-bezier(.25, .46, .45, .94);
}

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

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--white); }

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .6rem 0;
  box-shadow: 0 1px 0 rgba(200, 165, 90, .1);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 32px; width: auto; }

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dim);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s var(--ease);
  position: absolute;
  left: 0;
}

.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after  { content: ''; top: 8px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: .5rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,.7);
  font-weight: 300;
  margin-bottom: 2rem;
}

.btn-outline {
  display: inline-block;
  padding: .85rem 2.5rem;
  border: 1px solid rgba(200, 165, 90, .5);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all .3s var(--ease);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ── Sections ── */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-dark {
  background-size: cover;
  background-position: center;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.section-dark > .container { position: relative; z-index: 1; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 2.5rem;
}

.section-intro {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  border-radius: var(--radius);
  object-fit: cover;
  height: 100%;
}

/* ── Expertise ── */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.expertise-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.expertise-images img {
  border-radius: var(--radius);
  object-fit: cover;
  height: 100%;
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.accordion-item summary {
  padding: 1.1rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s var(--ease);
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .3s var(--ease);
}

.accordion-item[open] summary::after {
  content: '−';
}

.accordion-item[open] summary {
  color: var(--gold);
}

.accordion-item p {
  padding: 0 0 1.25rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Companies ── */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.company-card {
  background: #f2efe9;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(200, 165, 90, .12);
  color: #1a1a1a;
}

.company-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  border-radius: 50%;
}

.company-card h3 {
  font-size: .95rem;
  font-weight: 600;
  color: #111;
  margin-bottom: .35rem;
}

.company-card p {
  font-size: .8rem;
  color: #666;
  margin: 0;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.contact-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
}

.contact-item > span:last-child {
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}

.site-footer p {
  font-size: .8rem;
  color: var(--text-dim);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .nav-link { font-size: 1.2rem; }

  .about-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .companies-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
