@font-face {
  font-family: "Petita";
  src: url("../fonts/Petita/PetitaBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/Comfortaa/Comfortaa-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0084c8;
  --blue-dark: #006ea8;
  --blue-soft: #e4f5fb;
  --gray: #939598;
  --ink: #21262b;
  --muted: #616b73;
  --line: #dbe5eb;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --sand: #f4b84b;
  --sea: #0f7f91;
  --shadow: 0 22px 45px rgba(21, 40, 52, 0.16);
  --small-shadow: 0 10px 24px rgba(21, 40, 52, 0.12);
  --radius: 8px;
  --content: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Comfortaa", Arial, sans-serif;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(244,247,248,0.92)),
    repeating-linear-gradient(22deg, rgba(147,149,152,0.08) 0 2px, transparent 2px 18px),
    var(--mist);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 24%, rgba(0,132,200,0.08) 24% 26%, transparent 26% 100%),
    linear-gradient(165deg, transparent 0 62%, rgba(147,149,152,0.08) 62% 64%, transparent 64% 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: var(--content);
  min-height: 76px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 229, 235, 0.88);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 164px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #4a545c;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

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

.header-whatsapp,
.btn,
.filter-button,
.promo-row a,
.admin-button,
.contact-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.header-whatsapp {
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 18px rgba(0, 132, 200, 0.25);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  width: var(--content);
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.hero-copy,
.hero-collage,
.package-body,
.admin-main {
  min-width: 0;
}

.hero h1,
.section h2,
.story-section h2,
.gallery-section h2,
.contact-section h2,
.admin-title h1 {
  margin: 0;
  font-family: "Petita", "Comfortaa", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  color: var(--blue);
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 530px;
  margin: 26px 0 0;
  color: #3d4851;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-width: 164px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.header-whatsapp:hover,
.promo-row a:hover,
.contact-number:hover,
.admin-button:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 13px 22px rgba(0, 132, 200, 0.28);
}

.btn-secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-collage {
  position: relative;
  min-height: 610px;
}

.hero-collage::before,
.package-media::before,
.gallery-section::before {
  content: "";
  position: absolute;
  background: var(--blue);
  opacity: 0.7;
  clip-path: polygon(9% 0, 100% 8%, 88% 100%, 0 86%);
}

.hero-collage::before {
  width: 72%;
  height: 70%;
  right: 9%;
  bottom: 10%;
  transform: rotate(-7deg);
  filter: blur(0.2px);
}

.photo-frame {
  position: absolute;
  margin: 0;
  padding: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-one {
  top: 28px;
  left: 12px;
  width: 56%;
  height: 420px;
  transform: rotate(-7deg);
}

.frame-two {
  right: 0;
  bottom: 38px;
  width: 58%;
  height: 430px;
  transform: rotate(5deg);
}

.hero-price,
.price-tag {
  display: grid;
  place-items: center;
  width: 154px;
  height: 104px;
  color: #fff;
  font-family: "Comfortaa", Arial, sans-serif;
  font-size: 2.65rem;
  font-weight: 700;
  background: var(--blue);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.hero-price {
  position: absolute;
}

.hero-price-one {
  left: 0;
  bottom: 62px;
}

.hero-price-two {
  right: 15px;
  top: 150px;
}

.preview-strip,
.section,
.story-section,
.gallery-section,
.contact-section,
.site-footer {
  width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -18px;
  padding: 0 0 64px;
}

.preview-strip div,
.story-card {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--small-shadow);
}

.preview-strip strong,
.story-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.05rem;
}

.preview-strip span,
.story-card p {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
}

.section-note {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section h2,
.story-section h2,
.gallery-section h2,
.contact-section h2,
.admin-title h1 {
  color: #22292f;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.filter-button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.package-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tilt-left .package-media {
  transform: rotate(-2.4deg);
}

.tilt-right .package-media {
  transform: rotate(2deg);
}

.package-media {
  position: relative;
  min-height: 360px;
  padding: 12px;
  background: #fff;
  box-shadow: var(--small-shadow);
}

.package-media::before {
  left: -22px;
  bottom: -18px;
  width: 78%;
  height: 46%;
  z-index: 0;
}

.package-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-tag {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 24px;
  width: 132px;
  height: 82px;
  font-size: 2.1rem;
}

.package-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 12px 4px;
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.package-meta span {
  padding: 7px 10px;
  background: var(--blue-soft);
  border-radius: 8px;
}

.package-body h3,
.promo-row h3 {
  margin: 0;
  font-family: "Petita", "Comfortaa", Arial, sans-serif;
  color: var(--blue);
  font-size: clamp(1.72rem, 2.4vw, 2.55rem);
  line-height: 1;
}

.package-body p,
.story-copy p,
.gallery-section p,
.contact-section p,
.promo-row p {
  color: var(--muted);
  line-height: 1.65;
}

.package-body ul {
  margin: 8px 0 22px;
  padding-left: 20px;
  color: #2f373d;
  line-height: 1.65;
}

.promo-section {
  padding-top: 36px;
}

.promo-list {
  display: grid;
  gap: 16px;
}

.promo-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 92px auto;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--small-shadow);
}

.promo-row img {
  width: 132px;
  height: 96px;
  object-fit: cover;
}

.promo-row strong {
  color: var(--blue);
  font-size: 2rem;
}

.promo-row a {
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--blue);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  padding: 74px 0;
}

