/* =========================================================
   OPG Branko Marinov – style.css
   Premium Croatian Olive Oil – German Market
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-olive:        #4a5e2f;
  --color-olive-dark:   #2d3a1e;
  --color-olive-light:  #6b7c3f;
  --color-olive-pale:   #dce8c8;
  --color-gold:         #c8a84b;
  --color-gold-light:   #e0c478;
  --color-gold-muted:   #a8893a;
  --color-beige:        #f5efe0;
  --color-cream:        #faf8f3;
  --color-stone:        #c4b59a;
  --color-stone-dark:   #9e8870;
  --color-text:         #2c2c2c;
  --color-text-light:   #6b6b6b;
  --color-text-muted:   #9a9a9a;
  --color-white:        #ffffff;
  --color-border:       #e8e0d0;
  --color-whatsapp:     #25D366;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(45, 58, 30, 0.06);
  --shadow-sm:  0 2px 12px rgba(45, 58, 30, 0.08);
  --shadow-md:  0 4px 24px rgba(45, 58, 30, 0.12);
  --shadow-lg:  0 8px 40px rgba(45, 58, 30, 0.16);
  --shadow-xl:  0 16px 64px rgba(45, 58, 30, 0.20);

  /* Transitions */
  --transition:       0.3s ease;
  --transition-slow:  0.5s ease;

  /* Layout */
  --max-width:       1200px;
  --max-width-text:  760px;
  --header-height:   80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-gold);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-olive-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-light);
}

.text-small {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.text-serif {
  font-family: var(--font-serif);
}

.text-olive { color: var(--color-olive); }
.text-gold  { color: var(--color-gold); }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.font-light  { font-weight: 300; }
.font-medium { font-weight: 500; }

/* --- Layout & Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-olive);
  color: var(--color-white);
  border-color: var(--color-olive);
}

.btn-primary:hover {
  background: var(--color-olive-dark);
  border-color: var(--color-olive-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--color-olive);
  color: var(--color-white);
  transform: translateY(-1px);
}

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

.btn-gold:hover {
  background: var(--color-gold-muted);
  border-color: var(--color-gold-muted);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost:hover {
  background: var(--color-white);
  color: var(--color-olive);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
}

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

.btn-whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(28, 38, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.25);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  background: rgba(28, 38, 18, 0.97);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-lg);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-olive-dark);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

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

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.product-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  background: var(--color-beige);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

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

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-gold-light);
  background: rgba(200, 168, 75, 0.12);
}

.nav-list .nav-shop a {
  color: var(--color-gold-light);
  font-weight: 600;
  border: 1.5px solid rgba(200, 168, 75, 0.5);
  padding: 0.4rem 1rem;
}

.nav-list .nav-shop a:hover {
  background: var(--color-gold);
  color: var(--color-olive-dark);
  border-color: var(--color-gold);
}

.nav-list .nav-shop a::after {
  display: none;
}

.header-cta {
  flex-shrink: 0;
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.burger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Page offset for fixed header --- */
.page-offset {
  padding-top: var(--header-height);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-olive-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-olive-oil.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.65;
  transition: transform 8s ease;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 42, 18, 0.82) 0%,
    rgba(30, 42, 18, 0.55) 55%,
    rgba(30, 42, 18, 0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-2xl) 0;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
  padding: 0.4rem 1rem;
  border: 1px solid rgba(200, 168, 75, 0.5);
  border-radius: var(--radius-full);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-lg);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2.5s ease infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Trust / Benefits Strip --- */
.trust-strip {
  background: var(--color-beige);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  color: var(--color-olive);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 26px;
  height: 26px;
}

.trust-item h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  line-height: 1.3;
}

.trust-item p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
}

