:root {
  --bg: #faf8f3;
  --bg-glow: #ffffff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --gold: #b18631;
  --gold-deep: #8c6620;
  --gold-soft: rgba(177, 134, 49, 0.14);
  --gold-border: rgba(177, 134, 49, 0.24);
  --gold-border-strong: rgba(177, 134, 49, 0.5);
  --ink: #161513;
  --ink-secondary: #4e4a43;
  --ink-muted: #7c766c;
  --shadow-card: 0 24px 64px -24px rgba(34, 27, 14, 0.08), 0 2px 10px -2px rgba(34, 27, 14, 0.04);
  --shadow-hover: 0 12px 30px -12px rgba(140, 102, 32, 0.16);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(250, 248, 243, 0) 75%),
    radial-gradient(circle at 85% 15%, rgba(177, 134, 49, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(177, 134, 49, 0.06) 0%, transparent 45%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Architectural Padel Court Line Background */
.court-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: rgba(177, 134, 49, 0.11);
  overflow: hidden;
}

.court-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Page Shell */
.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 48px);
}

/* Top Bar */
.top-bar {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.domain-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: color 0.2s ease;
}

.domain-tag:hover {
  color: var(--gold-deep);
}

.domain-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(177, 134, 49, 0.16);
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(34, 27, 14, 0.04);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.lang-btn:hover:not(.is-active) {
  color: var(--ink);
}

.lang-btn.is-active {
  background-color: var(--ink);
  color: #faf8f3;
  box-shadow: 0 2px 6px rgba(22, 21, 19, 0.16);
}

.lang-btn:focus-visible,
.contact-main:focus-visible,
.copy-btn:focus-visible,
.contact-card--link:focus-visible,
.domain-tag:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Main Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vh, 32px) 0;
}

.hero-card {
  width: 100%;
  max-width: 840px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vh, 48px) clamp(22px, 4vw, 48px);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Subtle gold inner top accent */
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(18px, 3vh, 26px);
}

.brand-logo {
  display: block;
  width: min(320px, 82%);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hairline Divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto clamp(16px, 2.5vh, 22px);
  max-width: 220px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border-strong), transparent);
}

.divider-diamond {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Typography */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.headline {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.subcopy {
  margin: 0 auto clamp(24px, 3.5vh, 34px);
  max-width: 560px;
  font-size: clamp(0.9375rem, 1.4vw, 1.015rem);
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-card:hover {
  border-color: var(--gold-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.contact-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card:hover .contact-icon {
  background: var(--gold);
  color: #ffffff;
}

.contact-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* Copy Button (compact icon with feedback badge) */
.copy-btn {
  position: relative;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--gold-border);
  background: var(--bg);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0 9px;
  border-radius: 9px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.copy-btn .icon-check {
  display: none;
}

.copy-btn .copy-label {
  display: none;
}

.copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: #ffffff;
}

.copy-btn.is-copied {
  background: var(--ink);
  border-color: var(--ink);
  color: #faf8f3;
  padding: 0 10px;
}

.copy-btn.is-copied .icon-copy {
  display: none;
}

.copy-btn.is-copied .icon-check {
  display: block;
}

.copy-btn.is-copied .copy-label {
  display: inline;
}

/* External Arrow */
.external-arrow {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.22s ease, color 0.22s ease;
}

.external-arrow svg {
  width: 17px;
  height: 17px;
}

.contact-card--link:hover .external-arrow {
  color: var(--gold-deep);
  transform: translate(2px, -2px);
}

/* Footer */
.footer {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.footer-sep {
  color: var(--gold);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    border-radius: 20px;
  }

  .brand-logo {
    width: min(290px, 88%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none;
  }

  .contact-card,
  .contact-icon,
  .external-arrow,
  .lang-btn,
  .copy-btn {
    transition: none;
  }
}
