/* ==========================================================================
   ALKA HOLDING (USA) LLC — Stylesheet
   ========================================================================== */

:root {
  --gold: #e6ad2d;
  --gold-light: #f3c65f;
  --gold-dark: #ad8222;
  --black: #0a0a0a;
  --near-black: #141414;
  --charcoal: #1f1f1f;
  --cream: #faf7f0;
  --text-dark: #1c1a14;
  --text-muted: #5c5850;
  --border: #e7e0d0;
  --success: #2e7d32;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --max-width: 1160px;
  --serif: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--black); margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid #2a2a2a;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: 44px; border-radius: 50%; }
.brand-name { font-family: var(--serif); color: var(--gold); font-size: 1.15rem; letter-spacing: .5px; line-height: 1.1; }
.brand-name small { display: block; color: #ccc; font-size: .62rem; letter-spacing: 1.5px; font-family: var(--sans); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #e9e6df; font-size: .93rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: .15s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-color: var(--gold); }
.main-nav .btn-reserved { border: 1px solid var(--gold); color: var(--gold); padding: 8px 16px; border-radius: 999px; }
.main-nav .btn-reserved:hover { background: var(--gold); color: var(--black); }

.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-switch button {
  background: transparent; border: 1px solid #3a3a3a; color: #bbb;
  font-size: .72rem; font-weight: 700; padding: 5px 8px; border-radius: 6px;
}
.lang-switch button.active { background: var(--gold); color: var(--black); border-color: var(--gold); }
.lang-switch button:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

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

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse at top right, #1c1c1c 0%, var(--black) 60%);
  color: #f5f1e6;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(230,173,45,.18) 0%, rgba(230,173,45,0) 70%);
}
.hero .container { position: relative; max-width: 760px; }
.hero h1 { color: #fff; font-size: 2.7rem; }
.hero p.lead { color: #d8d3c4; font-size: 1.15rem; max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-size: .95rem; font-weight: 600; border: 1px solid transparent; transition: .15s; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(230,173,45,.12); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--near-black); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sections ---------- */
section.page-section { padding: 64px 0; }
section.page-section.alt { background: #fff; }
.section-intro { max-width: 760px; margin-bottom: 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .75rem; color: var(--gold-dark); font-weight: 700; margin-bottom: 10px; display: block; }

/* Feature grid */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 0; }
.card .card-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; margin-bottom: 14px; }

.service-card { display: flex; flex-direction: column; }
.service-card .summary { color: var(--text-muted); font-size: .92rem; flex-grow: 1; }
.service-card .read-more { margin-top: 14px; color: var(--gold-dark); font-weight: 600; font-size: .88rem; }
.service-card .read-more:hover { text-decoration: underline; }

/* CTA band */
.cta-band { background: var(--black); color: #fff; padding: 54px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcabb; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- About / disclaimer box ---------- */
.disclaimer-box {
  background: #fbf3df; border: 1px solid #ecd9a5; border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius); padding: 22px 24px; margin: 26px 0;
}
.disclaimer-box h3 { margin-top: 0; font-size: 1.05rem; }
.info-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.info-box dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin: 0; }
.info-box dt { color: var(--text-muted); font-size: .85rem; }
.info-box dd { margin: 0; font-weight: 600; }

/* ---------- Service detail ---------- */
.detail-header { background: var(--black); color: #fff; padding: 50px 0 40px; }
.detail-header h1 { color: #fff; margin-bottom: 6px; }
.detail-header .summary { color: var(--gold-light); font-size: 1.05rem; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--border); position: relative; font-size: .95rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.for-whom-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }

/* ---------- Legal notice ---------- */
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 30px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .92rem; }
.legal-table th { background: var(--black); color: var(--gold); font-weight: 600; }
.legal-note { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; font-size: .9rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: .95rem; background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold-dark); }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 10px; }
.form-msg { padding: 10px 14px; border-radius: 8px; font-size: .88rem; margin-top: 10px; }
.form-msg.ok { background: #eaf5ea; color: var(--success); }

/* ---------- Login ---------- */
.auth-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.auth-card { max-width: 420px; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow); text-align: center; }
.auth-card img { height: 64px; width: 64px; margin: 0 auto 16px; border-radius: 50%; }
.auth-card h1 { font-size: 1.5rem; }
.auth-card .subtitle { color: var(--text-muted); font-size: .9rem; margin-bottom: 22px; }
.auth-card form { text-align: left; }
.auth-error { background: #fbe9e7; color: var(--danger); padding: 10px 14px; border-radius: 8px; font-size: .87rem; margin-bottom: 14px; display: none; }
.auth-error.show { display: block; }
.auth-note { margin-top: 18px; font-size: .84rem; color: var(--text-muted); }
.auth-note a { color: var(--gold-dark); font-weight: 600; }

/* ---------- Reserved / Calculator ---------- */
.reserved-header { background: var(--black); color: #fff; padding: 34px 0; }
.reserved-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.reserved-header h1 { color: #fff; margin: 0; font-size: 1.7rem; }
.reserved-header .welcome { color: var(--gold-light); font-size: .9rem; }
.logout-btn { border: 1px solid var(--gold); color: var(--gold); padding: 8px 18px; border-radius: 999px; background: transparent; font-size: .85rem; }
.logout-btn:hover { background: var(--gold); color: var(--black); }

.calc-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; overflow-x: auto; }
.calc-section h3 { font-size: 1.05rem; margin-bottom: 16px; }
table.calc-table { width: 100%; border-collapse: collapse; min-width: 620px; }
table.calc-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); padding: 8px 10px; border-bottom: 2px solid var(--border); }
table.calc-table td { padding: 6px 10px; border-bottom: 1px solid #f0ece0; vertical-align: middle; }
table.calc-table input, table.calc-table select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: .9rem; font-family: inherit;
}
table.calc-table input:focus, table.calc-table select:focus { outline: none; border-color: var(--gold-dark); }
.calc-cost { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.calc-rate { color: var(--text-muted); font-size: .87rem; white-space: nowrap; }
.calc-remove { background: none; border: none; color: #b3261e; font-size: 1.1rem; padding: 4px 8px; }
.calc-remove:hover { opacity: .7; }
.add-row-btn { margin-top: 12px; background: none; border: 1px dashed var(--gold-dark); color: var(--gold-dark); padding: 8px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600; }
.add-row-btn:hover { background: #fbf3df; }
.subtotal-row { text-align: right; font-weight: 700; padding-top: 14px; font-size: .95rem; }
.subtotal-row span.amount { color: var(--gold-dark); margin-left: 8px; }

.grand-total-box { background: var(--black); color: #fff; border-radius: var(--radius); padding: 30px 28px; text-align: right; margin-bottom: 24px; }
.grand-total-box .label { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-light); }
.grand-total-box .amount { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 700; }

.notes-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; font-size: .87rem; color: var(--text-muted); }
.notes-box ul { margin: 8px 0 0; padding-left: 20px; }
.notes-box li { margin-bottom: 6px; }
.calc-disclaimer { margin-top: 20px; font-size: .82rem; color: var(--text-muted); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfcabb; padding: 44px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.footer-grid .brand-name { color: var(--gold); }
.site-footer .fine-print { font-size: .78rem; color: #8a8676; border-top: 1px solid #2a2a2a; padding-top: 18px; line-height: 1.6; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; color: #cfcabb; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Breadcrumb ---------- */
.back-link { display: inline-block; margin-bottom: 20px; font-size: .88rem; color: var(--gold-dark); font-weight: 600; }
.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav { position: fixed; top: 74px; left: 0; right: 0; bottom: 0; background: var(--black); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; transform: translateX(100%); transition: transform .25s; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .lang-switch { margin-left: 0; margin-top: 6px; }
  h1 { font-size: 2rem; }
  .hero { padding: 60px 0 50px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .reserved-header .container { flex-direction: column; align-items: flex-start; }
}
