/* ============================================================
   ELITE DYNASTY — Unified Royal Theme
   Royal Gold / Black / Ivory — Majestic & Elegant
   ============================================================ */

/* --- Google Fonts import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --royal-black: #0a0a0a;
  --royal-dark: #111111;
  --royal-panel: #161616;
  --royal-border: #2a2a2a;
  --royal-gold: #c9a84c;
  --royal-gold-light: #e4c76b;
  --royal-gold-dark: #8b6914;
  --royal-gold-glow: rgba(201, 168, 76, 0.15);
  --royal-gold-border: rgba(201, 168, 76, 0.25);
  --royal-ivory: #f5eed6;
  --royal-muted: #bfb89a;
  --royal-text: #e8e2d0;
  --royal-white: #ffffff;
  --royal-green: #2ecc71;
  --royal-cyan: #1abc9c;
  --royal-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --royal-shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.12);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --max-width: 1080px;
  --section-pad: clamp(48px, 8vw, 96px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--royal-black);
  color: var(--royal-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--royal-gold);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--royal-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- External Images - Prevent Overflow & Maintain Scale --- */
img[src^="http"],
img[src^="//"] {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Container images - fill parent */
.card img,
.highlight-box img,
.body-text img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Center emblem - responsive but capped */
.center-emblem img {
  margin: 0 auto;
  max-width: min(100%, 320px);
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--royal-gold-border);
  box-shadow: var(--royal-shadow-gold);
}

ul, ol {
  padding-left: 1.5em;
}

/* --- Layout Container --- */
.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

/* --- Decorative Gold Line --- */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
  margin: 2em 0;
}

.gold-rule--short {
  width: 120px;
  margin: 1.5em auto;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: linear-gradient(180deg, #000000 0%, var(--royal-dark) 100%);
  border-bottom: 1px solid var(--royal-gold-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-header__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--royal-gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.25);
  object-fit: cover;
}

.site-header__site-name {
  font-family: var(--font-heading);
  font-size: clamp(12px, 2vw, 16px);
  color: var(--royal-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Search Bar --- */
.site-header__search {
  position: relative;
  flex: 1 1 auto;
  max-width: 320px;
  min-width: 200px;
}

.site-header__search-input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  background: var(--royal-dark);
  border: 1px solid var(--royal-gold-border);
  border-radius: 24px;
  color: var(--royal-text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header__search-input::placeholder {
  color: var(--royal-muted);
  opacity: 0.7;
}

.site-header__search-input:focus {
  border-color: var(--royal-gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.25);
}

.site-header__search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--royal-gold);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  color: var(--royal-black);
  font-size: 14px;
}

.site-header__search-btn:hover {
  background: var(--royal-gold-light);
  transform: translateY(-50%) scale(1.05);
}

.site-header__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--royal-muted);
  transition: color 0.3s;
}

.site-header__contact-link:hover {
  color: var(--royal-gold-light);
}

.site-header__contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.site-header__contact-icon--whatsapp {
  border: 2px solid var(--royal-green);
  color: var(--royal-green);
}

.site-header__contact-icon--email {
  border: 2px solid var(--royal-cyan);
  color: var(--royal-cyan);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--royal-dark);
  border-bottom: 1px solid var(--royal-border);
  padding: 0;
  overflow-x: auto;
}

.site-nav .container {
  display: flex;
  justify-content: center;
  gap: 0;
}

.site-nav__link {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--royal-muted);
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--royal-gold);
  transition: transform 0.3s ease;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--royal-gold);
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad) 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.35;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero__welcome {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 16px);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--royal-gold);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: var(--royal-white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.2);
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 32px);
  color: var(--royal-gold);
  margin-top: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__desc {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--royal-ivory);
  margin-top: 24px;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--royal-gold-dark), var(--royal-gold), var(--royal-gold-light));
  color: var(--royal-black);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
  color: var(--royal-black);
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--dark {
  background: var(--royal-black);
}

.section--panel {
  background: var(--royal-dark);
}

.section--rich {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
    var(--royal-panel);
}

.section--hero-bg {
  position: relative;
  overflow: hidden;
}

.section__bg-image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  z-index: 0;
}

.section__inner {
  position: relative;
  z-index: 1;
}

/* --- Section Headings --- */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--royal-gold);
  margin-bottom: 12px;
}

.section-heading__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--royal-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.section-heading__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--royal-gold);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-heading__rule {
  border: none;
  height: 2px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
  margin: 20px auto 0;
}

/* --- Body Copy --- */
.body-text {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.75;
  color: var(--royal-text);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.body-text--center {
  text-align: center;
}

.body-text + .body-text {
  margin-top: 1.4em;
}

.body-text strong {
  color: var(--royal-gold);
}

/* --- Cards --- */
.card-grid {
  display: grid;
  gap: 28px;
}

.card-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--royal-panel);
  border: 1px solid var(--royal-gold-border);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-gold-dark), var(--royal-gold), var(--royal-gold-dark));
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--royal-shadow-gold);
}

