/* ==========================================================
   Angielski z Wiktorią — nowoczesna strona korepetycji
   ========================================================== */

:root {
  --bg: #faf8f5;
  --bg-soft: #f4efe8;
  --bg-dark: #0b1320;
  --bg-dark-2: #131c2e;
  --ink: #0e1726;
  --ink-2: #3a4658;
  --ink-3: #6b7484;
  --line: #e7e2d8;
  --line-dark: #25304a;
  --primary: #0d6e6e;        /* deep teal */
  --primary-2: #0a8f8a;
  --accent: #ff6b3d;         /* warm coral */
  --accent-2: #ffa873;
  --oxford: #002147;         /* Oxford blue */
  --oxford-2: #0a3160;
  --cream: #fff7ec;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, 0.04), 0 4px 14px rgba(14, 23, 38, 0.05);
  --shadow-md: 0 4px 12px rgba(14, 23, 38, 0.06), 0 24px 48px rgba(14, 23, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(14, 23, 38, 0.10), 0 40px 80px rgba(14, 23, 38, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --display: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }

em { font-style: italic; color: var(--primary); font-family: var(--display); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid #f0e6d2;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.eyebrow-sm { font-size: 0.75rem; padding: 4px 10px; }
.eyebrow-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--accent-2); }

.dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--bg-dark);
  color: #e7ecf3;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(13, 110, 110, 0.35), transparent 60%),
                    radial-gradient(900px 500px at 0% 110%, rgba(255, 107, 61, 0.18), transparent 60%);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b6c0cf; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-sub { color: var(--ink-3); font-size: 1.05rem; margin-top: -8px; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 8px 24px rgba(14, 23, 38, 0.18);
}
.btn-primary:hover { background: #1a2235; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 12px 28px rgba(14, 23, 38, 0.24); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink-3); }

.btn-soft {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-soft:hover { background: var(--cream); }

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

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231, 226, 216, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--accent-2);
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
}
.logo-text em { font-style: italic; color: var(--primary); }
#logo-main em, #logo-footer em {
  font-style: italic;
  color: var(--primary);
}
.logo-text {
  display: flex;
  flex-direction: row;
  gap: 8px;
  line-height: 1.15;
  min-width: 230px;
}
.logo-domain {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  font-weight: 400;
  font-style: normal;
  text-transform: lowercase;
  margin-top: 2px;
}
.footer-domain {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent-2);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.footer-domain:hover {
  color: var(--accent);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
  transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; gap: 8px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(255, 167, 115, 0.22), transparent 60%),
    radial-gradient(900px 600px at 10% 20%, rgba(13, 110, 110, 0.10), transparent 60%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-copy h1 em { display: inline-block; }
.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 540px;
  margin: 12px 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

@media (max-width: 920px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-trust strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
}

.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(-1.2deg);
}
.card-photo { position: relative; }
.photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, #1a1f2e 0%, #2a3344 60%, #3d4a60 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 167, 115, 0.35), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(13, 110, 110, 0.45), transparent 60%);
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.photo-oxford::after {
  background: radial-gradient(circle at 30% 20%, rgba(13, 19, 32, 0.45), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(11, 19, 32, 0.55), transparent 70%);
}
.photo-lg::after {
  background: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.18), transparent 60%);
}
.photo-lg img {
  object-position: center 25%;
}
.photo-credit {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  z-index: 2;
}
.photo-initials {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 7rem;
  color: var(--accent-2);
  letter-spacing: -0.04em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.photo-lg { aspect-ratio: 4 / 5; }
.photo-badge {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.flag {
  width: 22px; height: 14px;
  border-radius: 2px;
  background: linear-gradient(45deg, #00247d 25%, #fff 25%, #fff 50%, #cf142b 50%, #cf142b 75%, #fff 75%);
  position: relative;
  display: inline-block;
}
.flag::before, .flag::after {
  content: "";
  position: absolute;
  background: #cf142b;
}
.flag::before { left: 5px; top: 0; width: 1.5px; height: 14px; }
.flag::after { left: 0; top: 5px; width: 22px; height: 1.5px; }

.card-meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 4px;
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.card-label { color: var(--ink-3); }
.card-value { font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(13, 110, 110, 0.08);
  color: var(--primary);
}
.status-on { background: rgba(13, 110, 110, 0.1); color: var(--primary); }
.pulse {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.4;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

.card-quote {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--cream);
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--ink);
  border: 1px solid #f0e6d2;
}
.card-quote span { display: block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 0.8rem; color: var(--ink-3); }

/* marquee */
.hero-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 24px;
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--ink-3);
  align-items: center;
}
.marquee-track span:nth-child(even) { color: var(--accent); font-style: italic; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 920px) {
  .marquee-track {
    animation-duration: 8s;
    gap: 28px;
    font-size: 1.25rem;
  }
  .logo-text {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { transform: none; max-width: 420px; margin: 0 auto; }
}

/* ============== ABOUT ============== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo .photo {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: -16px -16px auto auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  z-index: -1;
  opacity: 0.85;
}
.about-photo-caption {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.about-photo-caption strong { font-size: 1.05rem; color: var(--ink); }
.about-photo-caption span {
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--ink-3);
}
.about-copy h2 { margin-top: 12px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stats div {
  display: flex; flex-direction: column; gap: 4px;
}
.about-stats strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-stats span { font-size: 0.82rem; color: var(--ink-3); }

@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ============== CARDS / SERVICES ============== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--primary);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--ink-3); margin-bottom: 16px; }
.card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.card ul li {
  font-size: 0.88rem;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ============== PRICING ============== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0;
}
.price-amount {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 12px;
}
.price-amount span { font-size: inherit; color: inherit; font-weight: inherit; line-height: 1; }
.price-amount small {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink-3);
  font-weight: 400;
}
.price > p { font-size: 0.95rem; color: var(--ink-3); margin: 0 0 8px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price ul li {
  font-size: 0.92rem;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.price ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--primary);
}
.price ul li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(-45deg);
}

.price-feature {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-12px);
  box-shadow: var(--shadow-md);
}
.price-feature h3, .price-feature .price-amount { color: #fff; }
.price-feature .price-amount small { color: rgba(255, 255, 255, 0.6); }
.price-feature > p { color: rgba(255, 255, 255, 0.7); }
.price-feature ul li { color: rgba(255, 255, 255, 0.85); }
.price-feature ul li::before { background: rgba(255, 255, 255, 0.1); border-color: var(--accent-2); }
.price-feature ul li::after { border-color: var(--accent-2); }
.price-feature .btn-primary { background: var(--accent); }
.price-feature .btn-primary:hover { background: #ff5a26; }

.price-tag {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 920px) {
  .pricing { grid-template-columns: 1fr; }
  .price-feature { transform: none; }
}

/* ============== VIDEO ============== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
}
.checklist li svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.checklist-light li { color: rgba(255, 255, 255, 0.85); }
.checklist-light li svg { color: var(--accent-2); }

.video-frame {
  background: var(--ink);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(255, 107, 61, 0.25), transparent 60%),
    radial-gradient(500px 300px at 20% 80%, rgba(13, 110, 110, 0.35), transparent 60%);
}
.video-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.video-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}
.video-meta p { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; margin: 0; }
.video-meta .status { background: rgba(255, 255, 255, 0.1); }
.room-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 1;
}
.room-link code {
  flex: 1;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  direction: ltr;
}
.btn-icon {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-icon:hover { background: rgba(255, 255, 255, 0.22); }
.video-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .video-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .video-frame {
    aspect-ratio: auto;
    padding: 28px 22px;
  }
  .video-placeholder { gap: 14px; }
  .video-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }
  .video-hint { display: none; }
  .room-link {
    max-width: 100%;
    padding: 6px 8px;
  }
  .room-link code { font-size: 0.72rem; }
  .video-actions { flex-direction: column; gap: 8px; }
  .video-actions .btn { width: 100%; }
}

/* ============== OXFORD TUTORIAL ============== */
.oxford-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.oxford-visual {
  position: relative;
  background: var(--oxford);
  border-radius: var(--radius-xl);
  padding: 48px 32px 32px;
  text-align: center;
  color: #d4b56a;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.oxford-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(212, 181, 106, 0.18), transparent 70%);
  pointer-events: none;
}
.spires-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  color: #d4b56a;
  position: relative;
  z-index: 1;
}
.motto-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 181, 106, 0.25);
}
.motto {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #e8c97a;
}
.motto-trans {
  font-size: 0.78rem;
  color: rgba(232, 201, 122, 0.7);
  letter-spacing: 0.04em;
}
.motto-source {
  font-size: 0.72rem;
  color: rgba(232, 201, 122, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.oxford-content h2 { margin-top: 12px; }
.oxford-features {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.oxford-features li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid var(--oxford);
}
.oxford-features strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.oxford-features span {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.45;
}

@media (max-width: 920px) {
  .oxford-grid { grid-template-columns: 1fr; gap: 40px; }
  .oxford-features { grid-template-columns: 1fr; }
}


/* ============== REVIEWS ============== */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--cream);
  border: 1px solid #f0e6d2;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.review p {
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
  flex: 1;
}
.review footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid #f0e0c0;
  font-size: 0.88rem;
}
.review footer strong { color: var(--ink); }
.review footer span { color: var(--ink-3); font-size: 0.82rem; }

