/* Design DNA: Ibiza Boat | cinematic fullbleed hero | night-navy header | card-br cookie */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ib-navy: #0B1C2C;
  --ib-turquoise: #20B2AA;
  --ib-coral: #E85D4C;
  --ib-white: #FFFFFF;
  --ib-mist: #E8F0F4;
  --ib-navy-light: #132a42;
  --ib-font-display: "Archivo Black", sans-serif;
  --ib-font-body: "Manrope", sans-serif;
  --ib-radius: 8px;
  --ib-shadow: 0 4px 24px rgba(11, 28, 44, 0.15);
  --ib-transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ib-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ib-navy);
  background: var(--ib-white);
}

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

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

a:hover {
  color: var(--ib-coral);
}

h1, h2, h3, h4 {
  font-family: var(--ib-font-display);
  line-height: 1.2;
  font-weight: 400;
}

.ib-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.ib-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ib-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.ib-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ib-logo {
  display: flex;
  flex-direction: column;
  color: var(--ib-white);
  text-decoration: none;
}

.ib-logo:hover {
  color: var(--ib-white);
}

.ib-logo__name {
  font-family: var(--ib-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.ib-logo__tagline {
  font-size: 0.7rem;
  color: var(--ib-turquoise);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ib-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.ib-nav a {
  color: var(--ib-mist);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.ib-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ib-turquoise);
  transition: width var(--ib-transition);
}

.ib-nav a:hover,
.ib-nav a.ib-nav--active {
  color: var(--ib-white);
}

.ib-nav a:hover::after,
.ib-nav a.ib-nav--active::after {
  width: 100%;
}

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

.ib-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ib-white);
  transition: var(--ib-transition);
}

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

.ib-burger.ib-burger--open span:nth-child(2) {
  opacity: 0;
}

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

/* Hero */
.ib-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.ib-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ib-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 44, 0.55) 0%,
    rgba(11, 28, 44, 0.75) 50%,
    rgba(11, 28, 44, 0.9) 100%
  );
}

.ib-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.ib-hero__label {
  display: inline-block;
  color: var(--ib-turquoise);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ib-hero h1 {
  color: var(--ib-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}

.ib-hero__text {
  color: var(--ib-mist);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ib-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.ib-page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
}

.ib-page-hero .ib-hero__bg {
  position: absolute;
  inset: 0;
}

.ib-page-hero .ib-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 28, 44, 0.6) 0%, rgba(11, 28, 44, 0.85) 100%);
}

.ib-page-hero .ib-hero__content {
  padding: 60px 24px;
}

.ib-page-hero h1 {
  color: var(--ib-white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.ib-page-hero .ib-hero__text {
  font-size: 1.1rem;
}

/* Buttons */
.ib-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--ib-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--ib-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ib-transition);
  text-decoration: none;
}

.ib-btn--primary {
  background: var(--ib-turquoise);
  color: var(--ib-navy);
  border-color: var(--ib-turquoise);
}

.ib-btn--primary:hover {
  background: var(--ib-white);
  color: var(--ib-navy);
  border-color: var(--ib-white);
}

.ib-btn--outline {
  background: transparent;
  color: var(--ib-white);
  border-color: var(--ib-white);
}

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

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

.ib-btn--coral:hover {
  background: transparent;
  color: var(--ib-coral);
}

/* Sections */
.ib-section {
  padding: 80px 0;
}

.ib-section--mist {
  background: var(--ib-mist);
}

.ib-section--navy {
  background: var(--ib-navy);
  color: var(--ib-mist);
}

.ib-section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.ib-section__label {
  display: inline-block;
  color: var(--ib-turquoise);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ib-section--navy .ib-section__label {
  color: var(--ib-turquoise);
}

.ib-section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.ib-section__header p {
  color: #5a6a7a;
  font-size: 1.05rem;
}

.ib-section--navy .ib-section__header p {
  color: var(--ib-mist);
  opacity: 0.85;
}

/* Features Grid */
.ib-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ib-feature {
  text-align: center;
  padding: 32px 24px;
  background: var(--ib-white);
  border-radius: var(--ib-radius);
  box-shadow: var(--ib-shadow);
}

.ib-feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--ib-mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ib-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--ib-navy);
}

.ib-feature p {
  color: #5a6a7a;
  font-size: 0.95rem;
}

/* Cards Grid */
.ib-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.ib-card {
  background: var(--ib-white);
  border-radius: var(--ib-radius);
  overflow: hidden;
  box-shadow: var(--ib-shadow);
  transition: transform var(--ib-transition);
}

.ib-card:hover {
  transform: translateY(-4px);
}

.ib-card__img {
  height: 220px;
  overflow: hidden;
}

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

.ib-card:hover .ib-card__img img {
  transform: scale(1.05);
}

.ib-card__body {
  padding: 28px;
}

.ib-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.ib-card__body p {
  color: #5a6a7a;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.ib-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--ib-mist);
  font-size: 0.9rem;
}

.ib-card__price {
  font-weight: 700;
  color: var(--ib-turquoise);
}

/* Split Layout */
.ib-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ib-split__img {
  border-radius: var(--ib-radius);
  overflow: hidden;
  box-shadow: var(--ib-shadow);
}

.ib-split__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
}

.ib-split__content p {
  color: #5a6a7a;
  margin-bottom: 16px;
}

