/* SeniorNær - Professional Scandinavian Website Styles */
:root {
  --dark-green: #3C5A28;
  --medium-green: #5A7A3A;
  --light-green: #8CA046;
  --sage: #E8F0E0;
  --sage-light: #F4F8F0;
  --gold: #E8A838;
  --gold-light: #F5D08A;
  --off-white: #FAF9F6;
  --white: #FFFFFF;
  --text-dark: #2C3A22;
  --text-muted: #5A6B4E;
  --border: #D8E0D0;
  --shadow: 0 4px 20px rgba(60, 90, 40, 0.08);
  --shadow-hover: 0 8px 30px rgba(60, 90, 40, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scrollbar-gutter: stable;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  overscroll-behavior-x: none;
  overflow-wrap: anywhere;
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
section,
header,
footer {
  min-width: 0;
  max-width: 100%;
}

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

a {
  color: var(--dark-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--medium-green);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-green);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 1.5rem);
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(60, 90, 40, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
  max-width: 1440px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 70px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  justify-content: center;
  flex: 1 1 auto;
}

.main-nav a {
  padding: 0.5rem clamp(0.4rem, 0.55vw, 0.75rem);
  font-size: clamp(0.8rem, 0.68vw, 0.9rem);
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  white-space: nowrap;
}

.mobile-language {
  display: none;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--sage);
  color: var(--dark-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: var(--sage-light);
  padding: 0.25rem;
  border-radius: 8px;
}

.lang-btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--white);
  color: var(--dark-green);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
  white-space: normal;
}

.btn-primary {
  background: var(--dark-green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--medium-green);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
}

.btn-secondary:hover {
  background: var(--sage);
  color: var(--dark-green);
}

.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--dark-green);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--off-white) 100%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
  background: var(--sage);
}

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

.time-photo img {
  object-position: center center;
  transform: scale(1.36);
}

/* Reference-led homepage */
.home-main {
  background: var(--off-white);
}

.reference-hero {
  background: linear-gradient(105deg, #f1f7ed 0%, #f7faf3 48%, #ffffff 48%);
  overflow: hidden;
}

.reference-hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 520px;
  padding-left: 0;
  padding-right: 0;
}

.reference-hero-content {
  padding: 4.1rem 3rem 3.6rem 1.5rem;
  align-self: center;
}

.reference-hero-content h1 {
  max-width: 470px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.title-heart {
  width: 0.72em;
  height: 0.72em;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.04em;
}

.reference-hero-content > p:not(.reference-disclaimer) {
  max-width: 490px;
  margin-bottom: 1.5rem;
  color: #43533b;
  font-size: 1rem;
  line-height: 1.75;
}

.reference-button {
  min-width: 165px;
  justify-content: space-between;
  border-radius: 9px;
  padding: 0.8rem 1.2rem;
}

.reference-disclaimer {
  max-width: 490px;
  margin: 1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #66745f;
}

.reference-hero-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.reference-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244,248,240,0.35), transparent 26%);
  pointer-events: none;
}

.reference-hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-caption {
  position: absolute;
  z-index: 1;
  right: 1.6rem;
  bottom: 1.45rem;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  margin: 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.42);
}

.photo-caption span {
  max-width: 150px;
  text-align: right;
}

.photo-caption svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.services-showcase {
  padding: 2.2rem 0 2.6rem;
  background: #fffefb;
}

.services-showcase .section-header {
  margin-bottom: 1.6rem;
}

.services-showcase .section-header h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.services-showcase .section-header p {
  margin: 0;
  font-size: 0.98rem;
}

.services-showcase .service-card {
  min-height: 322px;
  border-radius: 14px;
  box-shadow: 0 5px 22px rgba(49, 76, 34, 0.09);
}

.services-showcase .service-icon-wrap {
  width: 82px;
  height: 82px;
}

.services-showcase .service-card-body .btn {
  border-radius: 8px;
  justify-content: space-between;
}

.benefits-section {
  padding: 2.2rem 0 2.5rem;
  background: linear-gradient(180deg, #eaf4e4, #f1f7ed);
  border-top: 1px solid rgba(60,90,40,0.08);
  border-bottom: 1px solid rgba(60,90,40,0.08);
}

.benefits-section .section-header {
  margin-bottom: 1.4rem;
}

.benefits-section .section-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.benefits-section .why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.benefits-section .why-item {
  padding: 0.8rem 1.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.benefits-section .why-item + .why-item {
  border-left: 1px solid rgba(60,90,40,0.15);
}

.benefits-section .why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.55rem;
  background: transparent;
}

.benefits-section .why-icon .line-icon {
  width: 38px;
  height: 38px;
}

.benefits-section .why-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.benefits-section .why-item p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.how-section {
  background: #fffefb;
}

.how-section .step {
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(49,76,34,0.07);
}

.closing-cta {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--dark-green);
}

