:root {
  --color-bg: #05070a;
  --color-surface: #12161d;
  --color-primary: #3b82f6;
  --color-primary-dark: #1d4ed8;
  --color-accent: #60a5fa;
  --color-heading: #f4f6f8;
  --color-text: #e7ebf0;
  --color-text-muted: #97a3b5;
  --color-border: #232a35;
  --color-success: #34d399;
  --color-error: #f87171;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --max-width: 1080px;
  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-primary);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
}

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

/* Header / nav */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-heading);
}

.brand span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-heading);
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--color-border);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }

  .main-nav li {
    padding: 10px 0;
  }

  .site-header .container {
    flex-wrap: wrap;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1eb959;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero */

.hero {
  padding: 72px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
}

.photo-placeholder:has(img:not([hidden])) {
  background: transparent;
}

.photo-placeholder:not(:has(img:not([hidden]))) {
  background: linear-gradient(135deg, #1e293b, var(--color-primary));
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}

.photo-placeholder img {
  width: min(320px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-fallback {
  padding: 24px;
}

/* Sections & cards */

section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.link-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.link-card p {
  margin: 0;
  font-size: 0.9rem;
}

.link-card-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
}

.link-card-icon.whatsapp-icon {
  background: #25d366;
}

.link-card-icon.youtube-icon {
  background: #ff0000;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.callout {
  background: #0d1b2e;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

/* Forms */

form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  color: var(--color-text);
}

input::placeholder, textarea::placeholder {
  color: var(--color-text-muted);
}

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

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

/* Room link box */

.room-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.room-link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.room-link-row input {
  flex: 1;
  min-width: 220px;
}

.status-message {
  margin-top: 16px;
  font-size: 0.95rem;
}

.status-message.error {
  color: var(--color-error);
}

.status-message.success {
  color: var(--color-success);
}

.status-message.loading {
  color: var(--color-primary);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Call page */

.call-shell {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.call-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  background: #000;
}

#call-frame {
  width: 100%;
  height: 70vh;
  min-height: 420px;
}

.call-shell:fullscreen,
.call-shell:-webkit-full-screen {
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.call-shell:fullscreen #call-frame,
.call-shell:-webkit-full-screen #call-frame {
  height: auto;
  flex: 1;
}

.waiting-panel {
  text-align: center;
  padding: 64px 24px;
}

/* Footer */

.site-footer {
  background: #03050a;
  border-top: 1px solid var(--color-border);
  color: #c3ccd8;
  padding: 40px 0;
  margin-top: 64px;
}

.site-footer a {
  color: #fff;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.8;
}