.ib-split__content ul {
  list-style: none;
  margin: 24px 0;
}

.ib-split__content li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #5a6a7a;
}

.ib-split__content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ib-turquoise);
  font-weight: 700;
}

/* Route Cards */
.ib-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.ib-route:nth-child(even) {
  direction: rtl;
}

.ib-route:nth-child(even) > * {
  direction: ltr;
}

.ib-route__img {
  border-radius: var(--ib-radius);
  overflow: hidden;
  box-shadow: var(--ib-shadow);
  height: 320px;
}

.ib-route__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ib-route__content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.ib-route__content p {
  color: #5a6a7a;
  margin-bottom: 16px;
}

.ib-route__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ib-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ib-mist);
  color: var(--ib-navy);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

/* CTA Banner */
.ib-cta {
  background: linear-gradient(135deg, var(--ib-navy) 0%, var(--ib-navy-light) 100%);
  padding: 64px 0;
  text-align: center;
}

.ib-cta h2 {
  color: var(--ib-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.ib-cta p {
  color: var(--ib-mist);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form */
.ib-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.ib-contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.ib-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.ib-contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--ib-mist);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.ib-contact-item__text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ib-navy);
}

.ib-contact-item__text span,
.ib-contact-item__text a {
  color: #5a6a7a;
  font-size: 0.95rem;
}

.ib-form {
  background: var(--ib-white);
  padding: 40px;
  border-radius: var(--ib-radius);
  box-shadow: var(--ib-shadow);
}

.ib-form__group {
  margin-bottom: 20px;
}

.ib-form__group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.ib-form__group input,
.ib-form__group select,
.ib-form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--ib-mist);
  border-radius: var(--ib-radius);
  font-family: var(--ib-font-body);
  font-size: 0.95rem;
  transition: border-color var(--ib-transition);
  background: var(--ib-white);
  color: var(--ib-navy);
}

.ib-form__group input:focus,
.ib-form__group select:focus,
.ib-form__group textarea:focus {
  outline: none;
  border-color: var(--ib-turquoise);
}

.ib-form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.ib-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #5a6a7a;
}

.ib-form__checkbox input {
  margin-top: 4px;
  accent-color: var(--ib-turquoise);
}

/* Privacy Content */
.ib-legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.ib-legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.ib-legal h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.ib-legal p,
.ib-legal li {
  color: #5a6a7a;
  margin-bottom: 12px;
}

.ib-legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Footer */
.ib-footer {
  background: var(--ib-navy);
  color: var(--ib-mist);
  padding: 64px 0 0;
}

.ib-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.ib-footer__col h4 {
  color: var(--ib-white);
  font-family: var(--ib-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ib-footer__col p,
.ib-footer__col a {
  color: var(--ib-mist);
  font-size: 0.9rem;
  line-height: 1.8;
}

.ib-footer__col a:hover {
  color: var(--ib-turquoise);
}

.ib-footer__links {
  list-style: none;
}

.ib-footer__links li {
  margin-bottom: 10px;
}

.ib-footer__bottom {
  border-top: 1px solid rgba(232, 240, 244, 0.15);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(232, 240, 244, 0.6);
}

/* Cookie Banner */
.ib-cookie {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  background: var(--ib-white);
  border-radius: var(--ib-radius);
  box-shadow: 0 8px 32px rgba(11, 28, 44, 0.25);
  padding: 28px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s ease;
}

.ib-cookie.ib-cookie--visible {
  transform: translateY(0);
  opacity: 1;
}

.ib-cookie h4 {
  font-family: var(--ib-font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--ib-navy);
}

.ib-cookie p {
  font-size: 0.85rem;
  color: #5a6a7a;
  margin-bottom: 20px;
  line-height: 1.5;
}

.ib-cookie__actions {
  display: flex;
  gap: 10px;
}

.ib-cookie__actions .ib-btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.ib-cookie__actions .ib-btn--outline {
  color: var(--ib-navy);
  border-color: var(--ib-mist);
}

.ib-cookie__actions .ib-btn--outline:hover {
  border-color: var(--ib-navy);
  background: var(--ib-mist);
  color: var(--ib-navy);
}

/* Stats */
.ib-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.ib-stat__number {
  font-family: var(--ib-font-display);
  font-size: 2.5rem;
  color: var(--ib-turquoise);
  margin-bottom: 8px;
}

.ib-stat__label {
  font-size: 0.9rem;
  color: var(--ib-mist);
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
  .ib-features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .ib-split,
  .ib-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ib-route {
    grid-template-columns: 1fr;
  }

  .ib-route:nth-child(even) {
    direction: ltr;
  }

  .ib-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ib-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ib-burger {
    display: flex;
  }

  .ib-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--ib-navy);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--ib-transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .ib-nav.ib-nav--open {
    transform: translateY(0);
    opacity: 1;
  }

  .ib-nav li {
    border-bottom: 1px solid rgba(232, 240, 244, 0.1);
  }

  .ib-nav a {
    display: block;
    padding: 16px 0;
  }

  .ib-section {
    padding: 56px 0;
  }

  .ib-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ib-cookie {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .ib-form {
    padding: 28px;
  }
}

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

  .ib-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .ib-stats {
    grid-template-columns: 1fr;
  }
}