@media (max-width: 920px) { .reviews { grid-template-columns: 1fr; } }

/* ============== BOOKING ============== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.booking-copy h2 { margin-top: 12px; }

.booking-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 110, 110, 0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  cursor: pointer;
  position: relative;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s;
}
.chips label:hover span { border-color: var(--ink-3); }
.chips input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.form-hint { font-size: 0.78rem; color: var(--ink-3); margin: 0; text-align: center; }

@media (max-width: 920px) {
  .booking-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== FAQ ============== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 0 0; color: var(--ink-2); font-size: 0.95rem; }

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-dark);
  color: #b6c0cf;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer .logo {
  color: #fff;
}
.footer .logo-mark {
  background: var(--accent);
  color: #fff;
}
.footer .logo-text em {
  color: var(--accent-2);
}
#logo-footer em {
  color: var(--primary);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-credit .heart {
  display: inline-block;
  width: 14px;
  height: 14px;
  color: var(--accent);
  margin-left: 2px;
  vertical-align: -2px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p { font-size: 0.9rem; max-width: 280px; margin-top: 16px; color: #8895aa; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-cols h4 {
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  color: #b6c0cf;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #6b7791;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 920px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ============== MODAL ============== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 32, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadein 0.2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes scalein { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: min(80vh, 720px);
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: scalein 0.25s ease;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.modal-head h3 {
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 4px 0 0;
}
.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.16); }
.modal-body { flex: 1; min-height: 0; background: #000; }
.modal-body iframe { width: 100%; height: 100%; border: 0; }

/* ============== TOAST ============== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  z-index: 200;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.toast[hidden] { display: none; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast::before { content: "✓"; color: var(--accent-2); font-weight: 700; }

/* ============== WHATSAPP BUBBLE ============== */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 90;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.6s ease-out infinite;
}
.whatsapp-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 8px rgba(0, 0, 0, 0.18);
  animation: none;
}
.whatsapp-bubble svg { display: block; }

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
.whatsapp-bubble:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* ============== REVEAL ON SCROLL ============== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 6px 20px rgba(37, 211, 102, 0.4); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4); }
}

@media (max-width: 600px) {
  .whatsapp-bubble {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-bubble svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-bubble { animation: none; }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
