/* ═══════════════════════════════════════════════
   DOGMA PLUS – CSS
   ═══════════════════════════════════════════════ */

:root {
  --pink:       #E8336A;
  --pink-dark:  #c4204f;
  --pink-light: #fce8ef;
  --black:      #111111;
  --dark:       #1c1c1e;
  --mid:        #4a4a55;
  --muted:      #8a8a96;
  --border:     #e4e4ec;
  --bg:         #fafafa;
  --white:      #ffffff;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── SECTION HELPERS ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}
.section-label.light { color: rgba(255,255,255,.55); }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 2.5rem;
}
.section-title.light { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,51,106,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 44px;
  width: auto;
  transition: var(--transition);
}

/* ── TYPOGRAPHIC LOGO MARK (no image, no white bg) ── */
.logo-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
  line-height: 1;
}

/* Name row – both spans are inline, they flow as one line.
   The flex column puts them above the tagline. */
.logo-name-row {
  display: block;
  white-space: nowrap;
  line-height: 1;
}

.logo-dogma {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  color: var(--pink);
  display: inline;
}

.logo-plus {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  color: var(--white);
  display: inline;
}

/* scrolled state */
.navbar.scrolled .logo-plus {
  color: var(--black);
}

.logo-tag {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  line-height: 1;
}

.navbar.scrolled .logo-tag {
  color: var(--muted);
}

/* Footer logo variant */
.footer-logo-mark { display: flex; flex-direction: column; gap: 0; }
.logo-plus-footer {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.85);
  line-height: 1;
  display: inline;
}
.footer-tag {
  color: rgba(255,255,255,.28) !important;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover::after { transform: scaleX(1); }

.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover { color: var(--pink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  padding: .25rem .3rem;
}

.lang-btn.active { color: var(--white); }
.lang-btn img { width: 18px; height: 13px; border-radius: 2px; }

.navbar.scrolled .lang-btn { color: var(--muted); }
.navbar.scrolled .lang-btn.active { color: var(--dark); }

.lang-sep { color: rgba(255,255,255,.3); font-size: .7rem; }
.navbar.scrolled .lang-sep { color: var(--border); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-hamburger span { background: var(--dark); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Reception Visual */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f0f5 0%, #e8e8f0 40%, #dcdce8 100%);
}

.reception-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Floor */
.reception-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, #d8d8e4 0%, #e8e8f0 60%, transparent 100%);
}

/* Desk */
.reception-desk {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 80px;
  background: linear-gradient(to bottom, #f8f8ff 0%, #dcdce8 100%);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.8);
}
.reception-desk::before {
  content: '';
  position: absolute;
  top: 8px; left: 12px; right: 12px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(232,51,106,.25), transparent);
  border-radius: 2px;
}

/* Side panels */
.reception-panel {
  position: absolute;
  bottom: 0;
  width: 200px;
  height: 75%;
  background: linear-gradient(to right, #e4e4f0, #ececf4);
  border-radius: 6px 6px 0 0;
}
.reception-panel.left {
  left: 50%;
  margin-left: -360px;
  background: linear-gradient(to right, #d8d8e8, #e4e4f0);
}
.reception-panel.right {
  right: 50%;
  margin-right: -360px;
  background: linear-gradient(to left, #d8d8e8, #e4e4f0);
}
.reception-panel::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: rgba(232,51,106,.2);
  border-radius: 1px;
}

/* Ceiling lights */
.reception-light {
  position: absolute;
  top: 0;
  width: 3px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,230,200,.8) 50%, rgba(255,230,200,0) 100%);
  opacity: .7;
}
.reception-light.l1 { left: 35%; height: 65%; }
.reception-light.l2 { left: 50%; height: 72%; }
.reception-light.l3 { left: 65%; height: 65%; }

.reception-light::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: rgba(255,220,180,.5);
}

/* Logo on wall */
.reception-logo-wall {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -.02em;
  line-height: 1;
  opacity: .08;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.rw-dogma { color: var(--pink); }
.rw-plus  { color: var(--black); }

/* Overlay gradient for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,20,30,.72) 0%, rgba(20,20,30,.45) 50%, rgba(20,20,30,.15) 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 72px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
  animation: fadeUp .7s .2s both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: .95;
  margin-bottom: .6rem;
  animation: fadeUp .7s .35s both;
}
.hl-dogma { color: var(--pink); }
.hl-plus  { color: var(--white); }

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  animation: fadeUp .7s .45s both;
}

.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp .7s .55s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .7s .65s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.6));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-item span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services {
  padding: 7rem 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.srv-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.srv-card:hover::before { transform: scaleX(1); }

.srv-icon {
  width: 48px;
  height: 48px;
  background: var(--pink-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--pink);
}
.srv-icon svg { width: 24px; height: 24px; }

.srv-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.srv-card p {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
.about {
  padding: 7rem 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-text .btn { margin-top: .75rem; }

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

.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.about-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--pink-light);
}

.ac-icon { width: 56px; height: 56px; margin: 0 auto 1rem; }
.ac-icon svg { width: 100%; height: 100%; }

.about-card strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.4;
  display: block;
}

/* ═══════════════════════════════════════════════
   REGULATION
   ═══════════════════════════════════════════════ */
.regulation {
  padding: 7rem 0;
  background: linear-gradient(135deg, #1c1c2e 0%, #2a1a2e 50%, #1c2030 100%);
  position: relative;
  overflow: hidden;
}

.regulation::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,51,106,.12) 0%, transparent 70%);
  pointer-events: none;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.reg-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
}
.reg-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(232,51,106,.4);
  transform: translateY(-4px);
}

.reg-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: .6rem;
}

.reg-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.reg-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
.contact {
  padding: 7rem 0;
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-left p {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: .85rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--dark);
  font-size: .95rem;
}
.contact-item svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--pink);
}
.contact-item a:hover { color: var(--pink); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232,51,106,.1);
  background: var(--white);
}

.contact-form .btn { width: 100%; text-align: center; margin-bottom: .75rem; }

.form-note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo-mark {
  margin-bottom: .5rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: .18em;
  font-size: .8rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--pink); }

.footer-col address {
  font-style: normal;
  font-size: .85rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
}
.footer-col address a:hover { color: var(--pink); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Scroll-triggered fade */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem 2rem;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark) !important; font-size: 1.1rem; }
  .nav-hamburger { display: flex; }

  .hero-content { padding-top: 100px; }
  .hero-cta { flex-direction: column; max-width: 280px; }

  .stats-inner { flex-wrap: wrap; gap: 1.5rem; justify-content: flex-start; padding: 2rem; }
  .stat-item { flex: 1; min-width: 120px; }
  .stat-div { display: none; }

  .services { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { grid-template-columns: 1fr 1fr; }

  .reg-grid { grid-template-columns: 1fr 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .brand-col { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem 1.5rem; }
  .reception-panel { display: none; }
}
