/* ===================== AMSM L.L.C-FZ — Global Styles ===================== */

:root {
  --navy-950: #081a34;
  --navy-900: #0e2344;
  --navy-800: #13294f;
  --navy-700: #1b3a6b;
  --gold: #d4af37;
  --gold-light: #ecd487;
  --gold-dark: #a9832a;
  --gold-logo: #e8a42a;
  --white: #f7f6f2;
  --white-dim: rgba(247, 246, 242, 0.72);
  --white-faint: rgba(247, 246, 242, 0.45);
  --border-gold: rgba(212, 175, 55, 0.35);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --max-width: 1180px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1400px 900px at 100% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    var(--navy-950);
  background-size: auto, 60px 60px, 60px 60px, auto;
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

.eyebrow,
.hero-title em,
.hero-stat-value,
.activity-index,
.footer-col h4 {
  color: var(--gold-logo);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-lead {
  color: var(--white-dim);
  max-width: 680px;
  font-size: 1.05rem;
}

.gold-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 18px 0 26px;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  font-family: var(--font-sans);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-light); box-shadow: 0 14px 34px rgba(212, 175, 55, 0.55); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-gold);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 26, 52, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand-logo {
  height: 86px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-content .eyebrow { justify-content: center; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
}
.hero-title em {
  font-style: normal;
}
.hero-subtitle {
  color: var(--white-dim);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Hero stat squares ---------- */
.hero-stats {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.hero-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hero-stat:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.hero-stat:hover::before { transform: scaleX(1); }
.hero-stat .hero-stat-icon {
  width: 42px; height: 42px;
  margin: 0 auto 14px;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.hero-stat .hero-stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.hero-stat .hero-stat-label {
  color: var(--white-faint);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; position: relative; }
.section-alt {
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head .gold-divider { margin-left: auto; margin-right: auto; }
.section-head .section-lead { margin: 0 auto; }

/* ---------- Vision & Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.vm-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.vm-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.vm-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
}
.vm-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}
.vm-card h3 { font-size: 1.5rem; }
.vm-card p { color: var(--white-dim); margin: 0; }

/* ---------- About strip ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-strip p { color: var(--white-dim); margin-bottom: 16px; }

/* Decorative emblem replacing the old stat squares */
.about-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  outline: none;
}
.about-decor svg { width: 100%; max-width: 340px; height: auto; overflow: visible; }

.about-decor .decor-ring-outer,
.about-decor .decor-ring-mid,
.about-decor .decor-ring-inner,
.about-decor .decor-spokes,
.about-decor .decor-needle {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-decor:hover .decor-ring-outer,
.about-decor:focus-visible .decor-ring-outer,
.about-decor.active .decor-ring-outer {
  animation: decor-spin 14s linear infinite;
}
.about-decor:hover .decor-ring-mid,
.about-decor:focus-visible .decor-ring-mid,
.about-decor.active .decor-ring-mid {
  animation: decor-spin-reverse 10s linear infinite;
}
.about-decor:hover .decor-spokes,
.about-decor:focus-visible .decor-spokes,
.about-decor.active .decor-spokes {
  animation: decor-spin 18s linear infinite;
}
.about-decor:hover .decor-ring-inner,
.about-decor:focus-visible .decor-ring-inner,
.about-decor.active .decor-ring-inner {
  animation: decor-spin-reverse 7s linear infinite;
}
.about-decor:hover .decor-needle,
.about-decor:focus-visible .decor-needle,
.about-decor.active .decor-needle {
  animation: decor-needle-swing 2.4s ease-in-out infinite;
}

@keyframes decor-spin {
  to { transform: rotate(360deg); }
}
@keyframes decor-spin-reverse {
  to { transform: rotate(-360deg); }
}
@keyframes decor-needle-swing {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(190deg); }
  100% { transform: rotate(360deg); }
}

/* ---------- Contact ---------- */
.contact-solo {
  max-width: 800px;
  margin: 0 auto;
}
.contact-solo .contact-form-card {
  padding: 52px 56px;
}
.contact-form-card {
  background: var(--navy-800);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.method-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  background: var(--navy-950);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
}
.method-toggle button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--white-dim);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.25s ease;
}
.method-toggle button.active {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--white-faint); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.8rem;
  color: var(--white-faint);
  margin-top: 14px;
}
.form-note.hidden { display: none; }

/* ---------- Activities ---------- */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.activity-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.activity-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 24px 55px rgba(0,0,0,0.45); }
.activity-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(212,175,55,0.18);
  overflow: hidden;
}
.activity-media svg { width: 46%; height: 46%; color: var(--gold); opacity: 0.9; transition: transform 0.4s ease; }
.activity-card:hover .activity-media svg { transform: scale(1.08); }
.activity-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.activity-card:hover .activity-media img { transform: scale(1.06); }
.activity-media .ph-tag {
  position: absolute;
  bottom: 10px; right: 10px;
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(5,12,26,0.7);
  color: var(--white-faint);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.25);
}
.activity-body { padding: 24px 22px 28px; }
.activity-index {
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
}
.activity-body h3 { font-size: 1.18rem; margin: 8px 0 10px; }
.activity-body p { color: var(--white-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Sister companies ---------- */
.group-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.group-card {
  flex: 0 1 258px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  color: inherit;
}
a.group-card { cursor: pointer; }
a.group-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.group-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.group-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 24px 55px rgba(0,0,0,0.45); }
.group-card:hover::before { transform: scaleX(1); }
.group-logo {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(160deg, #eaf4fb, #d8ecf8);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 14px;
  padding: 18px;
}
.group-logo img {
  max-height: 100%;
  max-width: 92%;
  object-fit: contain;
}
.group-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.group-card p { color: var(--white-dim); font-size: 0.85rem; margin: 0; }
.group-visit {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s ease, gap 0.3s ease;
}
.group-visit svg { flex-shrink: 0; }
.group-card:hover .group-visit,
a.group-card:focus-visible .group-visit { opacity: 1; gap: 10px; }
.group-visit-soon {
  color: var(--white-faint);
  text-transform: none;
  letter-spacing: 0.4px;
  font-weight: 500;
  opacity: 1;
}
.group-branches {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.group-branches a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.group-branches a:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.group-branches svg { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 56px 0 28px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { height: 96px; width: auto; }
.footer-brand p { color: var(--white-faint); font-size: 0.88rem; max-width: 320px; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--white-faint); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--white); }
.footer-icon-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-icon-link svg { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--white-faint);
  font-size: 0.82rem;
}

/* ---------- Page header (activities page) ---------- */
.page-header {
  padding: 150px 0 70px;
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header .section-lead { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .vm-grid, .about-strip, .footer-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .group-card { flex-basis: calc(50% - 12px); }
  .about-strip { gap: 36px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 28px 20px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(212,175,55,0.08); }
  .nav-toggle { display: flex; }
  .brand-logo { height: 64px; }
}
@media (max-width: 760px) {
  .form-row { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .group-card { flex-basis: 100%; }
  .hero { padding: 100px 0 70px; }
  .hero-stats { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
