/* Tünde Mihalyi — AMC Cookware
   Design tokens carried over from the Claude Design wireframe. */

:root {
  --bg-dark: #1a1c2e;
  --bg-card: #242640;
  --bg-blue: #1f3550;
  --bg-cream: #e8dcc2;
  --text-cream: #efe7d8;
  --text-cream-78: rgba(239, 231, 216, 0.78);
  --text-cream-72: rgba(239, 231, 216, 0.72);
  --text-cream-55: rgba(239, 231, 216, 0.55);
  --text-cream-14: rgba(239, 231, 216, 0.14);
  --text-dark: #241f2c;
  --accent: #9184d9;
  --accent-hover: #b5abfc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-cream);
  background: var(--bg-dark);
}

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

a:hover {
  color: var(--accent-hover);
}

::selection {
  background: rgba(145, 132, 217, 0.3);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.dark-panel {
  position: relative;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 720px at 82% -160px, rgba(66, 58, 106, 0.55), transparent 60%),
    radial-gradient(1100px 800px at -10% 100%, rgba(0, 0, 0, 0.3), transparent 55%);
  background-color: var(--bg-dark);
}

.dark-panel.short {
  min-height: 0;
}

/* Nav */
nav.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 48px;
  overflow-x: auto;
}

.nav-logo {
  font-weight: 500;
  font-size: 18px;
  color: var(--text-cream);
  margin-right: auto;
  white-space: nowrap;
}

.nav-link {
  font-size: 14px;
  color: var(--text-cream);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  padding: 11px 20px;
  white-space: nowrap;
}

.btn-outline {
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(145, 132, 217, 0.12);
  color: var(--accent);
}

.btn-outline-dark {
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

.btn-outline-dark:hover {
  background: rgba(36, 31, 44, 0.08);
  color: var(--text-dark);
}

.btn-link {
  padding: 11px 8px;
}

.btn-link:hover {
  background: rgba(145, 132, 217, 0.1);
}

.nav-cta {
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 9px 18px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex-shrink: 0;
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239184d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  color: var(--text-cream);
  border: 1px solid rgba(239, 231, 216, 0.2);
  border-radius: 8px;
  padding: 9px 30px 9px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.3s;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--accent);
}

.lang-switch option {
  background: var(--bg-card);
  color: var(--text-cream);
}

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label .rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-label.on-cream .rule,
.section-label.on-blue .rule {
  background: var(--text-cream);
}

.section-label span.label-text {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label.on-blue span.label-text {
  color: var(--text-cream);
}

/* Hero */
.hero {
  padding: 64px 48px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-cream);
}

.hero p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-cream-78);
  max-width: 52ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Page header (About / Products / Contact) */
.page-header {
  padding: 56px 48px 24px;
}

.page-header h1 {
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-cream);
  max-width: 22ch;
}

.page-header p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-cream-78);
  max-width: 62ch;
  margin: 20px 0 0;
}

/* Feature / step rows */
.feature-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 380px) minmax(0, 1fr);
  gap: 20px 48px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--text-cream-14);
}

.feature-row .num {
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  margin: 0;
}

.feature-row h2 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-cream);
}

.feature-row p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: var(--text-cream-78);
  max-width: 52ch;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step .num {
  font-weight: 500;
  font-size: 34px;
  margin: 0 0 12px;
  color: var(--text-cream);
}

.step h3 {
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--text-cream);
}

.step p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: rgba(239, 231, 216, 0.75);
}

.blue-band {
  background-image: radial-gradient(900px 420px at 85% -40%, rgba(44, 77, 110, 0.7), transparent 64%);
  background-color: var(--bg-blue);
  padding: 64px 0;
}

/* Photo placeholders (fill these in with real photos later) */
.photo-slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2b2d47 0%, #232538 100%);
  border: 1px dashed rgba(239, 231, 216, 0.3);
  color: rgba(239, 231, 216, 0.45);
  font-size: 13px;
  line-height: 1.5;
}

.photo-slot.rounded-sm {
  border-radius: 10px;
}

/* Product / preview grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 24px;
}

.product-card .photo-slot {
  aspect-ratio: 4 / 3;
}

.product-card h2,
.product-card h3 {
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--text-cream);
}

.product-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--text-cream-72);
}

.pill-outline {
  display: inline-flex;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.card-links .external {
  font-size: 12.5px;
  color: var(--text-cream-72);
}

.card-links .external:hover {
  color: var(--accent);
}

/* About section on Home */
.about-preview {
  padding: 24px 48px 72px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.about-preview h2 {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--text-cream);
}

.about-preview p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--text-cream-78);
  max-width: 56ch;
}

/* Cream CTA band */
.cta-band {
  background-color: var(--bg-cream);
  padding: 72px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h3 {
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
  color: var(--text-dark);
}

.cta-band p {
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  color: rgba(36, 31, 44, 0.75);
  max-width: 52ch;
}

/* Footer */
footer.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--text-cream-14);
}

footer.site-footer .footer-name {
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text-cream);
}

footer.site-footer .footer-tagline {
  font-size: 13px;
  margin: 0;
  color: var(--text-cream-55);
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-cream-72);
}

/* About page portrait section */
.about-hero {
  padding: 56px 48px 72px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.about-hero h1 {
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  color: var(--text-cream);
}

.about-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-cream-78);
  max-width: 56ch;
  margin: 0 0 16px;
}

.quote-band {
  padding: 72px 0;
}

.quote-badge {
  display: inline-flex;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--text-cream);
  color: var(--text-cream);
  margin-bottom: 24px;
}

.quote-band p {
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin: 0;
  color: var(--text-cream);
}

/* Cal.com booking embed */
.cal-embed {
  width: 100%;
  min-height: 650px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(239, 231, 216, 0.14);
}

/* Contact page */
.contact-grid {
  padding: 24px 48px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--text-cream-78);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text-cream);
  background: var(--bg-card);
  border: 1px solid rgba(239, 231, 216, 0.16);
  border-radius: 8px;
}

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

.radio-group {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(239, 231, 216, 0.16);
  border-radius: 8px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-cream);
  margin: 0;
}

.radio-group label + label {
  border-left: 1px solid rgba(239, 231, 216, 0.16);
}

.radio-group input {
  accent-color: var(--accent);
}

.btn-submit {
  align-self: flex-start;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 11px 22px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-submit:hover {
  background: rgba(145, 132, 217, 0.12);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(239, 231, 216, 0.14);
}

.contact-card .row-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.contact-card .row-title span {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-cream);
}

.contact-card a {
  font-size: 14.5px;
}

.contact-card .placeholder-note {
  font-size: 12px;
  margin: 4px 0 0;
  color: var(--text-cream-55);
  font-style: italic;
}

.contact-card p.body {
  font-size: 14.5px;
  margin: 0;
  color: var(--text-cream-78);
}

.contact-card p.small {
  font-size: 13px;
  margin: 0;
  color: var(--text-cream-55);
}

.contact-card hr {
  height: 1px;
  background: rgba(239, 231, 216, 0.14);
  border: none;
  margin: 0;
}

.success-message {
  display: none;
  background: #d4e4d4;
  color: #2d5016;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 14px;
}

.success-message.show {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .hero,
  .about-hero,
  .about-preview,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  nav.site-nav,
  .hero,
  .page-header,
  .about-hero,
  .about-preview,
  .contact-grid,
  footer.site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