.card:hover::before {
  opacity: 1;
}

.card__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--royal-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.card__text {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--royal-text);
}

.card__text ul,
.card__text ol {
  margin-top: 12px;
}

.card__text li {
  margin-bottom: 6px;
}

/* --- Image Cards --- */
.image-card {
  background: var(--royal-panel);
  border: 1px solid var(--royal-gold-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.image-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--royal-shadow-gold);
}

.image-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #111;
}

.image-card__caption {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--royal-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Feature Blocks (icon left, text right) --- */
.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--royal-border);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row__img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border: 1px solid var(--royal-gold-border);
}

.feature-row__body h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--royal-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-row__body p {
  color: var(--royal-text);
}

/* --- Blockquote / Highlight --- */
.highlight-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border-left: 3px solid var(--royal-gold);
  padding: 28px 32px;
  margin: 2em 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: var(--royal-ivory);
  font-style: italic;
}

.highlight-box .triangle {
  color: var(--royal-gold);
  font-style: normal;
}

/* --- Centered icon/image block --- */
.center-emblem {
  text-align: center;
  padding: 24px 0;
}

.center-emblem img {
  margin: 0 auto;
  max-width: 220px;
  border: 1px solid var(--royal-gold-border);
  box-shadow: var(--royal-shadow-gold);
}

/* ============================================================
   FORMS
   ============================================================ */
.elite-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  background: var(--royal-panel);
  border: 1px solid var(--royal-gold-border);
  box-shadow: var(--royal-shadow);
}

.elite-form__heading {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--royal-gold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.elite-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.elite-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.elite-form__field--full {
  grid-column: 1 / -1;
}

.elite-form__label {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--royal-gold);
}

.elite-form__input,
.elite-form__textarea {
  background: var(--royal-dark);
  border: 1px solid var(--royal-border);
  color: var(--royal-text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s;
}

.elite-form__input:focus,
.elite-form__textarea:focus {
  border-color: var(--royal-gold);
  box-shadow: 0 0 0 2px var(--royal-gold-glow);
}

.elite-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.elite-form__submit {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--royal-gold-dark), var(--royal-gold));
  color: var(--royal-black);
  font-family: var(--font-heading);
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  min-height: 48px;
}

.elite-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

/* --- Phone Field with Country Code --- */
.elite-form__phone-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.elite-form__country {
  flex: 0 0 auto;
  width: auto;
  max-width: 120px;
  min-width: 80px;
}

.elite-form__country .elite-form__input {
  padding: 12px 8px;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.elite-form__phone {
  flex: 1 1 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--royal-dark) 0%, #000 100%);
  border-top: 1px solid var(--royal-gold-border);
  padding: 56px 0 40px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--royal-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__link {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--royal-muted);
  transition: color 0.3s;
}

.site-footer__link:hover {
  color: var(--royal-gold);
}

.site-footer__copyright {
  margin-top: 32px;
  font-size: 14px;
  color: var(--royal-muted);
  opacity: 0.7;
}

/* ============================================================
   MOBILE HAMBURGER MENU
   ============================================================ */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--royal-gold-border);
  color: var(--royal-gold);
  padding: 8px 12px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .site-header__search {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }

  .site-header__contacts {
    justify-content: center;
  }

  .site-nav .container {
    justify-content: flex-start;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__links {
    align-items: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-row__img {
    margin: 0 auto;
  }

  .elite-form__grid {
    grid-template-columns: 1fr;
  }

  .elite-form__field--full {
    grid-column: 1;
  }

  .elite-form__submit {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .site-header__contacts {
    flex-direction: column;
    gap: 8px;
  }

  .site-nav__link {
    padding: 12px 14px;
    font-size: 11px;
  }

  .hero {
    min-height: 400px;
  }

  .card {
    padding: 24px;
  }

  .elite-form {
    padding: 20px;
    margin: 0 10px;
    width: calc(100% - 20px);
  }

  .elite-form__grid {
    gap: 14px;
  }

  .elite-form__input,
  .elite-form__textarea {
    padding: 14px 12px;
    font-size: 16px;
    min-height: 44px;
  }

  .elite-form__phone-row {
    flex-direction: column;
    gap: 8px;
  }

  .elite-form__country {
    width: 100%;
    min-width: unset;
  }

  .elite-form__phone {
    width: 100%;
  }

  .highlight-box {
    padding: 20px 16px;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-gold { color: var(--royal-gold); }
.text-white { color: var(--royal-white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }

/* --- Image Utilities --- */
.no-border {
  border: none !important;
  box-shadow: none !important;
}
