/* Suquiran — Modern Lifestyle Magazine */
:root {
  --accent: #2f6bff;
  --accent-dark: #1e52d4;
  --accent-light: #e8efff;
  --text: #1a1a2e;
  --text-muted: #5c5c6f;
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --border: #e8e6e1;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max-width: 1200px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-desktop { display: flex; gap: 28px; align-items: center; }

.nav-desktop a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .legal-links {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile .legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  border: none;
  padding: 6px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.72) 0%, rgba(47,107,255,0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  padding: 80px 24px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font);
}

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

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-secondary {
  background: var(--accent-light);
  color: var(--accent);
}

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

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; }

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

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p { color: var(--text-muted); }

.section-alt { background: var(--bg-card); }

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
}

.category-card h3 {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

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

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 26, 46, 0.12);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card-body { padding: 24px; }

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

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

.article-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* About block */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-block h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: #fff;
}

.newsletter-box h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.newsletter-box p { opacity: 0.9; margin-bottom: 24px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
}

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

.newsletter-form .btn:hover {
  background: var(--accent-light);
}

/* CTA */
.cta-banner {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--accent-light);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Article page */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 48px 0 72px;
}

.article-main img.featured {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-main h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 24px;
  line-height: 1.25;
}

.article-main h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 32px 0 16px;
}

.article-main p {
  margin-bottom: 18px;
  color: var(--text);
}

.article-main ul, .article-main ol {
  margin: 0 0 18px 24px;
  color: var(--text);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 10px; }
.sidebar-box a { color: var(--text); font-size: 0.9rem; }
.sidebar-box a:hover { color: var(--accent); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-body { padding: 24px; }

.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 72px;
}

.contact-info-block h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 0.95rem; }

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form-box h2 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  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-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  text-align: center;
}

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

.map-placeholder {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}

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

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 500px; }

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.cookie-table th {
  background: var(--accent-light);
  font-weight: 600;
}

.cookie-table tr:nth-child(even) { background: var(--bg); }

.doc-id {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Content prose (about etc) */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.prose p {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.75;
}

.prose img {
  border-radius: var(--radius);
  margin: 32px 0;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-legal a:hover { color: #fff; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  padding: 20px 24px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-text a { font-weight: 600; }

.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-buttons .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-cookie-reject {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-cookie-reject:hover { background: var(--bg); }

.btn-cookie-config {
  background: var(--accent-light);
  color: var(--accent);
}

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal.show { display: flex; }

.cookie-modal-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-box h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option label { font-weight: 600; font-size: 0.95rem; }
.cookie-option p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
  .about-block,
  .contact-grid,
  .article-layout { grid-template-columns: 1fr; }

  .article-sidebar { position: static; }

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

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

  .hero { min-height: 420px; }

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

  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }

  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { justify-content: center; }
}
