/* ADAMA local fonts */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-roman-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-roman-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Language-aware font tokens */
:root {
  --adama-font-en: "Jost", sans-serif;
  --adama-font-el: "Inter", sans-serif;
  --adama-font-body: var(--adama-font-en);
}

html[lang^="el"] {
  --adama-font-body: var(--adama-font-el);
}

/* Apply local typeface by page language */
body,
button,
input,
select,
textarea {
  font-family: var(--adama-font-body);
}
/* Override legacy theme typography only on Greek pages */
html[lang^="el"] #start_nicdark_framework,
html[lang^="el"] .nd_options_customizer_fonts,
html[lang^="el"] .nd_options_customizer_fonts .nd_options_second_font,
html[lang^="el"] .nd_options_customizer_fonts p,
html[lang^="el"] .nd_options_customizer_fonts a,
html[lang^="el"] .nd_options_customizer_fonts select,
html[lang^="el"] .nd_options_customizer_fonts textarea,
html[lang^="el"] .nd_options_customizer_fonts label,
html[lang^="el"] .nd_options_customizer_fonts input {
  font-family: var(--adama-font-body) !important;
}

/* ADAMA design tokens */
:root {
  --adama-cream: #f5f0e6;
  --adama-ink: #1c1408;
  --adama-forest: #182810;
  --adama-forest-deep: #0e1a09;
  --adama-terracotta: #c4895a;
  --adama-surface: #fffdf8;
  --adama-text-primary: var(--adama-ink);
  --adama-text-secondary: #50483e;
  --adama-border: rgb(28 20 8 / 14%);

  --adama-container: 82rem;
  --adama-page-gutter: 1.25rem;
  --adama-section-space: 4rem;

  --adama-space-1: .5rem;
  --adama-space-2: 1rem;
  --adama-space-3: 1.5rem;
  --adama-space-4: 2rem;
  --adama-space-5: 2.5rem;
  --adama-space-6: 3rem;
  --adama-space-8: 4rem;
  --adama-space-10: 5rem;
  --adama-space-12: 6rem;
}

/* Mobile landscape: 768–880px */
@media (min-width: 48rem) {
  :root {
    --adama-page-gutter: 1.5rem;
    --adama-section-space: 5rem;
  }
}

/* Tablet portrait: 881–1024px */
@media (min-width: 55.0625rem) {
  :root {
    --adama-page-gutter: 1.75rem;
    --adama-section-space: 5.5rem;
  }
}

/* Tablet landscape: 1025–1200px */
@media (min-width: 64.0625rem) {
  :root {
    --adama-page-gutter: 2rem;
    --adama-section-space: 6rem;
  }
}

/* Laptop: 1201–1366px */
@media (min-width: 75.0625rem) {
  :root {
    --adama-page-gutter: 2rem;
    --adama-section-space: 6.5rem;
  }
}

/* Desktop: 1367px+ */
@media (min-width: 85.4375rem) {
  :root {
    --adama-page-gutter: 2.5rem;
    --adama-section-space: 7rem;
  }
}

/* ADAMA layout utilities */
.adama-section {
  padding-block: var(--adama-section-space);
}

.adama-container {
  width: min(
    calc(100% - (var(--adama-page-gutter) * 2)),
    var(--adama-container)
  );
  margin-inline: auto;
}

/* ADAMA fluid typography */
:root {
  --adama-type-display: clamp(3.5rem, 2.5rem + 3.4vw, 6rem);
  --adama-type-h1: clamp(2.5rem, 2.05rem + 1.8vw, 3.5rem);
  --adama-type-h2: clamp(1.875rem, 1.6rem + 1.1vw, 2.5rem);
  --adama-type-h3: clamp(1.5rem, 1.28rem + .85vw, 2rem);
  --adama-type-h4: clamp(1.25rem, 1.14rem + .42vw, 1.5rem);
  --adama-type-h5: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  --adama-type-h6: .875rem;
}

.adama-display,
.adama-h1,
.adama-h2,
.adama-h3,
.adama-h4,
.adama-h5,
.adama-h6 {
  margin: 0;
  color: var(--adama-forest);
  font-family: var(--adama-font-body);
  text-wrap: balance;
}

