/* NestFind — clean, trustworthy style */
:root {
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-light: #475569;
  --primary: #0f766e;
  --primary-dark: #0d5f59;
  --accent: #14b8a6;
  --border: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --radius: 10px;
  --max: 1100px;
  --narrow: 720px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container.narrow {
  max-width: var(--narrow);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  text-decoration: none;
}
.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 500;
}
.btn-nav:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: var(--primary);
  color: white;
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn.secondary:hover { background: #f0fdfa; }

/* Hero */
.hero {
  background: linear-gradient(160deg, #f0fdfa 0%, #e0f2fe 100%);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--text);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0 2rem;
}
.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.page-hero p {
  color: var(--text-light);
}

/* Sections */
.intro-block,
.content-section,
.topics,
.cta-section {
  padding: 3.5rem 0;
}
.content-section.alt {
  background: var(--white);
}

.intro-block h2,
.topics h2,
.cta-section h2,
.content-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}
.feature-card .icon {
  width: 36px;
  height: 36px;
  background: #ccfbf1;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Topics */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
  color: inherit;
}
.topic-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
  text-decoration: none;
}
.topic-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.topic-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Info blocks & lists */
.info-block, .checklist {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.info-block h3, .checklist h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
ul {
  padding-left: 1.25rem;
}
li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
li strong {
  color: var(--text);
}

/* Articles */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--card-shadow);
}
.article-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.article-card .meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.article-card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}
.article-card p:last-child {
  margin-bottom: 0;
}

/* Disclaimer */
.disclaimer-box {
  background: #f1f5f9;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.disclaimer-box p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}
.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* CTA */
.cta-section {
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-light);
}
.small-note {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 1.5rem;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.checkbox-group label {
  display: flex;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
}
.checkbox-group input {
  width: auto;
  margin-top: 0.2rem;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}
.form-status.success { color: var(--primary); }
.form-status.error { color: #b91c1c; }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2.5rem 0 1.75rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-grid strong {
  color: #e2e8f0;
}
.site-footer a {
  color: #5eead4;
}
.footer-note {
  margin-bottom: 0.75rem;
  border-top: 1px solid #1e293b;
  padding-top: 1.25rem;
}
.footer-disclaimer {
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding: 3rem 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

/* Image gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.image-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.image-caption {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.4rem;
}

/* Map */
.map-wrap {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.1rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.cookie-inner p {
  flex: 1;
  min-width: 220px;
  font-size: 0.9rem;
  margin: 0;
  color: #cbd5e1;
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cookie-actions button {
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie-accept {
  background: var(--primary);
  color: white;
}
.cookie-reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #475569 !important;
}
.cookie-banner a {
  color: #5eead4;
}
