/* ============================================
   G-Elite Construction — Bold & Fun
   ============================================ */

:root {
  --black: #0c0c0c;
  --near-black: #141414;
  --dark: #1c1c1c;
  --gray-900: #2a2a2a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #c0c0c0;
  --gray-100: #f2f2f2;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --accent: #e8b923;
  --accent-hover: #d4a61a;
  --accent-soft: rgba(232, 185, 35, 0.15);
  --accent-glow: rgba(232, 185, 35, 0.35);
  --success: #2d6a4f;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;
  --max-width: 1180px;
}

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

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

/* Offset for fixed header when jumping to anchors */
section[id],
.quote {
  scroll-margin-top: 90px;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

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

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  padding: 0.65rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.logo-dark { display: none; }
.logo-white { display: block; }

/* When scrolled on light pages we keep white logo since header stays dark */
.header.scrolled .logo-img { height: 42px; }

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

.nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link.cta-nav {
  background: var(--accent);
  color: var(--black) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-link.cta-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(12,12,12,0.88) 0%, rgba(12,12,12,0.7) 45%, rgba(12,12,12,0.85) 100%),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -15%;
  right: -10%;
  opacity: 0.15;
  animation: floatShape 12s ease-in-out infinite;
}
.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: #ff6b00;
  bottom: 10%;
  left: -8%;
  opacity: 0.1;
  animation: floatShape 15s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 5rem;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--black);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee-track .dot {
  color: var(--accent);
  font-size: 0.7rem;
  align-self: center;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section Common ---------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--black);
  line-height: 1.15;
}

.section-desc {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services {
  padding: 6rem 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(232,185,35,0.25);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(0,0,0,0.06);
  letter-spacing: 0.02em;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 1.15rem;
  transition: all var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--black);
  transform: scale(1.08);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-link:hover { color: var(--accent-hover); }

/* ---------- About ---------- */
.about {
  padding: 6.5rem 0;
  background: var(--white);
}

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

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-float-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon { font-size: 1.6rem; }
.about-float-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
}
.about-float-card span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.about-content .section-title { text-align: left; }
.about-content .section-eyebrow { text-align: left; }

.about-content > p {
  color: var(--gray-500);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
  color: var(--black);
}
.feature p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 6rem 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--black);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}
.cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
}

/* ---------- Quote ---------- */
.quote {
  padding: 6rem 0;
  background: var(--white);
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.quote-info .section-title { text-align: left; }
.quote-info .section-eyebrow { text-align: left; }

.quote-info > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
}

a.contact-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 0.1rem;
}
.contact-card span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
}

/* Form */
.quote-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

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

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--near-black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  color: var(--near-black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23444' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.hidden { display: none !important; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-contact a {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { order: -1; }
  .about-image-wrap img { height: 360px; }

  .quote-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item--wide { grid-column: span 2; }

  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 82vw);
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -12px 0 40px rgba(0,0,0,0.5);
  }
  .nav.open { right: 0; }

  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; max-width: 280px; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item--large,
  .gallery-item--wide { grid-column: span 1; }

  .quote-wrapper { padding: 1.5rem; }
  .quote-form { padding: 1.5rem; }

  .hero-title { font-size: 2.4rem; }
}


/* ---------- Success Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay[hidden]:not(.is-open) {
  display: none !important;
}
.modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(232, 185, 35, 0.15);
  color: #c9a227;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}
.modal-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
  color: #0a0a0a;
}
.modal-card p {
  color: #777;
  margin-bottom: 1.75rem;
  line-height: 1.55;
  font-size: 1rem;
}
