/* Gorgova — template turism Delta Dunării
   Paletă brand: #2B2949, #58C8DD, #00859A, #A1C290, #D8F9AF, #C5C6C6 */

:root {
  --ink: #2b2949;
  --sky: #58c8dd;
  --teal: #00859a;
  --sage: #a1c290;
  --lime: #d8f9af;
  --muted: #c5c6c6;
  --white: #ffffff;
  --surface: #f4f7f5;
  --max: 72rem;
  --radius: 0.75rem;
  --shadow: 0 0.35rem 1.25rem rgba(43, 41, 73, 0.12);
  --tap-min: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lexend", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 70%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: var(--tap-min);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: clamp(9rem, 28vw, 11.5rem);
  height: auto;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0 0.75rem;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--teal);
  color: var(--white);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 0.85rem 0.25rem;
  min-height: var(--tap-min);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 50%, transparent);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.site-nav {
  display: none;
  width: 100%;
  padding-bottom: 0.5rem;
}

.site-nav.is-open {
  display: block;
}

.header-inner.nav-open {
  flex-wrap: wrap;
}

.header-inner.nav-open .site-nav {
  flex-basis: 100%;
}

@media (min-width: 48rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
    padding-bottom: 0;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    justify-content: flex-end;
    align-items: center;
  }

  .site-nav a {
    border-bottom: none;
    padding: 0.5rem 0.25rem;
    min-height: auto;
  }

  .header-inner.nav-open {
    flex-wrap: nowrap;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 36rem);
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink) center / cover no-repeat;
  background-image: linear-gradient(
      165deg,
      rgba(43, 41, 73, 0.55) 0%,
      rgba(0, 133, 154, 0.45) 100%
    ),
    url("../images/danube-delta-hero-panoramio.jpg?v=20260322b");
}

.hero-inner {
  padding: 2.5rem 0 2.75rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0 0 1.35rem;
  font-size: 1.1rem;
  max-width: 36ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--sky);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lime);
  color: var(--ink);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
section {
  padding: 2.75rem 0;
}

.section-intro {
  margin-bottom: 1.75rem;
}

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

.section-intro p {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
  max-width: 62ch;
}

.section-muted {
  background: var(--white);
}

.section-sage {
  background: color-mix(in srgb, var(--sage) 28%, var(--white));
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 36rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
  display: flex;
  flex-direction: column;
}

.card-media {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-body p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}

.card-link {
  align-self: flex-start;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
}

/* Split feature */
.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.split-visual {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bullets {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.bullets li {
  margin-bottom: 0.5rem;
}

/* SEO / servicii — blocuri cu ancoră */
.service-block {
  margin-bottom: 2.5rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block .split {
  margin-top: 0;
}

.lead {
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  max-width: 65ch;
}

.lead + .lead {
  margin-top: 0.85rem;
}

/* Răspuns scurt (AEO / scanare rapidă) */
.aeo-box {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--lime) 35%, var(--white)) 0%,
    var(--white) 100%
  );
  border: 1px solid color-mix(in srgb, var(--sage) 50%, transparent);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 1.15rem 1.25rem;
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow);
}

.aeo-box h2 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.aeo-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 70ch;
}

.aeo-box p + p {
  margin-top: 0.65rem;
}

.aeo-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 50%, transparent);
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 75%, var(--muted));
}

/* FAQ */
.faq-section h2 {
  margin-bottom: 1.25rem;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  box-shadow: var(--shadow);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 85%, var(--muted));
  font-size: 0.98rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  padding-top: 0.85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, color-mix(in srgb, var(--teal) 70%, var(--ink)) 100%);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 0;
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 40ch;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: var(--white);
}

.cta-band .cta-inline-link {
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cta-band .cta-inline-link:hover,
.cta-band .cta-inline-link:focus-visible {
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--white) 88%, var(--muted));
  padding: 2.25rem 0 2rem;
  font-size: 0.98rem;
}

.site-footer a {
  color: var(--sky);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--lime);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--white) 65%, var(--muted));
}