.story-copy p {
  max-width: 700px;
  font-size: 1.05rem;
}

.gallery-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr minmax(240px, 0.84fr);
  gap: 22px;
  align-items: center;
  padding: 72px 0;
}

.gallery-section::before {
  left: 6%;
  top: 24%;
  width: 45%;
  height: 54%;
  z-index: -1;
  transform: rotate(-6deg);
}

.gallery-section figure {
  margin: 0;
  padding: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-section figure:first-child {
  transform: rotate(-4deg);
}

.gallery-section figure:nth-child(2) {
  transform: rotate(3deg);
}

.gallery-section img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.contact-section .section-note,
.contact-section p,
.contact-section h2 {
  color: #fff;
}

.contact-number {
  min-height: 64px;
  padding: 0 32px;
  color: var(--blue);
  background: #fff;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.site-footer {
  min-height: 100px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 150px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.9), rgba(239,246,249,0.94)),
    repeating-linear-gradient(28deg, rgba(147,149,152,0.08) 0 1px, transparent 1px 18px);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  padding: 28px 22px;
  color: #fff;
  background: linear-gradient(180deg, #0084c8, #006ea8);
}

.admin-sidebar img {
  width: 174px;
  height: 134px;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.admin-menu {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.admin-menu a {
  padding: 13px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}

.admin-menu a.is-active,
.admin-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-button {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--blue);
}

.admin-button.secondary {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 22px;
}

.admin-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--small-shadow);
}

.admin-panel h2 {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: "Petita", "Comfortaa", Arial, sans-serif;
  font-size: 2rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric {
  padding: 16px;
  background: var(--blue-soft);
  border: 1px solid #ccebf5;
}

.metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 1.9rem;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-toolbar input,
.admin-toolbar select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.admin-toolbar input:focus,
.admin-toolbar select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,132,200,0.12);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.package-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.package-table th,
.package-table td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.package-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--sea);
  background: rgba(15, 127, 145, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
}

.status.off {
  color: #9a6530;
  background: rgba(244, 184, 75, 0.18);
}

.row-actions {
  display: flex;
  gap: 8px;
}

.icon-action {
  min-width: 36px;
  min-height: 34px;
  padding: 0 9px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.package-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.toggle span {
  color: #3d4851;
  font-size: 0.78rem;
  font-weight: 800;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
  line-height: 1.5;
}

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

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.admin-preview {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fbfdfe;
  border: 1px solid var(--line);
}

.mini-card img {
  width: 92px;
  height: 74px;
  object-fit: cover;
}

.mini-card h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-family: "Petita", "Comfortaa", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.mini-price {
  display: grid;
  place-items: center;
  height: 48px;
  color: #fff;
  background: var(--blue);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  padding: 14px 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(120px);
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 170px auto auto;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--small-shadow);
  }

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

  .hero,
  .story-section,
  .gallery-section,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-collage {
    min-height: 520px;
  }

  .preview-strip,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(100% - 24px, 1160px);
  }

  .site-header {
    min-height: 66px;
    margin-top: 10px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 138px;
    height: 50px;
  }

  .header-whatsapp {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.8vw, 3.75rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-collage {
    min-height: 450px;
  }

  .frame-one,
  .frame-two {
    height: 310px;
  }

  .frame-one {
    width: 68%;
  }

  .frame-two {
    width: 70%;
  }

  .hero-price {
    width: 116px;
    height: 76px;
    font-size: 1.9rem;
  }

  .section-heading,
  .contact-section,
  .site-footer,
  .admin-topbar,
  .promo-row {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .package-card {
    grid-template-columns: 1fr;
  }

  .package-media {
    min-height: 300px;
  }

  .promo-row {
    display: grid;
  }

  .promo-row img {
    width: 100%;
    height: 180px;
  }

  .admin-main {
    padding: 18px 12px;
  }

  .admin-toolbar {
    flex-direction: column;
  }

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

  .admin-menu {
    grid-template-columns: repeat(3, max-content);
  }

  .mini-card {
    grid-template-columns: 78px 1fr;
  }

  .mini-price {
    grid-column: 1 / -1;
  }
}
