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

:root {
  --terracotta: #C4613A;
  --terracotta-dark: #A84E2C;
  --terracotta-light: #D4856A;
  --sand: #F5EDE3;
  --sand-light: #FAF6F1;
  --sand-dark: #E8DDD0;
  --cream: #FFFDF9;
  --text-primary: #2D1F16;
  --text-secondary: #5C4A3A;
  --text-muted: #8A7565;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(45, 31, 22, 0.06), 0 1px 2px rgba(45, 31, 22, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 31, 22, 0.08), 0 2px 4px rgba(45, 31, 22, 0.04);
  --shadow-lg: 0 12px 40px rgba(45, 31, 22, 0.12), 0 4px 12px rgba(45, 31, 22, 0.06);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 97, 58, 0.08);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.logo:hover {
  color: var(--terracotta);
}

.logo-icon {
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--terracotta);
  background: rgba(196, 97, 58, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(196, 97, 58, 0.08);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  position: relative;
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-dark) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(196, 97, 58, 0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(196, 97, 58, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(196, 97, 58, 0.1);
  color: var(--terracotta);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.813rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-title em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.938rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
  box-shadow: 0 4px 16px rgba(196, 97, 58, 0.3);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 97, 58, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  background: rgba(196, 97, 58, 0.06);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-dark);
}

.hero-visual {
  position: relative;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transform: rotate(2deg);
}

.hero-image-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--terracotta);
  border-radius: 50%;
  top: -30px;
  right: -20px;
  opacity: 0.1;
  z-index: -1;
}

/* ─── Section shared ─── */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(196, 97, 58, 0.1);
  color: var(--terracotta);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.813rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.063rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── Features ─── */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 97, 58, 0.12);
  background: var(--white);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(196, 97, 58, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--terracotta);
  color: var(--white);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Products ─── */
.products {
  background: var(--sand-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.product-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(196, 97, 58, 0.06);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 97, 58, 0.15);
}

.product-image {
  overflow: hidden;
  height: 220px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 28px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.938rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--terracotta);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card:hover .product-link {
  gap: 8px;
}

.products-note {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
}

.products-note a {
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.products-note a:hover {
  color: var(--terracotta-dark);
}

/* ─── Visit ─── */
.visit {
  background: var(--white);
}

.visit-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.visit-content .section-tag {
  margin-bottom: 16px;
}

.visit-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.visit-desc {
  font-size: 1.063rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-details li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.visit-details li svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-details a {
  color: var(--terracotta);
  font-weight: 700;
  transition: color var(--transition);
}

.visit-details a:hover {
  color: var(--terracotta-dark);
}

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.visit-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Contact ─── */
.contact {
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%);
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(196, 97, 58, 0.06);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.938rem;
  padding: 14px 18px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  background: var(--sand-light);
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 97, 58, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.form-note a {
  color: var(--terracotta);
  font-weight: 700;
}

.contact-success {
  text-align: center;
  padding: 60px 44px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(196, 97, 58, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin: 0 auto 24px;
}

.contact-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Footer ─── */
.footer {
  background: var(--text-primary);
  color: rgba(255, 253, 249, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.938rem;
  line-height: 1.75;
  max-width: 300px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.938rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact svg {
  color: var(--terracotta-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--terracotta-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 249, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.813rem;
  color: rgba(255, 253, 249, 0.4);
}

/* ─── Back to top ─── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--terracotta-dark);
  transform: translateY(-4px);
}

/* ─── Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(196, 97, 58, 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-image-grid {
    transform: rotate(0);
  }

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

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

  .visit-wrapper {
    grid-template-columns: 1fr;
  }

  .visit-content .section-title {
    text-align: center;
  }

  .visit-content .section-tag {
    display: block;
    text-align: center;
  }

  .visit-desc {
    text-align: center;
  }

  .visit-map {
    height: 280px;
    order: -1;
  }

  .contact-form {
    padding: 28px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 72px 0;
  }

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

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

  .hero-image-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-image-grid img:nth-child(2) {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}