.closing-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,52,19,0.9) 0%, rgba(35,66,26,0.72) 38%, rgba(35,66,26,0.08) 72%);
}

.closing-content {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.closing-content h2 {
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 500px;
}

.closing-content p {
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.closing-button {
  min-width: 150px;
  justify-content: space-between;
  background: #fff;
  color: var(--dark-green);
  border-radius: 9px;
}

.closing-button:hover {
  background: var(--sage-light);
  color: var(--dark-green);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--sage-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(60, 90, 40, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1.35rem;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sage-light), var(--sage));
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.line-icon {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-icon .icon-accent {
  stroke: var(--gold);
  stroke-width: 2.3;
}

.service-card-body {
  padding: 1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.service-card-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.service-card-body .btn {
  width: 100%;
}

/* Why choose */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-item {
  background: var(--white);
  padding: 1.6rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(60, 90, 40, 0.08);
  text-align: center;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--dark-green);
}

.why-icon .line-icon {
  width: 36px;
  height: 36px;
}

.why-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.why-item p {
  font-size: 0.92rem;
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  padding: 1.55rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(60, 90, 40, 0.08);
  position: relative;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-green);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.92rem;
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--dark-green);
}

.price-card.highlight {
  border-top-color: var(--gold);
}

.price-card h3 {
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  gap: 1rem;
}

.price-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0.75rem;
}

.price-value {
  font-weight: 600;
  color: var(--dark-green);
  flex: 0 0 auto;
  text-align: right;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.same-price-banner {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  text-align: center;
  border-left: 5px solid var(--gold);
}

.same-price-banner p {
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--sage-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--medium-green);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
}

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

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

.faq-answer-inner {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--off-white);
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--medium-green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90, 122, 58, 0.15);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: var(--sage-light);
  border-radius: 8px;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Content page */
.content-page {
  padding: 3rem 0 4rem;
}

.content-page .content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-page .content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.content-page .content h2:first-child {
  margin-top: 0;
}

.content-page .content ul,
.content-page .content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  color: var(--text-muted);
}

.content-page .content li {
  margin-bottom: 0.4rem;
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.service-detail-single {
  grid-template-columns: minmax(0, 1fr);
}

.service-detail-single .service-detail-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--sage);
  position: sticky;
  top: 100px;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.example-list {
  background: var(--sage-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.example-list h4 {
  margin-bottom: 0.75rem;
  color: var(--dark-green);
}

.example-list ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.example-list li {
  margin-bottom: 0.35rem;
}

.price-box {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.price-box h4 {
  margin-bottom: 0.75rem;
  color: var(--dark-green);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1c3827;
  color: var(--sage-light);
  padding: 4rem 0 1.8rem;
  margin-top: auto;
}

.site-footer::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cpath d='M0 71 C190 110 350 52 550 38 S885 18 1200 69 L1200 220 L0 220 Z' fill='%23142d1e'/%3E%3Cpath d='M0 71 C190 110 350 52 550 38 S885 18 1200 69' fill='none' stroke='%23c9a864' stroke-width='4' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  padding-bottom: 7rem;
  padding-right: clamp(0px, 21vw, 270px);
  position: relative;
  z-index: 1;
}

.footer-grid::after {
  content: none;
}

.footer-brand img {
  width: 205px;
  max-height: 170px;
  object-fit: contain;
  object-position: left center;
  height: auto;
  display: block;
  margin: -1rem 0 0.35rem -0.5rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: brightness(1.32) saturate(0.94);
}

.footer-brand p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.footer-brand p::after {
  content: ' ♡';
  color: var(--gold-light);
  font-size: 1.35em;
}

.footer-company {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(255,255,255,0.84);
  font-size: 0.92rem;
}

.footer-company strong {
  color: var(--white);
  font-size: 0.95rem;
}

.footer-company a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.footer-company a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  padding: 0.34rem 0;
}

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

.footer-bottom {
  border-top: 0;
  padding-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  min-height: 7.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
  text-align: left;
}

.footer-bottom > [data-i18n="area_note"] {
  max-width: 38rem;
}

.footer-script {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  justify-self: end;
  margin-right: 10rem;
  color: #fff;
  font-family: 'Segoe Print', 'Bradley Hand', 'Brush Script MT', cursive;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.25;
  transform: rotate(-4deg);
}

.footer-script-words {
  display: grid;
  white-space: nowrap;
}

.footer-script-heart {
  font-family: Georgia, serif;
  font-size: 2.2em;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
}

.footer-social {
  margin-top: 1.5rem;
}

.footer-social h4 {
  margin-bottom: 0.7rem;
  color: var(--white);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(245, 208, 138, 0.55);
  border-radius: 50%;
  background: rgba(255,255,255,0.055);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: #102f1b;
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  outline: none;
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link svg[fill="none"] {
  fill: none;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* Chatbot */
.chatbot-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: var(--dark-green);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(60, 90, 40, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.chatbot-toggle:hover {
  background: var(--medium-green);
  transform: translateY(-2px);
}

.chatbot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chatbot-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100% - 2rem);
  height: 520px;
  max-height: calc(100vh - 8rem);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  border: 1px solid var(--border);
}

.chat-header-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-avatar {
  position: absolute;
  left: -38px;
  top: 0;
  width: 30px;
  height: 30px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
}
.chat-inline-choices {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 0.5rem;
  padding-left: 38px;
  min-width: 0;
}
.chat-inline-choices button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  flex-shrink: 0;
  gap: 0.5rem;
  background: var(--dark-green);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  flex: 1;
  min-width: 0;
  color: white;
  font-size: 1rem;
  margin: 0;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}

.chatbot-messages {
  position: relative;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
  touch-action: pan-y;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--sage-light);
}

