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

:root {
  --page-bg: linear-gradient(135deg, #f1f0f0 0%, #e4e2e0 100%);
  --text-primary: #121212;
  --accent: #ffd700;
  --card-glass-light: rgba(255, 255, 255, 0.18);
  --card-glass-dark: rgba(12, 12, 12, 0.58);
  --card-border-light: rgba(255, 255, 255, 0.22);
  --card-border-dark: rgba(255, 255, 255, 0.24);
  --shadow-soft: 0 26px 46px rgba(17, 17, 17, 0.08);
  --shadow-strong: 0 30px 56px rgba(0, 0, 0, 0.18);
}

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

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 160% at 78% -20%, rgba(17,17,17,0.04), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(245,244,240,0.18) 55%, rgba(233,231,228,0.3) 100%);
}

#container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  flex: 1 0 auto;
}

.contact-hero {
  max-width: 960px;
  margin: 90px auto 48px;
  padding: clamp(32px, 10vw, 56px);
  border-radius: 28px;
  background: var(--card-glass-light);
  border: 1px solid var(--card-border-light);
  backdrop-filter: blur(4px);
  box-shadow: 0 28px 56px rgba(17, 17, 17, 0.06);
  text-align: center;
}

.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.68);
}

.contact-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.contact-hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.78);
}

.contact-hero__chips {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
  letter-spacing: 0.02em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  max-width: 1024px;
  padding: 0 24px 96px;
  margin: 0 auto;
}

.contact-card {
  grid-column: span 6;
  position: relative;
  padding: clamp(24px, 6vw, 36px);
  border-radius: 24px;
  background: var(--card-glass-light);
  border: 1px solid var(--card-border-light);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,255,255,0.2), transparent 70%);
  pointer-events: none;
}

.contact-card--highlight {
  background: var(--card-glass-dark);
  color: rgba(255,255,255,0.92);
  border: 1px solid var(--card-border-dark);
  box-shadow: var(--shadow-strong);
}

.contact-card--highlight::after {
  background: linear-gradient(150deg, rgba(255,255,255,0.26), transparent 70%);
}

.contact-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.contact-card p {
  margin: 0 0 18px;
  color: rgba(17, 17, 17, 0.75);
  line-height: 1.6;
}

.contact-card--highlight p {
  color: rgba(255,255,255,0.82);
}

.contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.98rem;
  color: rgba(17,17,17,0.84);
}

.contact-card--highlight .contact-list li {
  color: rgba(255,255,255,0.82);
}

.contact-list span {
  min-width: 96px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(17,17,17,0.64);
}

.contact-card--highlight .contact-list span {
  color: rgba(255,255,255,0.55);
}

.contact-card a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-card a:hover {
  border-bottom-color: currentColor;
}

.contact-card-note {
  margin: 24px 0 0;
  font-weight: 600;
  color: rgba(17,17,17,0.75);
}

.contact-links {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-links li {
  display: flex;
}

.contact-links a {
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-card--highlight .contact-links a {
  color: rgba(255,255,255,0.86);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.85);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.contact-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.contact-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0,0,0,0.14);
}

.contact-pill:hover::after {
  opacity: 1;
}

.contact-pill--dark {
  background: #000;
  color: #fff;
}

.calendar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 20px;
  background: radial-gradient(circle at top right, rgba(17,17,17,0.02), transparent);
  margin: 0 auto clamp(96px, 12vw, 150px);
  max-width: 1200px;
}

.calendar-card {
  width: 100%;
  max-width: 880px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  border: 1px solid var(--card-border-light);
  box-shadow: 0 22px 42px rgba(17,17,17,0.08);
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
  transform-origin: center;
  backdrop-filter: blur(3px);
}

.calendar-header {
  text-align: center;
  padding: 40px 24px 20px;
}

.calendly-inline-widget {
  width: 100%;
  height: 740px;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.02);
}

.calendar-footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to top, rgba(255,255,255,0.42), rgba(255,255,255,0.08));
}

.calendar-footer .fallback-text {
  font-size: 0.95rem;
  color: rgba(0,0,0,0.7);
}

.calendar-footer a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #000;
  transition: all 0.2s ease;
}

.calendar-footer a:hover {
  color: #FFD700;
  border-bottom-color: #FFD700;
}

.contact-cta {
  max-width: 960px;
  margin: 0 auto clamp(96px, 12vw, 160px);
  padding: clamp(32px, 8vw, 56px);
  border-radius: 28px;
  background: rgba(0,0,0,0.58);
  color: rgba(255,255,255,0.92);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 60px rgba(0,0,0,0.22);
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 15% 10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(65% 100% at 85% 80%, rgba(255,215,0,0.24), transparent 70%);
  opacity: 0.85;
}

.contact-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.contact-cta__inner h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
}

.contact-cta__inner p {
  margin: 0;
  max-width: 620px;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.86);
}

.site-footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background:
    radial-gradient(24px 24px at 16% 30%, rgba(255,255,255,.45), transparent 60%),
    #25D366;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(11, 26, 16, 0.08);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.18),
    0 1px 0 rgba(255,255,255,0.25) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  display: block;
  flex: 0 0 auto;
}

.wa-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.whatsapp-float:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

@media (hover: none) {
  .whatsapp-float {
    animation: wa-pulse 2.6s ease-in-out infinite;
  }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(0,0,0,0.18), 0 0 0 0 rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 10px 26px rgba(0,0,0,0.18), 0 0 0 12px rgba(37,211,102,0); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 1024px) {
  .contact-grid {
    padding: 0 20px 80px;
  }
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .contact-card {
    grid-column: span 12;
  }

  .contact-hero {
    margin: 96px 20px 40px;
  }
}

@media (max-width: 720px) {
  .calendly-inline-widget {
    height: 700px;
  }

  .contact-hero__chips {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 12px;
  }

  .wa-label {
    display: none;
  }

  .contact-chip {
    width: 100%;
    justify-content: center;
  }
}
