/* Medi Optyk - Gold & Black Theme */

:root {
  --bg: #050608;
  --bg-elevated: #101218;
  --bg-soft: #151823;
  --gold: #d4af37;
  --gold-soft: #f0d682;
  --text-main: #f5f5f5;
  --text-muted: #a4a7b5;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --danger: #ff5c5c;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.65);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #171a24 0, #050608 55%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  background: linear-gradient(to bottom, #050608, #050608 40%, #050608 100%);
}

/* Hero */

.hero {
  position: relative;
  min-height: 90vh;
  padding: 24px 6vw 80px;
  background: radial-gradient(circle at top, #2a2520 0, #050608 60%);
  color: var(--text-main);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 0%,
    rgba(212, 175, 55, 0.18),
    transparent 55%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
}

/* Navbar */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo span {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-soft);
}

.btn-nav {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.18),
    rgba(212, 175, 55, 0.05)
  );
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 8px 0 14px;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold-soft);
}

.subtitle {
  color: var(--text-muted);
  max-width: 520px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #f7e7a4, #d4af37 55%, #a07d20);
  color: #050608;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-meta span {
  position: relative;
  padding-left: 14px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold-soft);
  transform: translateY(-50%);
}

.hero-card {
  background: radial-gradient(circle at 0 0, #3d3526, #151822 55%);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin-left: auto;
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-card li:last-child {
  border-bottom: none;
}

.hero-contact-snippet {
  font-size: 0.9rem;
}

.hero-contact-snippet .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-contact-snippet .phone {
  font-size: 1.08rem;
  color: var(--gold-soft);
  margin: 0 0 2px;
}

.hero-contact-snippet .address {
  margin: 0;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 64px 6vw;
}

.section-dark {
  background: radial-gradient(circle at top, #121621, #050608 60%);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin: 0 0 18px;
}

.section-intro {
  max-width: 600px;
  color: var(--text-muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.align-top {
  align-items: flex-start;
}

.highlight-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(
    145deg,
    rgba(212, 175, 55, 0.16),
    rgba(12, 12, 20, 0.9)
  );
  padding: 22px 22px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {
  padding-left: 20px;
  margin: 10px 0 0;
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.card {
  background: rgba(5, 6, 8, 0.85);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

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

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Prices */

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.price-item {
  background: rgba(8, 10, 14, 0.95);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.price-header h3 {
  margin: 0;
  font-size: 1rem;
}

.price {
  font-family: "Playfair Display", serif;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.price-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Location */

.location-meta {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location-meta li + li {
  margin-top: 6px;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #262434, #070810 60%);
  border: 1px dashed rgba(212, 175, 55, 0.5);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}

.map-placeholder p {
  margin: 4px 0;
}

.map-hint {
  font-size: 0.82rem;
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.contact-list .label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.contact-form {
  background: rgba(5, 6, 10, 0.9);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.contact-form h3 {
  margin-top: 0;
}

.form-hint {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.form-row label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input,
textarea {
  background: #050608;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 10px 11px;
  font: inherit;
  color: var(--text-main);
}

input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold-soft);
  border-color: var(--gold-soft);
}

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

.full-width {
  width: 100%;
  margin-top: 18px;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 6vw 22px;
  background: #050608;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.back-to-top {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--gold-soft);
}

.back-to-top:hover {
  text-decoration: none;
  color: #ffffff;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin: 16px 0 0;
    max-width: none;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .hero {
    padding-top: 18px;
  }

  .section {
    padding-inline: 5vw;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