.chat-msg {
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-shrink: 0;
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-msg.bot {
  position: relative;
  margin-left: 38px;
  max-width: calc(100% - 38px);
  background: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chat-msg.user {
  background: var(--dark-green);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message-status {
  align-self: flex-end;
  margin-top: -0.55rem;
  padding-right: 0.2rem;
  color: var(--text-medium);
  font-size: 0.875rem;
  line-height: 1.3;
}

.chat-message-status[data-state="sent"]::before {
  content: "✓ ";
}

.chat-message-status[data-state="error"],
.chat-message-status[data-state="uncertain"] {
  max-width: 88%;
  color: #9b2c2c;
  text-align: right;
}

.chat-message-status button {
  font: inherit;
  color: var(--dark-green);
  background: transparent;
  border: 0;
  padding: 0.4rem;
  text-decoration: underline;
  cursor: pointer;
}

.chat-contact-notice a {
  color: var(--dark-green);
  font-weight: 600;
  text-decoration: underline;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.chat-suggestion {
  background: var(--sage);
  border: none;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--dark-green);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.chat-suggestion:hover {
  background: var(--light-green);
  color: white;
}

.chat-handoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.chat-handoff-note {
  color: var(--text-medium);
  font-size: 0.78rem;
  line-height: 1.35;
}

.chat-handoff-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--dark-green);
  color: white;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.chat-handoff-button:hover,
.chat-handoff-button:focus-visible {
  background: var(--medium-green);
}

.chat-typing-indicator {
  min-height: 2.1rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--text-medium);
  font-size: 0.82rem;
  font-style: italic;
}

.chat-typing-indicator[hidden] {
  display: none;
}

.chat-handoff-button:focus-visible {
  outline: 3px solid rgba(232, 168, 56, 0.55);
  outline-offset: 2px;
}

.chatbot-input-area {
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.chatbot-input-area input {
  min-width: 0;
  width: 0;
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 25px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.chatbot-input-area input:focus {
  border-color: var(--medium-green);
}

.chatbot-send {
  flex-shrink: 0;
  background: var(--dark-green);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-send:hover {
  background: var(--medium-green);
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 1399px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem max(1rem, calc((100vw - 1180px) / 2));
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 0.25rem;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

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

  .main-nav a {
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 0.95rem;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-img {
    position: static;
    max-height: 320px;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reference-hero-content {
    padding-left: 1.5rem;
    padding-right: 1.8rem;
  }

  .benefits-section .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-section .why-item:nth-child(3) {
    border-left: 0;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 0.25rem;
  }

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

  .main-nav a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .main-nav .mobile-language {
    display: flex;
    margin-top: 0.5rem;
  }

  .header-actions > .lang-switcher {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .logo-link img {
    height: 58px;
  }

  .reference-hero {
    background: #f2f7ee;
  }

  .reference-hero-grid {
    grid-template-columns: 1fr;
  }

  .reference-hero-content {
    padding: 2.5rem 1.35rem 2.25rem;
  }

  .reference-hero-content h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .reference-hero-photo {
    min-height: 380px;
  }

  .photo-caption {
    right: 1.2rem;
    bottom: 1.1rem;
  }

  .services-showcase {
    padding: 2.5rem 0;
  }

  .benefits-section .why-item {
    padding: 1.25rem 1rem;
  }

  .benefits-section .why-item:nth-child(3),
  .benefits-section .why-item:nth-child(4) {
    border-top: 1px solid rgba(60,90,40,0.15);
  }

  .closing-cta,
  .closing-content {
    min-height: 330px;
  }

  .closing-cta > img {
    object-position: 68% center;
  }

  .closing-overlay {
    background: linear-gradient(90deg, rgba(23,52,19,0.92), rgba(35,66,26,0.62) 70%, rgba(35,66,26,0.2));
  }

  .section {
    padding: 3rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    margin-bottom: 1.25rem;
    padding-bottom: 2.75rem;
  }

  .site-footer {
    padding-top: 3.25rem;
  }

  .footer-brand img {
    width: 185px;
  }

  .footer-bottom {
    justify-content: flex-start;
    text-align: left;
  }

  .chatbot-window {
    bottom: 4.75rem;
    right: 1rem;
    left: auto;
    width: min(420px, calc(100% - 2rem));
    height: min(58dvh, 480px);
    max-height: calc(100dvh - 7rem);
  }

  .chatbot-toggle {
    right: 0.65rem;
    bottom: 0.65rem;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .chatbot-toggle span:first-child {
    font-size: 1.05rem;
  }

  .chatbot-toggle span:last-child {
    display: none;
  }
}

@media (max-width: 480px) {
  .content-page {
    padding: 2rem 0 3rem;
  }

  .content-page .content,
  .contact-info,
  .contact-form,
  .price-card {
    padding: 1.35rem;
  }

  .page-hero {
    padding: 2rem 0;
  }

  .page-hero h1,
  .page-hero p,
  .content-page h2,
  .content-page p,
  .content-page li {
    overflow-wrap: anywhere;
  }

  .price-row {
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem 0;
    gap: 0;
  }

  .service-icon-wrap {
    width: 64px;
    height: 64px;
  }

  .service-icon-wrap .line-icon {
    width: 38px;
    height: 38px;
  }

  .service-card-body {
    padding: 0.9rem 0 1rem;
  }

  .service-card-body .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .header-actions .btn {
    padding: 0.58rem 0.78rem;
    font-size: 0.82rem;
  }

  .header-inner {
    gap: 0.45rem;
  }

  .logo-link img {
    height: 52px;
  }

  .reference-hero-photo {
    min-height: 320px;
  }

  .reference-disclaimer {
    font-size: 0.78rem;
  }

  .benefits-section .why-grid {
    grid-template-columns: 1fr;
  }

  .benefits-section .why-item + .why-item,
  .benefits-section .why-item:nth-child(3),
  .benefits-section .why-item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(60,90,40,0.15);
  }
}

/* Scoped September update: original navigation, hero and new introductory visit. */
@media (min-width: 1400px) {
  .header-actions > .lang-switcher, .header-actions > .btn { display: none; }
  .main-nav .mobile-language { display: flex; }
}
.reference-hero { background: #f2f7ee; }
.reference-hero-grid { grid-template-columns: minmax(0, 48%) minmax(0, 52%); min-height: 0; align-items: center; padding-block: 2.5rem; }
.reference-hero-content { padding: 2rem 2.5rem 2rem 1.5rem; }
.reference-hero-photo { min-height: 0; align-self: center; margin-right: 1rem; background: transparent; border-radius: 16px; }
.reference-hero-photo > img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.reference-hero-photo::after { display: none; }
.intro-card { max-width: 900px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 2.5rem); background: white; border-radius: 20px; }
.intro-card p { margin-bottom: 1rem; }
.intro-form { margin-top: 1.5rem; }
.intro-notice, .form-feedback { padding: 1rem; background: var(--green-pale, #eef3e7); border-radius: 12px; }
.form-error { border: 1px solid #a13c32; }
.intro-card [hidden], .form-feedback[hidden] { display: none !important; }
.intro-form input, .intro-form select { min-width: 0; max-width: 100%; }
@media (max-width: 980px) {
  .reference-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 1.5rem 2.5rem; }
  .reference-hero-content { width: 100%; max-width: 760px; margin-inline: auto; padding: 2rem 1.5rem; }
  .reference-hero-photo { width: calc(100% - 3rem); max-width: 760px; margin-inline: auto; }
  .footer-grid { padding-right: 0; padding-bottom: 14rem; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 768px) {
  .reference-hero-content { padding: 1.5rem 1.35rem 1.75rem; }
  .reference-hero-photo { width: calc(100% - 2.7rem); border-radius: 12px; }
  .site-footer::before { height: 270px; }
  .footer-grid { padding-bottom: 14rem; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; min-height: 0; align-items: start; }
  .footer-script { margin-right: 5.5rem; font-size: clamp(1.25rem, 5vw, 1.65rem); }
  .footer-script-heart { font-size: 2em; }
}
@media (max-width: 390px) {
  .footer-script { margin-right: 5rem; font-size: 1.1rem; }
}
