/* =============================================
   Nemes-Terényi Melinda – Integrál Tanácsadó
   ============================================= */

:root {
  --navy: #2c3d5a;
  --navy-deep: #1e2d42;
  --terracotta: #c97b63;
  --terracotta-light: #e8a090;
  --coral: #d4846a;
  --cream: #faf6f1;
  --cream-dark: #f0e8df;
  --sage: #8fa87a;
  --sage-light: #b5c9a8;
  --mustard: #d4a853;
  --mauve: #b89b9b;
  --white: #ffffff;
  --text: #3d3d3d;
  --text-light: #6b6b6b;
  --shadow: rgba(44, 61, 90, 0.12);
  --shadow-lg: rgba(44, 61, 90, 0.2);
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 48px;
  --radius-full: 9999px;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Decorative blobs ---- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 61, 90, 0.06);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav__logo span {
  color: var(--terracotta);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: var(--radius-full);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--terracotta);
}

.nav__cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__blob-1 {
  width: 500px;
  height: 500px;
  background: var(--sage-light);
  top: -100px;
  right: -150px;
}

.hero__blob-2 {
  width: 400px;
  height: 400px;
  background: var(--terracotta-light);
  bottom: -80px;
  left: -100px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  animation: fadeUp 0.8s ease-out;
}

.hero__badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 0.5rem;
}

.hero h1 .accent {
  color: var(--terracotta);
  font-style: italic;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--navy);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.hero__text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__text p {
  margin-bottom: 0.75rem;
}

.hero__text-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem !important;
}

.hero__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.hero__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.hero__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}

.hero__text-closing {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0 !important;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 123, 99, 0.35);
}

.btn--primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(44, 61, 90, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.hero__image-wrap {
  position: relative;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero__image {
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
  box-shadow: 0 20px 60px var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3/4;
}

.hero__image-deco {
  position: absolute;
  border-radius: var(--radius-full);
  border: 3px solid var(--terracotta);
  opacity: 0.5;
}

.hero__image-deco--1 {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -30px;
}

.hero__image-deco--2 {
  width: 80px;
  height: 80px;
  bottom: 40px;
  left: -20px;
  border-color: var(--sage);
}

/* ---- Section shared ---- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

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

/* Integrál szemlélet összefoglaló */
.section--integral {
  padding-top: 70px;
  padding-bottom: 40px;
}

.integral-summary {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.integral-summary .section__title {
  margin-bottom: 1.75rem;
}

.integral-summary__body {
  text-align: left;
  background: var(--white);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--shadow);
  border-top: 4px solid var(--sage);
}

.integral-summary__body p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.15rem;
}

.integral-summary__body p:last-child {
  margin-bottom: 0;
}

.integral-summary__body em {
  font-style: italic;
  color: var(--navy);
}

/* Wave divider */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  border-radius: var(--radius-md) var(--radius-lg) var(--radius-lg) var(--radius-md);
  box-shadow: 0 16px 48px var(--shadow);
}

.about__image-accent {
  display: none;
  bottom: -20px;
  right: -20px;
  width: 45%;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--shadow);
  border: 4px solid var(--white);
}

.about__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.about__content p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.about__content p strong {
  color: var(--navy);
}

.about__method {
  margin-top: 2rem;
  background: var(--cream);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--terracotta);
}

.about__method h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about__method p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* ---- Gallery strip ---- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-strip__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 24px var(--shadow);
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-strip__item:hover img {
  transform: scale(1.05);
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--sage));
  border-radius: var(--radius-full);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px var(--shadow);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact__info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact__item-text h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}

.contact__item-text p,
.contact__item-text a {
  font-size: 1rem;
  color: var(--navy);
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__social a {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.contact__social a:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  color: var(--white);
}

/* ---- Form ---- */
.form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px var(--shadow);
}

.form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card > p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

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

.form-group label .required {
  color: var(--terracotta);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201, 123, 99, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--terracotta);
  flex-shrink: 0;
}

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

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-recaptcha {
  margin-bottom: 1.25rem;
}

.form-recaptcha__note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-light);
}

.form-recaptcha__note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-recaptcha__note a:hover {
  color: var(--terracotta);
}

.grecaptcha-badge {
  visibility: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.is-success {
  color: var(--navy);
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}

.form-status.is-error {
  color: #7f1d1d;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0;
}

.footer__logo span {
  color: var(--terracotta-light);
}

.footer__brand p {
  font-size: 0.9rem;
  margin: 0;
}

.footer p {
  font-size: 0.9rem;
}

.footer p a {
  color: var(--terracotta-light);
}

.footer p a:hover {
  color: var(--white);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  list-style: none;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--white);
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .hero__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__image-wrap {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 8px 32px var(--shadow);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .about__image-accent {
    width: 50%;
    bottom: -15px;
    right: -10px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .form-card {
    padding: 1.5rem;
  }
}
