/* ==================== GLOBAL STYLES - Agentur Circle ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* CI Colors: Shark + Aths Special */
  --shark: #28282B;
  --aths: #EAE3CC;
  --primary: #28282B;
  --primary-hover: #3a3a3e;
  --secondary: #28282B;
  --dark: #1a1a1c;
  --dark-mid: #28282B;
  --gold: #EAE3CC;
  --gold-light: #f0ead6;
  --gray: #777;
  --gray-light: #999;
  --light-bg: #EAE3CC;
  --white: #ffffff;
  --off-white: #f5f2e9;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark-mid);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.6s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--dark); color: var(--gold); }
.btn-primary:hover { background: var(--dark-mid); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(40, 40, 43, 0.35); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-mid); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-white { background: var(--white); color: var(--dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.3); }
.btn-outline-dark { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s;
}
header.scrolled {
  background: rgba(26, 26, 28, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
header.header-dark {
  background: var(--dark);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.logo img { height: 60px; }
nav ul { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.3s; letter-spacing: 0.5px; }
nav a:hover { color: var(--white); }
nav a.active { color: var(--gold); }
nav a.nav-cta {
  background: var(--gold); color: var(--dark);
  padding: 10px 24px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; font-size: 12px;
}
nav a.nav-cta:hover { background: var(--white); }
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  display: none; position: absolute; top: 100%; left: -16px;
  background: var(--dark); border: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0; min-width: 200px; margin-top: 16px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 24px; font-size: 13px; }
.dropdown a:hover { color: var(--gold); }
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 8px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* ===== PAGE HERO (Subpages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(234, 227, 204, 0.04) 0%, transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero .section-label { margin-bottom: 24px; }

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--shark);
  margin-bottom: 20px; display: inline-block; position: relative;
}
/* On dark backgrounds, labels use Aths Special */
.dark-bg .section-label,
.cta-section .section-label,
.page-hero .section-label { color: var(--aths); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.15;
}
.section-subtitle {
  font-size: 17px; color: var(--gray);
  line-height: 1.7; max-width: 560px; margin-top: 20px;
}
.divider { width: 60px; height: 2px; background: var(--shark); margin-top: 28px; }
.dark-bg .divider,
.cta-section .divider { background: var(--aths); }
.divider-center { margin-left: auto; margin-right: auto; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 140px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(234, 227, 204, 0.06) 0%, transparent 50%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 24px; max-width: 680px;
  margin-left: auto; margin-right: auto;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.55);
  max-width: 520px; margin: 0 auto 44px; line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255, 255, 255, 0.5);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img { height: 50px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 13px; color: rgba(255,255,255,0.4);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
footer h4 {
  color: var(--white); font-family: var(--font-heading);
  font-size: 15px; font-weight: 700;
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.footer-contact-icon { color: var(--gold); font-size: 10px; margin-top: 5px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); color: var(--white);
  font-size: 14px; font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }
.newsletter-form button {
  padding: 13px 24px; background: var(--gold); color: var(--dark);
  border: none; font-weight: 700; font-size: 12px; cursor: pointer;
  font-family: var(--font-body); letter-spacing: 1px;
  text-transform: uppercase; transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--gold-light); }
.footer-bottom {
  text-align: center; padding: 24px 0;
  font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.5px;
}

/* ===== CONTENT SECTIONS (Subpages) ===== */
.content-section {
  padding: 100px 0;
}
.content-section.alt-bg {
  background: var(--off-white);
}
.content-section.dark-bg {
  background: var(--dark);
  color: var(--white);
}
.content-section.dark-bg .section-title { color: var(--white); }
.content-section.dark-bg p { color: rgba(255,255,255,0.6); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.content-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--dark);
}
.content-text p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.85;
  margin-top: 20px;
}
.content-text .btn { margin-top: 32px; }
.content-image img {
  width: 100%;
  object-fit: cover;
}
.content-image.framed { position: relative; }
.content-image.framed::after {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--shark);
  z-index: -1; opacity: 0.15;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 44px 32px;
  border: 1px solid #e8e6e0;
  background: var(--white);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--shark);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border-color: transparent;
}

.card-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.08);
}
.card-dark:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(234,227,204,0.3);
}
.card-dark .card-link { color: var(--aths); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.5); }

.card-icon {
  font-size: 32px;
  color: var(--shark);
  margin-bottom: 24px;
}
.card-dark .card-icon { color: var(--aths); }
.card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}
.card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
  transition: gap 0.3s;
}
.card-link:hover { gap: 14px; }
.card-link::after { content: '\2192'; font-size: 16px; }

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.team-member { text-align: center; }
.team-member img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(30%);
  transition: filter 0.4s;
}
.team-member:hover img { filter: grayscale(0); }
.team-member h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-member span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Blog / Insights Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border: 1px solid #e8e6e0;
  transition: all 0.4s;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border-color: transparent;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s;
}
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shark);
  margin-bottom: 12px;
  display: block;
}
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.blog-card-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.blog-card-link:hover { gap: 12px; }
.blog-card-link::after { content: '\2192'; }

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  color: var(--shark);
  font-size: 18px;
  margin-top: 2px;
}
.contact-detail strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-detail span, .contact-detail a {
  font-size: 15px;
  color: var(--gray);
}
.contact-detail a:hover { color: var(--shark); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0ddd5;
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--shark);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Legal pages */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 5%;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 48px 0 16px;
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}
.legal-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}
.legal-content li {
  list-style: disc;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--shark);
  text-decoration: underline;
  transition: color 0.3s;
}
.legal-content a:hover { color: var(--gray); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-grid.reverse { direction: ltr; }
  .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .mobile-toggle { display: flex; }
  nav.active ul {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); padding: 24px 5%;
    border-top: 1px solid rgba(255,255,255,0.06); gap: 16px;
  }
  .page-hero { padding: 120px 0 60px; }
  .content-section { padding: 70px 0; }
  .cards-grid.cols-2,
  .cards-grid.cols-3,
  .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .content-image.framed::after { display: none; }
}

@media (max-width: 480px) {
  .btn { width: 100%; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
}
