/* Quilina.site - Unique 2026 Design
   Warm Sand / Terracotta Theme
   Rounded 12px, soft shadows, generous spacing
   3-column card grid, split about section, sticky header
   Fully different from previous projects: no numbered lists, no featured full-width, warm earthy tones
*/

:root {
  --bg: #FDF6E3;
  --bg-alt: #F8EDE0;
  --surface: #FFFFFF;
  --accent: #C65D07;
  --accent-hover: #A44A05;
  --deep: #5C3317;
  --text: #3E2723;
  --text-soft: #6B5344;
  --border: #E8D9C8;
  --highlight: #FFF4E6;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(92, 51, 23, 0.08);
  --shadow-hover: 0 8px 30px rgba(92, 51, 23, 0.12);
  --max-width: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER - Sticky with accent bottom border, logo left, nav right */
.site-header {
  background: var(--surface);
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 0.4rem;
}

.nav {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: var(--bg-alt);
  color: var(--deep);
}

.nav a.active {
  background: var(--accent);
  color: #fff;
}

.nav a.cta {
  background: var(--deep);
  color: #fff;
  font-weight: 700;
}

.nav a.cta:hover {
  background: var(--accent);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--deep);
}

/* HERO - Large centered with warm gradient and subtle pattern via CSS */
.hero {
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: 1.3rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--deep);
  color: var(--deep);
}

.btn-secondary:hover {
  background: var(--deep);
  color: #fff;
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding: 3rem 1.5rem 4rem;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ARTICLES GRID - 3 columns, card style with left accent bar */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.article-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.8rem 1.9rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--accent-hover);
}

.article-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.9rem;
  line-height: 1.3;
}

.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--accent);
}

.article-card p {
  color: var(--text-soft);
  flex: 1;
  margin-bottom: 1.4rem;
  font-size: 1.02rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.article-meta a {
  color: var(--deep);
  text-decoration: none;
  font-weight: 700;
}

.article-meta a:hover {
  text-decoration: underline;
}

/* ABOUT TEASER - Split layout */
.about-teaser {
  margin-top: 4.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 3rem 3.2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-teaser-content h2 {
  font-size: 1.85rem;
  color: var(--deep);
  margin-bottom: 1.1rem;
}

.about-teaser-content p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.about-teaser-image {
  background: var(--highlight);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.about-teaser-image::before {
  content: "🌿";
  font-size: 4.5rem;
  display: block;
  margin-bottom: 1rem;
}

.about-teaser-image p {
  font-style: italic;
  color: var(--deep);
  font-size: 1.1rem;
}

/* ARTICLE PAGE LAYOUT */
.article-page {
  max-width: 780px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 2px solid var(--border);
}

.article-header h1 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.article-header .meta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.35rem;
}

.article-content h2 {
  font-size: 1.55rem;
  color: var(--deep);
  margin: 2.2rem 0 1rem;
  font-weight: 700;
}

.article-content ul, .article-content ol {
  margin: 1.2rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.6rem;
}

.article-content blockquote {
  background: var(--highlight);
  border-left: 5px solid var(--accent);
  padding: 1.3rem 1.6rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--text-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* SIDEBAR for articles */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.sidebar-box h3 {
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 1rem;
  font-weight: 700;
}

.sidebar-box a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.sidebar-box a:last-child {
  border-bottom: none;
}

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

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  max-width: 980px;
  margin: 0 auto;
}

.contact-info h1 {
  font-size: 2.2rem;
  color: var(--deep);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-soft);
  margin-bottom: 1.8rem;
}

.info-card {
  background: var(--highlight);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--border);
  margin-top: 1.2rem;
}

.info-card strong {
  display: block;
  color: var(--deep);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.form-container {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

/* THANK YOU PAGE */
.thank-you {
  max-width: 560px;
  margin: 5rem auto;
  text-align: center;
  background: var(--surface);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.thank-you h1 {
  font-size: 2.3rem;
  color: var(--deep);
  margin-bottom: 1.2rem;
}

.thank-you p {
  color: var(--text-soft);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* LEGAL PAGES */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem 3.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.legal-page h1 {
  font-size: 2.1rem;
  color: var(--deep);
  margin-bottom: 0.4rem;
}

.legal-page .update-date {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  color: var(--deep);
  margin: 2rem 0 0.9rem;
}

.legal-page p, .legal-page li {
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.legal-page ul {
  margin-left: 1.4rem;
}

/* FOOTER - Unique centered multi-column with prominent address */
.site-footer {
  background: var(--deep);
  color: #E8D9C8;
  padding: 3.2rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-brand span {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  color: #E8D9C8;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

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

.footer-address {
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.9;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(232, 217, 200, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.75;
}

.footer-bottom a {
  color: #E8D9C8;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.disclaimer {
  font-size: 0.78rem;
  opacity: 0.6;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .about-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }
  
  .nav.open {
    display: flex;
  }
  
  .menu-btn {
    display: block;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Accessibility & clean */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