/* --- Products Section --- */
.products-section {
  background: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-olive), var(--color-gold));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card.featured {
  background: var(--color-olive-dark);
  border-color: var(--color-olive-dark);
  color: var(--color-white);
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured .product-size {
  color: var(--color-white);
}

.product-card.featured .product-use {
  color: rgba(255,255,255,0.75);
}

.product-size {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-olive);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.product-card.featured .product-size {
  color: var(--color-gold-light);
}

.product-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.product-card.featured .product-label {
  color: rgba(255,255,255,0.6);
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.product-use {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

/* --- Why Section --- */
.why-section {
  background: var(--color-cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.why-image:hover img {
  transform: scale(1.03);
}

.why-content .section-label {
  margin-bottom: var(--space-xs);
}

.why-content h2 {
  margin-bottom: var(--space-md);
}

.why-features {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--color-olive-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-olive);
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 20px;
  height: 20px;
}

.why-feature h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.why-feature p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Family / Heritage Section --- */
.family-section {
  background: var(--color-olive-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.family-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.family-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

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

.family-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.family-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.8;
}

.family-quote {
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--color-gold);
  background: rgba(200,168,75,0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.family-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-gold-light);
  margin: 0;
}

.family-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

/* --- Quality Section --- */
.quality-section {
  background: var(--color-white);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.quality-card {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.quality-card:hover {
  border-color: var(--color-olive-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.quality-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-olive-pale);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.quality-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.quality-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-olive) 0%, var(--color-olive-dark) 100%);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,168,75,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(200,168,75,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner .section-label {
  color: var(--color-gold-light);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Blog Teaser Section --- */
.blog-teaser {
  background: var(--color-beige);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  flex: 1;
}

.blog-card h3 a {
  color: var(--color-olive-dark);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--color-olive);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-olive);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 0.5rem;
  color: var(--color-gold);
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--color-cream);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

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

.faq-question:hover {
  color: var(--color-olive);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-beige);
  border-radius: 50%;
  color: var(--color-olive);
  transition: transform var(--transition), background var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-olive);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding var(--transition);
}

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

.faq-answer-inner {
  padding: 0 var(--space-md) 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

.faq-answer-inner p {
  margin: 0;
}

.faq-answer-inner a {
  color: var(--color-olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Final CTA Section --- */
.final-cta {
  background: var(--color-beige);
  text-align: center;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.final-cta h2 {
  margin-bottom: var(--space-sm);
}

.final-cta p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.final-cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-olive-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-sm);
}

.footer-brand .footer-origin {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.04em;
}

.footer-brand .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.footer-brand .footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.footer-brand .footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.footer-brand .footer-social a svg {
  width: 16px;
  height: 16px;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.site-footer ul li a:hover {
  color: var(--color-gold-light);
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1.1rem;
  background: var(--color-whatsapp);
  color: var(--color-white) !important;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}

.footer-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
}

.footer-whatsapp svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* --- WhatsApp Sticky Button --- */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-sticky:hover {
  background: #1ebe5b;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
  color: var(--color-white);
}

.whatsapp-sticky svg {
  width: 28px;
  height: 28px;
}

.whatsapp-sticky::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: pulse-ring 2.5s ease infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 1; }
  70%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--color-olive-dark);
  color: var(--color-white);
  padding: var(--space-md) var(--space-md);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  min-width: 280px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.cookie-banner p a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-olive-dark) 0%, var(--color-olive) 100%);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(200,168,75,0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(200,168,75,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  color: var(--color-gold-light);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: var(--space-sm) 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-olive);
}

.breadcrumb-sep {
  color: var(--color-stone);
}

/* --- About Page --- */
.about-intro {
  background: var(--color-cream);
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

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

.about-text h2 {
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.about-values {
  background: var(--color-beige);
}

.dalmatia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.dalmatia-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/5;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: var(--color-olive-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--color-olive);
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Blog Page --- */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

/* --- Article Page --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
}

.article-body {
  max-width: 100%;
}

.article-header {
  margin-bottom: var(--space-xl);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.article-meta-sep { color: var(--color-stone); }

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}

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

.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
}

.article-content h2 {
  font-size: 1.7rem;
  margin: var(--space-xl) 0 var(--space-sm);
}

.article-content h3 {
  font-size: 1.3rem;
  margin: var(--space-lg) 0 var(--space-xs);
}

.article-content p { margin-bottom: 1.2em; }

.article-content ul,
.article-content ol {
  margin: var(--space-sm) 0 var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { color: var(--color-text-light); font-size: 0.98rem; }

.article-content strong { color: var(--color-olive-dark); }

.article-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
}

.article-cta {
  background: var(--color-olive-dark);
  color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  margin: var(--space-xl) 0;
}

.article-cta h3 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.article-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.sidebar-widget {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.sidebar-widget h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.sidebar-article {
  display: flex;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article-thumb {
  width: 64px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-article-info h5 {
  font-size: 0.85rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.sidebar-article-info h5 a {
  color: var(--color-olive-dark);
}

.sidebar-article-info h5 a:hover {
  color: var(--color-olive);
}

.sidebar-article-info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--color-olive) 0%, var(--color-olive-dark) 100%);
  color: var(--color-white);
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.2);
  margin-bottom: var(--space-sm);
}

.sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-md);
}

/* --- Article FAQ --- */
.article-faq {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-beige);
  border-radius: var(--radius-lg);
}

.article-faq h2 {
  margin-bottom: var(--space-md);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-olive-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-olive);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0;
}

.contact-detail-text a:hover {
  color: var(--color-olive);
}

.contact-form-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-form-card h3 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-olive-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-olive);
  box-shadow: 0 0 0 3px rgba(74, 94, 47, 0.12);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.form-checkbox-group {
  background: var(--color-beige);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
  color: var(--color-text);
}

.form-checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-olive);
  cursor: pointer;
}

.form-checkbox-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

.form-checkbox-text a {
  color: var(--color-olive);
  text-decoration: underline;
}

/* --- Legal Pages --- */
.legal-content {
  padding: var(--space-xl) 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: var(--space-md);
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal-content ul li {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--color-olive);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Utility Classes --- */
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-olive), var(--color-gold));
  border-radius: var(--radius-full);
  margin: var(--space-md) auto;
}

.divider--left {
  margin-left: 0;
}

/* Olive oil decorative leaf */
.leaf-divider {
  text-align: center;
  color: var(--color-olive-pale);
  font-size: 1.5rem;
  margin: var(--space-md) 0;
  letter-spacing: 0.5em;
}

/* --- Highlight Box --- */
.highlight-box {
  background: var(--color-beige);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-olive);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0;
}

.highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* --- Back to top --- */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.back-to-top:hover {
  color: var(--color-olive);
}
