﻿:root {
  --bg: #f1efe9;
  --surface: #fffdf7;
  --surface-alt: #f2ebdc;
  --text: #1b1b1b;
  --muted: #4e4e4e;
  --primary: #1d1e21;
  --primary-dark: #101114;
  --accent: #d1b46e;
  --accent-soft: #f0dfb1;
  --border: #d9ccb0;
  --success: #1b7f4a;
  --danger: #b42318;
  --shadow: 0 10px 30px rgba(16, 17, 20, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  color: #fff;
  background: linear-gradient(180deg, #141518, #0f1012);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  z-index: 20;
  position: relative;
  overflow: visible;
}

.logo-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #191a1d;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: inline-block;
}

.brand-logo-link {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-logo-link.logo-fallback {
  background: radial-gradient(circle at 30% 20%, #3a3b40, #191a1d 70%);
}

.brand-logo-link.logo-fallback::after {
  content: "AACHI";
  color: var(--accent-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.36rem 0 0.38rem;
  min-height: 56px;
  position: relative;
  left: -60px;
}

.logo-bridge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 30;
}

.logo-bridge.logo-left {
  left: 8px;
  transform: translateY(50%);
}

.brand {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: var(--accent-soft);
  text-transform: uppercase;
  margin-left: 68px;
  margin-right: 1rem;
  white-space: nowrap;
  display: inline-block;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(209, 180, 110, 0.7);
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.12rem;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  padding: 0.42rem 0.56rem;
  border-radius: 8px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  background: rgba(209, 180, 110, 0.16);
  color: #fff8e4;
  border-color: rgba(209, 180, 110, 0.55);
}

.hero {
  background: radial-gradient(circle at top right, rgba(209, 180, 110, 0.25), transparent 45%),
    linear-gradient(180deg, #faf6ea, #ede4cf);
  padding: 0 0 2.6rem;
}

.hero h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 1.15;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.home-page .hero {
  padding-top: 0;
}

.home-hero {
  background: radial-gradient(circle at top right, rgba(209, 180, 110, 0.25), transparent 45%),
    linear-gradient(180deg, #faf6ea, #ede4cf);
  padding: 0;
}

.home-page .home-offers {
  padding-top: 0.4rem;
  padding-bottom: 0.45rem;
}

.home-page .home-highlights {
  padding-top: 0.45rem;
  padding-bottom: 1.5rem;
}

.actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(160deg, #2d2d31, #16171a);
  color: var(--accent-soft);
  border-color: #2d2d31;
}

.btn-primary:hover {
  background: linear-gradient(160deg, #1f1f22, #0f1012);
}

.btn-ghost {
  border-color: #b8ab89;
  background: #fffdfa;
  color: var(--text);
}

main section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.7rem;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-content {
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #232428;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card > img.team-banner {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.page-hero {
  padding: 0;
  background: linear-gradient(180deg, #fbf8ef, var(--surface-alt));
}

.page-hero h1 {
  margin: 0;
}

.page-hero .section-subtitle {
  margin: 0;
}

body:not(.home-page) .page-hero {
  padding-top: 1.1rem;
}

.about-page .content {
  padding: 0.35rem 0 0.35rem;
}

.founder-photo {
  width: min(260px, 100%);
  margin: 0.6rem 0 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.story-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  align-items: start;
}

.story-image {
  width: 100%;
  margin: 0;
}

.story-text h3 {
  margin: 0 0 0.5rem;
}

.about-page .info-box h2 {
  margin: 0 0 0.35rem;
}

.story-text p:first-child {
  margin-top: 0;
}

.content {
  padding-bottom: 3rem;
}

.content p {
  color: #313131;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.info-box {
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

form {
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9bd9d;
  border-radius: 10px;
  font: inherit;
  background: #fffef9;
}

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

.form-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.status {
  font-size: 0.95rem;
}

.status.ok {
  color: var(--success);
}

.status.error {
  color: var(--danger);
}

footer {
  background: linear-gradient(160deg, #151619, #0f1012);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(209, 180, 110, 0.25);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-title {
  margin: 0 0 0.5rem;
  color: #f4dfad;
}

.small {
  font-size: 0.88rem;
  color: #d4deea;
}

@media (max-width: 900px) {
  .logo-ring {
    width: 46px;
    height: 46px;
    border-width: 2px;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  nav {
    display: none;
    width: 100%;
    position: relative;
    left: 0;
  }

  nav.open {
    display: block;
  }

  .nav-wrap.container {
    width: 100%;
    margin: 0;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding-top: 0.28rem;
    padding-bottom: 0.32rem;
    padding-left: 8px;
    padding-right: 8px;
    left: 0;
  }

  .logo-bridge.logo-left {
    left: -4px;
    top: 6px;
    bottom: auto;
    transform: none;
  }

  .brand {
    margin-left: 54px;
    font-size: 1.05rem;
  }

  nav ul {
    flex-direction: column;
    padding-bottom: 0.5rem;
    padding-left: 0;
  }

  nav a {
    display: block;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .home-page .home-hero {
    padding-top: 1.2rem;
  }

  body:not(.home-page) .page-hero {
    padding-top: 1.35rem;
  }
}

.watch-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.watch-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  border-radius: 12px;
}

.watch-carousel-image.is-active {
  opacity: 1;
}


.spec-list {
  margin-top: 0.7rem;
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  padding: 0.2rem 0;
}

.spec-row span:first-child {
  color: var(--muted);
  font-weight: 600;
}

.spec-row span:last-child {
  font-weight: 600;
  color: #232428;
  text-align: right;
}