.adama-display {
  font-size: var(--adama-type-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.adama-h1 {
  font-size: var(--adama-type-h1);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.adama-h2 {
  font-size: var(--adama-type-h2);
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.adama-h3 {
  font-size: var(--adama-type-h3);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.adama-h4 {
  font-size: var(--adama-type-h4);
  font-weight: 500;
  line-height: 1.25;
}

.adama-h5 {
  font-size: var(--adama-type-h5);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
}

.adama-h6 {
  font-size: var(--adama-type-h6);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Elementor Heading Widget bridge */
.adama-display .elementor-heading-title,
.adama-h1 .elementor-heading-title,
.adama-h2 .elementor-heading-title,
.adama-h3 .elementor-heading-title,
.adama-h4 .elementor-heading-title,
.adama-h5 .elementor-heading-title,
.adama-h6 .elementor-heading-title {
  margin: 0;
  color: var(--adama-forest);
  font-family: var(--adama-font-body);
  text-wrap: balance;
}

.adama-display .elementor-heading-title {
  font-size: var(--adama-type-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.adama-h1 .elementor-heading-title {
  font-size: var(--adama-type-h1);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.adama-h2 .elementor-heading-title {
  font-size: var(--adama-type-h2);
  font-weight: 350;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.adama-h3 .elementor-heading-title {
  font-size: var(--adama-type-h3);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.adama-h4 .elementor-heading-title {
  font-size: var(--adama-type-h4);
  font-weight: 500;
  line-height: 1.25;
}

.adama-h5 .elementor-heading-title {
  font-size: var(--adama-type-h5);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
}

.adama-h6 .elementor-heading-title {
  font-size: var(--adama-type-h6);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Win over Elementor's Heading widget typography */
body .adama-display.elementor-widget-heading .elementor-heading-title,
body .adama-h1.elementor-widget-heading .elementor-heading-title,
body .adama-h2.elementor-widget-heading .elementor-heading-title,
body .adama-h3.elementor-widget-heading .elementor-heading-title,
body .adama-h4.elementor-widget-heading .elementor-heading-title,
body .adama-h5.elementor-widget-heading .elementor-heading-title,
body .adama-h6.elementor-widget-heading .elementor-heading-title {
  font-family: var(--adama-font-body);
}

body .adama-display.elementor-widget-heading .elementor-heading-title,
body .adama-h1.elementor-widget-heading .elementor-heading-title {
  font-weight: 300;
}

body .adama-h2.elementor-widget-heading .elementor-heading-title {
  font-weight: 350;
}

body .adama-h3.elementor-widget-heading .elementor-heading-title {
  font-weight: 400;
}

body .adama-h4.elementor-widget-heading .elementor-heading-title {
  font-weight: 500;
}

body .adama-h5.elementor-widget-heading .elementor-heading-title,
body .adama-h6.elementor-widget-heading .elementor-heading-title {
  font-weight: 600;
}

/* ADAMA buttons */
:root {
  --adama-parchment: #f0e8d8;
  --adama-terracotta-light: #d4a070;
  --adama-radius-sm: .125rem;
  --adama-ease-out: cubic-bezier(.23, 1, .32, 1);
}

body .adama-btn.elementor-widget-button .elementor-button,
body a.adama-btn,
body button.adama-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--adama-radius-sm);
  font-family: var(--adama-font-body);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color .26s var(--adama-ease-out),
    border-color .26s var(--adama-ease-out),
    color .26s var(--adama-ease-out),
    box-shadow .26s var(--adama-ease-out),
    transform .26s var(--adama-ease-out);
}

body .adama-btn--primary.elementor-widget-button .elementor-button,
body a.adama-btn--primary,
body button.adama-btn--primary {
  color: var(--adama-parchment);
  background: var(--adama-forest);
}

body .adama-btn--primary.elementor-widget-button .elementor-button:hover,
body a.adama-btn--primary:hover,
body button.adama-btn--primary:hover {
  background: var(--adama-forest-deep);
  transform: translateY(-1px);
}

body .adama-btn--accent.elementor-widget-button .elementor-button,
body a.adama-btn--accent,
body button.adama-btn--accent {
  color: var(--adama-ink);
  background: var(--adama-terracotta);
}

body .adama-btn--accent.elementor-widget-button .elementor-button:hover,
body a.adama-btn--accent:hover,
body button.adama-btn--accent:hover {
  background: var(--adama-terracotta-light);
}

body .adama-btn--outline.elementor-widget-button .elementor-button,
body a.adama-btn--outline,
body button.adama-btn--outline {
  color: var(--adama-forest);
  background: transparent;
  border-color: var(--adama-forest);
}

body .adama-btn--outline.elementor-widget-button .elementor-button:hover,
body a.adama-btn--outline:hover,
body button.adama-btn--outline:hover {
  background: rgb(24 40 16 / 8%);
}

body .adama-btn.elementor-widget-button .elementor-button:focus-visible,
body a.adama-btn:focus-visible,
body button.adama-btn:focus-visible {
  outline: 2px solid var(--adama-terracotta);
  outline-offset: 3px;
}

/* ADAMA custom-header navigation */
body .adama-nav-link,
body .adama-header .adama-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .75rem .25rem;
  font-family: var(--adama-font-body);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .15s var(--adama-ease-out);
}

body .adama-nav-link--on-dark,
body .adama-header .adama-nav-link--on-dark {
  color: rgb(240 232 216 / 86%);
}

body .adama-nav-link--on-dark:hover,
body .adama-nav-link--on-dark[aria-current="page"] {
  color: var(--adama-terracotta-light);
}

body .adama-nav-link--on-light,
body .adama-header .adama-nav-link--on-light {
  color: var(--adama-forest);
}

body .adama-nav-link--on-light:hover,
body .adama-nav-link--on-light[aria-current="page"] {
  color: var(--adama-terracotta);
}

body .adama-nav-link:focus-visible {
  outline: 2px solid var(--adama-terracotta);
  outline-offset: 4px;
}

/* Win over legacy theme link colours */
body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-dark {
  color: rgb(240 232 216 / 86%);
}

body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-dark:hover,
body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-dark[aria-current="page"] {
  color: var(--adama-terracotta-light);
}

body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-light {
  color: var(--adama-forest);
}

body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-light:hover,
body.nd_options_customizer_fonts a.adama-nav-link.adama-nav-link--on-light[aria-current="page"] {
  color: var(--adama-terracotta);
}

/* ADAMA cards */
:root {
  --adama-radius-md: .25rem;
  --adama-shadow-1: 0 1px 3px rgb(14 26 9 / 8%);
}

.adama-card {
  overflow: hidden;
  padding: var(--adama-space-4);
  color: var(--adama-text-primary);
  background: var(--adama-surface);
  border: 1px solid var(--adama-border);
  border-radius: var(--adama-radius-md);
  box-shadow: var(--adama-shadow-1);
}

.adama-card--dark {
  color: var(--adama-parchment);
  background: var(--adama-forest-deep);
  border-color: transparent;
}

.adama-card--dark .adama-display,
.adama-card--dark .adama-h1,
.adama-card--dark .adama-h2,
.adama-card--dark .adama-h3,
.adama-card--dark .adama-h4,
.adama-card--dark .adama-h5,
.adama-card--dark .adama-h6 {
  color: var(--adama-parchment);
}

/* ADAMA forms — only inside a container with adama-form or adama-field */
.adama-form,
.adama-field {
  font-family: var(--adama-font-body);
}

.adama-form label,
.adama-field label {
  display: block;
  margin-bottom: .5rem;
  color: var(--adama-forest);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.adama-form :is(
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  select,
  textarea
),
.adama-field :is(
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  select,
  textarea
) {
  width: 100%;
  min-height: 3rem;
  padding: .75rem;
  color: var(--adama-ink);
  background: var(--adama-surface);
  border: 1px solid var(--adama-border);
  border-radius: var(--adama-radius-sm);
  font: inherit;
  line-height: 1.4;
}

.adama-form textarea,
.adama-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.adama-form :is(input, select, textarea):focus-visible,
.adama-field :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--adama-terracotta);
  box-shadow: 0 0 0 3px rgb(196 137 90 / 24%);
}

.adama-form :is(.elementor-button, input[type="submit"]) {
  min-height: 2.75rem;
  padding: .75rem 1.25rem;
  color: var(--adama-parchment);
  background: var(--adama-forest);
  border: 1px solid transparent;
  border-radius: var(--adama-radius-sm);
  font-family: var(--adama-font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Elementor card-heading bridge */
body .adama-display.elementor-widget-heading .elementor-heading-title,
body .adama-h1.elementor-widget-heading .elementor-heading-title,
body .adama-h2.elementor-widget-heading .elementor-heading-title,
body .adama-h3.elementor-widget-heading .elementor-heading-title,
body .adama-h4.elementor-widget-heading .elementor-heading-title,
body .adama-h5.elementor-widget-heading .elementor-heading-title,
body .adama-h6.elementor-widget-heading .elementor-heading-title {
  color: var(--adama-forest);
}

/* Elementor form bridge */
body .adama-form.elementor-widget-form
  .elementor-field-group
  .elementor-field:not(.elementor-select-wrapper) {
  color: var(--adama-ink);
  background: var(--adama-surface);
  border-color: var(--adama-border);
}

body .adama-form.elementor-widget-form .elementor-button[type="submit"] {
  min-height: 2.75rem;
  padding: .75rem 1.25rem;
  color: var(--adama-parchment);
  background: var(--adama-forest);
  border: 1px solid transparent;
  border-radius: var(--adama-radius-sm);
  font-family: var(--adama-font-body);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Short heading colour classes */
body .forest,
body .forest .elementor-heading-title {
  color: var(--adama-forest);
}

body .cream,
body .cream .elementor-heading-title {
  color: var(--adama-parchment);
}

body .ink,
body .ink .elementor-heading-title {
  color: var(--adama-ink);
}

body .terracotta,
body .terracotta .elementor-heading-title {
  color: var(--adama-terracotta);
}

/* ADAMA eyebrow */
body .adama-eyebrow {
  --adama-eyebrow-color: var(--adama-terracotta-light);

  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  color: var(--adama-eyebrow-color);
}

body .adama-eyebrow::before {
  content: "";
  display: block;
  flex: 0 0 2rem;
  height: 1px;
  background: currentColor;
  opacity: .75;
}

body .adama-eyebrow.forest {
  --adama-eyebrow-color: var(--adama-forest);
}

body .adama-eyebrow.cream {
  --adama-eyebrow-color: var(--adama-parchment);
}

body .adama-eyebrow.ink {
  --adama-eyebrow-color: var(--adama-ink);
}

body .adama-eyebrow.terracotta {
  --adama-eyebrow-color: var(--adama-terracotta);
}

body .adama-eyebrow .elementor-widget-container,
body .adama-eyebrow .elementor-widget-container p,
body .adama-eyebrow .elementor-heading-title {
  margin: 0;
  color: var(--adama-eyebrow-color);
  font-family: var(--adama-font-body);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .25em;
  text-transform: uppercase;
}

/* Elementor heading colour priority */
body :is(
  .adama-display,
  .adama-h1,
  .adama-h2,
  .adama-h3,
  .adama-h4,
  .adama-h5,
  .adama-h6
).elementor-widget-heading {
  --adama-heading-color: var(--adama-forest);
}

body :is(
  .adama-display,
  .adama-h1,
  .adama-h2,
  .adama-h3,
  .adama-h4,
  .adama-h5,
  .adama-h6
).elementor-widget-heading .elementor-heading-title {
  color: var(--adama-heading-color);
}

body :is(
  .adama-display,
  .adama-h1,
  .adama-h2,
  .adama-h3,
  .adama-h4,
  .adama-h5,
  .adama-h6
).cream {
  --adama-heading-color: var(--adama-parchment);
}

body :is(
  .adama-display,
  .adama-h1,
  .adama-h2,
  .adama-h3,
  .adama-h4,
  .adama-h5,
  .adama-h6
).ink {
  --adama-heading-color: var(--adama-ink);
}

body :is(
  .adama-display,
  .adama-h1,
  .adama-h2,
  .adama-h3,
  .adama-h4,
  .adama-h5,
  .adama-h6
).terracotta {
  --adama-heading-color: var(--adama-terracotta);
}

/* ADAMA body text */
body .adama-body {
  --adama-body-color: var(--adama-text-primary);
}

body .adama-body.forest {
  --adama-body-color: var(--adama-forest);
}

body .adama-body.cream {
  --adama-body-color: var(--adama-parchment);
}

body .adama-body.ink {
  --adama-body-color: var(--adama-ink);
}

body .adama-body.terracotta {
  --adama-body-color: var(--adama-terracotta);
}

body .adama-body .elementor-widget-container,
body .adama-body .elementor-widget-container :is(p, ul, ol, li) {
  color: var(--adama-body-color);
  font-family: var(--adama-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

body .adama-body .elementor-widget-container a {
  color: inherit;
}

/* Secondary button for dark image / hero backgrounds */
body .adama-btn--outline-light.elementor-widget-button .elementor-button,
body a.adama-btn--outline-light,
body button.adama-btn--outline-light {
  color: var(--adama-parchment);
  background: transparent;
  border-color: var(--adama-parchment);
}

body .adama-btn--outline-light.elementor-widget-button .elementor-button:hover,
body a.adama-btn--outline-light:hover,
body button.adama-btn--outline-light:hover {
  color: var(--adama-forest);
  background: var(--adama-parchment);
  border-color: var(--adama-parchment);
}

/* ADAMA readable image hero overlay */
body .adama-hero {
  position: relative;
  isolation: isolate;
}

body .adama-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(
      90deg,
      rgb(14 26 9 / 86%) 0%,
      rgb(14 26 9 / 68%) 43%,
      rgb(14 26 9 / 28%) 72%,
      rgb(14 26 9 / 12%) 100%
    ),
    linear-gradient(
      0deg,
      rgb(14 26 9 / 70%) 0%,
      transparent 55%
    );
}

body .adama-hero > .adama-container {
  position: relative;
  z-index: 1;
}