/* =========================
   RAMIRO THEME - FINAL BASE
   ========================= */

/* FONT */
@font-face {
  font-family: "Cora";
  src: url("/wp-content/uploads/2025/11/Cora-Regular.woff2") format("woff2"),
    url("/wp-content/uploads/2025/11/Cora-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cora";
  src: url("/wp-content/uploads/2025/11/Cora-Italic.woff2") format("woff2"),
    url("/wp-content/uploads/2025/11/Cora-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ROOT TOKENS */
:root {
  /* white space */
  --section-break-desktop: 64px;
  --section-break-tablet: 48px;
  --section-break-mobile: 40px;
  /* Brand colors from standards */
  --ramiro-white: #ffffff;
  --ramiro-black: #000000;
  --ramiro-orange: #f19b84;
  --ramiro-pink: #f8c8c0;
  --ramiro-red: #991b23;

  /* Web neutrals */
  --ramiro-text: #2d2928;
  --ramiro-muted: #655d5a;
  --ramiro-red-dark: #87131c;
  --ramiro-line: #e8dfda;

  --ramiro-soft-cta-bg: #f3e5df;
  --ramiro-soft-cta-border: #e5c9c0;
  --ramiro-soft-cta-text: #991b23;

  --ramiro-book-bg: #ead9d5;
  --ramiro-contact-soft: #fbf8f6;
  --ramiro-badge-bg: rgba(255, 255, 255, 0.92);

  /* Typography */
  --ramiro-font-body: "Cora", Georgia, serif;
  --ramiro-font-heading: "Cora", Georgia, serif;

  strong,
  b {
    color: var(--ramiro-red);
    font-weight: 700;
  }

  /* Layout */
  --ramiro-container: 1280px;

  /* Radius */
  --ramiro-radius-sm: 22px;
  --ramiro-radius-md: 28px;
  --ramiro-radius-lg: 34px;
  --ramiro-radius-xl: 36px;
  --ramiro-radius-2xl: 38px;
  --ramiro-radius-pill: 999px;

  /* Shadow */
  --ramiro-shadow-soft: 0 8px 24px rgba(70, 54, 54, 0.04);
  --ramiro-shadow-card: 0 12px 34px rgba(54, 40, 40, 0.04);
  --ramiro-shadow-hero: 0 24px 60px rgba(56, 40, 40, 0.08);

  /* Transition */
  --ramiro-transition: 0.18s ease;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ramiro-font-body);
  color: var(--ramiro-text);
  background: var(--ramiro-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* GLOBAL VIDEO RESET */
video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

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

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

button {
  cursor: pointer;
}

/* GLOBAL WRAPPERS */
.ramiro-home {
  width: 100%;
  overflow: hidden;
  background: var(--ramiro-white);
}

.ramiro-wrap,
.ramiro-container {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
}

/* GLOBAL MEDIA HELPERS */
.ramiro-media,
.ramiro-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.ramiro-media video,
.ramiro-video-wrap video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--ramiro-text);
  font-family: var(--ramiro-font-heading);
  font-weight: 600;
}

h1 {
  margin-bottom: 22px;
  font-size: 74px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 8px;
  font-size: 44px;
  line-height: 1.08;
}

h3 {
  font-size: 30px;
  line-height: 1.14;
}

p {
  margin-top: 0;
}

small {
  font-size: 0.875rem;
}

/* HEADER */
.ramiro-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ramiro-header-top {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 12px;
}

.ramiro-logo {
  flex-shrink: 0;
}

.ramiro-logo a {
  display: inline-flex;
  align-items: center;
}

.ramiro-logo img,
.custom-logo {
  height: 42px;
  width: auto;
}

.ramiro-search {
  display: flex;
  align-items: center;
}

.ramiro-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 160px;
  height: 46px;
  margin: 0;
  border: 1px solid #ddd6d2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transition: width 0.22s ease, border-color 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}

.ramiro-search-form:hover {
  background: #fff;
  border-color: #d9c4bc;
  transform: translateY(-1px);
}

.ramiro-search-form:focus-within {
  width: 240px;
  background: #fff;
  border-color: var(--ramiro-red);
  box-shadow: 0 0 0 4px rgba(153, 27, 35, 0.08);
}

.ramiro-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  color: var(--ramiro-red);
  opacity: 0.9;
}

.ramiro-search-icon svg {
  width: 18px;
  height: 18px;
}

.ramiro-search .search-field {
  width: 100%;
  height: 100%;
  padding: 0 14px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ramiro-text);
  font-size: 15px;
  line-height: 1;
  box-shadow: none;
}

.ramiro-search .search-field::placeholder {
  color: #8b7f7a;
  opacity: 1;
}

/* =========================
   HEADER + NAVIGATION
   ========================= */

.ramiro-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ramiro-header-top {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ramiro-logo {
  flex-shrink: 0;
}

.ramiro-logo a {
  display: inline-flex;
  align-items: center;
}

.ramiro-logo img,
.custom-logo {
  height: 42px;
  width: auto;
}

.ramiro-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ramiro-search {
  display: flex;
  align-items: center;
}

.ramiro-search-form {
  margin: 0;
}

.ramiro-search .search-field {
  width: 138px;
  height: 38px;
  padding: 6px 14px;
  /* border: 1px solid #ddd6d2; */
  /* border-radius: var(--ramiro-radius-pill);
  background: #fff; */
  color: var(--ramiro-text);
  outline: none;
}

/* .ramiro-search .search-field:focus {
  border-color: var(--ramiro-red);
  box-shadow: 0 0 0 3px rgba(153, 27, 35, 0.08);
} */

/* HAMBURGER */
.ramiro-menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #ddd6d2;
  border-radius: 999px;
  background: #fff;
  appearance: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
}

.ramiro-menu-toggle:hover {
  background: #faf6f4;
  border-color: #d9c4bc;
}

.ramiro-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ramiro-text);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease,
    background-color 0.18s ease;
}

.ramiro-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ramiro-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.ramiro-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* NAV WRAPPER */
.ramiro-header-nav {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ramiro-header-nav-inner {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
}

.ramiro-nav-wrap {
  width: 100%;
}

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

.ramiro-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ramiro-nav > li {
  position: relative;
}

.ramiro-nav > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-size: 16px;
  line-height: 1;
  color: var(--ramiro-text);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.ramiro-nav > li:hover > a,
.ramiro-nav .current-menu-item > a,
.ramiro-nav .current-menu-ancestor > a,
.ramiro-nav .current_page_item > a {
  color: var(--ramiro-red);
}

/* osnovni dropdown */
.ramiro-nav > li > ul.sub-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 12px;
  min-width: 340px;
  max-width: 420px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ramiro-line);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(40, 28, 28, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1001;
}

.ramiro-nav > li:hover > ul.sub-menu,
.ramiro-nav > li:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ramiro-nav > li > ul.sub-menu > li {
  position: relative;
}

.ramiro-nav > li > ul.sub-menu > li > a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ramiro-text);
  white-space: normal;
  transition: background-color 0.18s ease, color 0.18s ease,
    transform 0.18s ease;
}

.ramiro-nav > li > ul.sub-menu > li > a:hover,
.ramiro-nav > li > ul.sub-menu > li > a:focus {
  background: #f3e5df;
  color: var(--ramiro-red);
  transform: translateX(2px);
}

/* drugi i treći nivo */
.ramiro-nav ul.sub-menu ul.sub-menu {
  margin-top: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--ramiro-line);
}

.ramiro-nav ul.sub-menu ul.sub-menu a {
  display: block;
  padding: 8px 0 8px 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ramiro-muted);
  white-space: normal;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ramiro-nav ul.sub-menu ul.sub-menu a:hover,
.ramiro-nav ul.sub-menu ul.sub-menu a:focus {
  color: var(--ramiro-red);
  border-left-color: var(--ramiro-red);
  transform: translateX(2px);
}

/* SAMO "Razvoj i treninzi" kao široki 3-column dropdown */
@media (min-width: 1025px) {
  .ramiro-nav > li:nth-child(4) > ul.sub-menu {
    left: -140px;
    min-width: 860px;
    max-width: 940px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
  }

  .ramiro-nav > li:nth-child(4) > ul.sub-menu > li {
    min-width: 0;
  }

  .ramiro-nav > li:nth-child(4) > ul.sub-menu > li > a {
    display: block;
    padding: 14px 14px 14px 16px;
    margin-bottom: 14px;
    border-radius: 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--ramiro-text);
    background: transparent;
    transition: background-color 0.18s ease, color 0.18s ease,
      transform 0.18s ease;
  }

  .ramiro-nav > li:nth-child(4) > ul.sub-menu > li > a:hover,
  .ramiro-nav > li:nth-child(4) > ul.sub-menu > li > a:focus {
    background: #f3e5df;
    color: var(--ramiro-red);
    transform: translateX(2px);
  }

  .ramiro-nav > li:nth-child(4) ul.sub-menu ul.sub-menu {
    margin-top: 0;
    padding-left: 16px;
    border-left: 2px solid #e7d9d3;
  }

  .ramiro-nav > li:nth-child(4) ul.sub-menu ul.sub-menu li + li {
    margin-top: 10px;
  }

  .ramiro-nav > li:nth-child(4) ul.sub-menu ul.sub-menu a {
    display: block;
    padding: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ramiro-muted);
    white-space: normal;
    border-left: 0;
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .ramiro-nav > li:nth-child(4) ul.sub-menu ul.sub-menu a:hover,
  .ramiro-nav > li:nth-child(4) ul.sub-menu ul.sub-menu a:focus {
    color: var(--ramiro-red);
    transform: translateX(2px);
  }
}

/* MOBILE */
@media (max-width: 1024px) {
  .ramiro-menu-toggle {
    display: inline-flex;
  }

  .ramiro-search {
    display: none;
  }

  .ramiro-header-nav {
    display: none;
    background: #fff;
  }

  .ramiro-header-nav.is-open {
    display: block;
  }

  .ramiro-header-nav-inner {
    width: min(100% - 20px, var(--ramiro-container));
    padding: 12px 0 18px;
  }

  .ramiro-nav {
    display: block;
  }

  .ramiro-nav > li {
    border-bottom: 1px solid #f0e8e4;
  }

  .ramiro-nav > li > a {
    display: block;
    min-height: auto;
    padding: 16px 0;
    white-space: normal;
  }

  .ramiro-nav > li > ul.sub-menu {
    position: static;
    min-width: 0;
    max-width: none;
    padding: 0 0 10px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .ramiro-nav > li.menu-item-has-children.is-open > ul.sub-menu {
    display: block;
  }

  .ramiro-nav > li > ul.sub-menu > li > a {
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
  }

  .ramiro-nav > li > ul.sub-menu > li > a:hover,
  .ramiro-nav > li > ul.sub-menu > li > a:focus {
    background: transparent;
    transform: none;
  }

  .ramiro-nav ul.sub-menu ul.sub-menu {
    margin-top: 0;
    padding-left: 14px;
  }

  .ramiro-nav ul.sub-menu ul.sub-menu a {
    padding: 8px 0;
  }
}

@media (max-width: 760px) {
  .ramiro-header-top {
    width: min(100% - 20px, var(--ramiro-container));
    min-height: 72px;
    gap: 16px;
  }

  .ramiro-logo img,
  .custom-logo {
    height: 36px;
  }
}

@media (max-width: 1200px) {
  .ramiro-search-form {
    width: 140px;
  }

  .ramiro-search-form:focus-within {
    width: 200px;
  }
}

@media (max-width: 1024px) {
  .ramiro-search {
    display: none;
  }
}

/* MAIN */
.ramiro-main {
  min-height: 60vh;
}

/* BUTTONS */
.ramiro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--ramiro-radius-pill);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  transition: var(--ramiro-transition);
}

.ramiro-btn:hover {
  transform: translateY(-1px);
}

.ramiro-btn-solid {
  background: var(--ramiro-red);
  color: #fff;
  border-color: var(--ramiro-red);
}

.ramiro-btn-solid:hover {
  background: var(--ramiro-red-dark);
  border-color: var(--ramiro-red-dark);
  color: #fff;
}

.ramiro-btn-soft {
  background: var(--ramiro-soft-cta-bg);
  color: var(--ramiro-soft-cta-text);
  border-color: var(--ramiro-soft-cta-border);
}

.ramiro-btn-soft:hover {
  background: #edd9d1;
}

.ramiro-btn-outline {
  background: #fff;
  color: var(--ramiro-red);
  border-color: #d7b9b0;
}

.ramiro-btn-outline:hover {
  background: #fff8f6;
}

/* HERO */
.ramiro-hero {
  padding: 56px 0 40px;
  background: #fff;
}

.ramiro-wrap {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
}

.ramiro-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.ramiro-hero-content h1 {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ramiro-text);
}

.ramiro-hero-content p {
  margin: 0 0 30px;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.65;
  color: #4f4845;
}

.ramiro-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ramiro-hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 24px 60px rgba(56, 40, 40, 0.08);
}

.ramiro-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.ramiro-hero-badge {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 24px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ramiro-red);
  font-size: 20px;
  line-height: 1.55;
}

@media (max-width: 1280px) {
  .ramiro-hero-grid {
    grid-template-columns: 1fr;
  }

  .ramiro-hero-content h1 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: 54px;
    line-height: 1.06;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--ramiro-text);
  }
}

@media (max-width: 760px) {
  .ramiro-hero {
    padding: 40px 0 20px;
  }

  .ramiro-wrap {
    width: min(100% - 20px, var(--ramiro-container));
  }

  .ramiro-hero-content h1 {
    font-size: 42px;
  }

  .ramiro-hero-content p {
    font-size: 18px;
  }

  .ramiro-hero-visual {
    min-height: 340px;
  }

  .ramiro-hero-visual img {
    min-height: 340px;
  }

  .ramiro-hero-badge {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px 20px;
    font-size: 17px;
    line-height: 1.5;
  }
}

/* STATEMENT */
.ramiro-statement {
  padding: 8px 0 56px;
  background: #fff;
}

.ramiro-statement-box {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 42px;
  border: 1px solid var(--ramiro-line);
  border-radius: var(--ramiro-radius-lg);
  background: #fff;
  box-shadow: var(--ramiro-shadow-card);
}

.ramiro-statement p {
  margin: 0;
  font-size: 36px;
  line-height: 1.42;
}

.ramiro-statement strong {
  color: var(--ramiro-red);
  font-weight: 600;
}

/* SECTIONS */
.ramiro-section {
  padding: 34px 0;
  background: #fff;
}

.ramiro-section-head {
  margin-bottom: 24px;
}

.ramiro-section-intro {
  max-width: 860px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ramiro-muted);
}

/* SERVICES */
.ramiro-services {
  padding: 30px 0 24px;
}

.ramiro-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ramiro-service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--ramiro-line);
  border-radius: var(--ramiro-radius-lg);
  background: #fff;
  box-shadow: var(--ramiro-shadow-soft);
}

.ramiro-service-visual {
  margin: 0 0 28px;
}

.ramiro-service-visual--icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ramiro-service-visual--icon img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin: 0 auto;
}

.ramiro-service-card h3 {
  margin: 0 0 14px;
}

.ramiro-service-card p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ramiro-muted);
}

.ramiro-service-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ramiro-service-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ramiro-text);
}

.ramiro-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ramiro-red);
}

.ramiro-card-spacer {
  flex: 1;
}

/* TESTIMONIALS */
.ramiro-testimonials {
  padding: 46px 0 26px;
}

.ramiro-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ramiro-quote {
  padding: 30px;
  border: 1px solid var(--ramiro-line);
  border-radius: var(--ramiro-radius-md);
  background: #fff;
}

.ramiro-quote-mark {
  margin-bottom: 14px;
  color: var(--ramiro-red);
  font-size: 42px;
  line-height: 1;
}

.ramiro-quote p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ramiro-text);
}

.ramiro-quote cite {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ramiro-red);
  font-weight: 400;
}

/* BOOK */
.ramiro-book {
  padding: 52px 0;
}

.ramiro-book-box {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
  padding: 56px;
  border: 1px solid #ddcbc5;
  border-radius: var(--ramiro-radius-xl);
  background: var(--ramiro-book-bg);
}

.ramiro-book-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 76px;
  align-items: center;
}

.ramiro-book-cover {
  display: flex;
  justify-content: center;
}

.ramiro-book-cover img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, 0.1));
}

.ramiro-book-copy h2 {
  margin: 0 0 14px;
  font-size: 56px;
  line-height: 1.04;
}

.ramiro-book-copy .ramiro-sub {
  margin: 0 0 20px;
  color: var(--ramiro-red);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
}

.ramiro-book-line {
  width: 100%;
  max-width: 540px;
  height: 1px;
  margin: 0 0 26px;
  background: #ccbdb7;
}

.ramiro-book-copy p {
  margin: 0 0 24px;
  max-width: 780px;
  font-size: 18px;
  line-height: 1.72;
  color: #5d5452;
}

.ramiro-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 19px;
}

.ramiro-price strong {
  font-size: 24px;
  color: var(--ramiro-text);
  font-weight: 600;
}

/* KNOWLEDGE */
.ramiro-knowledge {
  padding: 46px 0 30px;
}

.ramiro-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ramiro-post {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--ramiro-line);
  border-radius: var(--ramiro-radius-md);
  background: #fff;
}

.ramiro-post img {
  width: 100%;
  height: 220px;
  margin-bottom: 18px;
  border-radius: 22px;
  object-fit: cover;
}

.ramiro-post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ramiro-red);
}

.ramiro-post h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.18;
}

.ramiro-post p {
  margin: 0 0 16px;
  color: var(--ramiro-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ramiro-post .ramiro-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* FAQ */
.ramiro-faq {
  padding: 44px 0 26px;
}

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

.ramiro-faq-item {
  padding: 24px 26px;
  border: 1px solid var(--ramiro-line);
  border-radius: 24px;
  background: #fff;
}

.ramiro-faq-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.ramiro-faq-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ramiro-muted);
}

/* CONTACT CTA */
.ramiro-contact-cta {
  padding: 42px 0 78px;
}

.ramiro-contact-box {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
  padding: 44px;
  border: 1px solid var(--ramiro-line);
  border-radius: var(--ramiro-radius-xl);
  background: var(--ramiro-contact-soft);
  text-align: left;
}

.ramiro-contact-box h2 {
  margin: 0 0 16px;
  max-width: 980px;
  font-size: 52px;
  line-height: 1.18;
  color: var(--ramiro-text);
}

.ramiro-contact-box p {
  margin: 0 0 26px;
  max-width: 980px;
  font-size: 21px;
  line-height: 1.7;
  color: var(--ramiro-text);
}

.ramiro-contact-box strong {
  color: var(--ramiro-red);
  font-weight: 600;
}

/* REFERENCES */
.ramiro-references {
  padding: 18px 0 72px;
}

.ramiro-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 34px;
  align-items: center;
}

.ramiro-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

.ramiro-logo-box img {
  width: auto;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.82;
}

/* =========================
   FOOTER
   ========================= */

.ramiro-footer {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--ramiro-line);
  background: #fff;
}

.ramiro-footer-inner {
  width: min(var(--ramiro-container), calc(100% - 40px));
  margin: 0 auto;
}

/* TOP SIMPLE LINKS */
.ramiro-footer-top {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--ramiro-line);
}

.ramiro-footer-top--simple {
  display: block;
}

.ramiro-footer-shortcuts {
  display: flex;
  align-items: center;
  gap: 18px 28px;
  flex-wrap: wrap;
}

.ramiro-footer-shortcuts a {
  color: var(--ramiro-muted);
  font-size: 17px;
  line-height: 1.5;
  transition: color 0.18s ease, transform 0.18s ease;
}

.ramiro-footer-shortcuts a:hover {
  color: var(--ramiro-red);
  transform: translateX(2px);
}

/* fallback ako negdje ostanu stari footer meniji */
.ramiro-footer-col h4 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ramiro-text);
}

.ramiro-footer-menu,
.ramiro-footer-legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ramiro-footer-menu li,
.ramiro-footer-legal-menu li {
  margin: 0;
  padding: 0;
}

.ramiro-footer-menu a {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ramiro-muted);
  transition: color 0.18s ease, transform 0.18s ease;
}

.ramiro-footer-menu a:hover {
  color: var(--ramiro-red);
  transform: translateX(2px);
}

/* MID: brand + contact */
.ramiro-footer-mid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ramiro-line);
}

.ramiro-footer-brand {
  display: flex;
  align-items: center;
}

.ramiro-footer-brand a {
  display: inline-flex;
  align-items: center;
}

.ramiro-footer-brand img,
.ramiro-site-logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.ramiro-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  color: var(--ramiro-muted);
  font-size: 16px;
}

.ramiro-footer-contact a {
  color: var(--ramiro-muted);
  transition: color 0.18s ease;
}

.ramiro-footer-contact a:hover {
  color: var(--ramiro-red);
}

/* SHOP / UTILITY BAR */
.ramiro-footer-shop {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--ramiro-line);
}

.ramiro-footer-shop-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ramiro-footer-shop-label {
  font-size: 16px;
  color: var(--ramiro-muted);
}

.ramiro-footer-shop-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ramiro-pay-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.ramiro-pay-logo--amex {
  height: 22px;
}

.ramiro-pay-logo--revolut {
  height: 20px;
}

.ramiro-pay-logo--applepay {
  height: 32px;
  transform: scale(1.08);
  transform-origin: center;
}

.ramiro-pay-logo--googlepay {
  height: 32px;
  transform: scale(1.1);
  transform-origin: center;
}

.ramiro-pay-logo--boxnow {
  height: 28px;
}

.ramiro-pay-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--ramiro-line);
  border-radius: 999px;
  background: #faf8f7;
  color: var(--ramiro-text);
  font-size: 14px;
  line-height: 1;
}

.ramiro-footer-shop-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--ramiro-line);
  border-radius: 999px;
  background: #faf8f7;
  color: var(--ramiro-text);
  font-size: 14px;
  line-height: 1;
}

/* BOTTOM: copyright + legal */
.ramiro-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0 34px;
  font-size: 15px;
  color: var(--ramiro-muted);
}

.ramiro-footer-legal-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.ramiro-footer-legal-menu a {
  color: var(--ramiro-muted);
  font-size: 15px;
  transition: color 0.18s ease;
}

.ramiro-footer-legal-menu a:hover {
  color: var(--ramiro-red);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ramiro-footer-mid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .ramiro-footer-inner {
    width: min(100% - 20px, var(--ramiro-container));
  }

  .ramiro-footer-top {
    padding-top: 22px;
  }

  .ramiro-footer-shortcuts {
    gap: 12px 18px;
  }

  .ramiro-footer-shop {
    flex-direction: column;
    align-items: flex-start;
  }

  .ramiro-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ramiro-footer-legal-menu {
    flex-direction: column;
    gap: 10px;
  }

  .ramiro-footer-brand img,
  .ramiro-site-logo {
    height: 28px;
  }

  .ramiro-pay-logo {
    height: 22px;
  }

  .ramiro-pay-logo--amex {
    height: 20px;
  }

  .ramiro-pay-logo--revolut {
    height: 18px;
  }

  .ramiro-pay-logo--applepay {
    height: 28px;
    transform: scale(1.05);
  }

  .ramiro-pay-logo--googlepay {
    height: 28px;
    transform: scale(1.08);
  }

  .ramiro-pay-logo--boxnow {
    height: 24px;
  }
}

/* WORDPRESS CONTENT DEFAULTS */
.entry-content,
.ramiro-entry-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ramiro-text);
}

.entry-content p,
.ramiro-entry-content p {
  margin-bottom: 1.2em;
}

.entry-content ul,
.entry-content ol,
.ramiro-entry-content ul,
.ramiro-entry-content ol {
  margin: 0 0 1.2em 1.2em;
}

.entry-content h2,
.ramiro-entry-content h2 {
  margin-top: 1.4em;
}

.entry-content h3,
.ramiro-entry-content h3 {
  margin-top: 1.2em;
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd6d2;
  border-radius: 18px;
  background: #fff;
  color: var(--ramiro-text);
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ramiro-red);
  box-shadow: 0 0 0 3px rgba(153, 27, 35, 0.08);
}

/* UTILITY */
.ramiro-text-red {
  color: var(--ramiro-red);
}

.ramiro-text-muted {
  color: var(--ramiro-muted);
}

.ramiro-bg-soft {
  background: var(--ramiro-contact-soft);
}

.ramiro-bg-book {
  background: var(--ramiro-book-bg);
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .ramiro-wrap,
  .ramiro-container,
  .ramiro-header-top,
  .ramiro-header-nav-inner,
  .ramiro-statement-box,
  .ramiro-book-box,
  .ramiro-contact-box,
  .ramiro-footer-inner {
    width: min(100% - 32px, var(--ramiro-container));
  }

  .ramiro-hero-grid,
  .ramiro-services-grid,
  .ramiro-testimonials-grid,
  .ramiro-book-grid,
  .ramiro-knowledge-grid,
  .ramiro-footer-top {
    grid-template-columns: 1fr;
  }

  .ramiro-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ramiro-nav {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  h1 {
    font-size: 58px;
  }
}

@media (max-width: 760px) {
  .ramiro-wrap,
  .ramiro-container,
  .ramiro-header-top,
  .ramiro-header-nav-inner,
  .ramiro-statement-box,
  .ramiro-book-box,
  .ramiro-contact-box,
  .ramiro-footer-inner {
    width: min(100% - 20px, var(--ramiro-container));
  }

  .ramiro-header {
    position: static;
  }

  .ramiro-header-top {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0 10px;
  }

  .ramiro-search {
    width: 100%;
    justify-content: flex-start;
  }

  .ramiro-header-nav-inner {
    padding: 12px 0;
  }

  .ramiro-nav {
    gap: 12px 16px;
  }

  .ramiro-nav a {
    font-size: 15px;
  }

  .ramiro-hero {
    padding: 40px 0 18px;
  }

  h1 {
    font-size: 42px;
  }

  .ramiro-hero p {
    font-size: 18px;
  }

  .ramiro-hero-visual {
    min-height: 340px;
  }

  .ramiro-statement p {
    font-size: 25px;
  }

  h2,
  .ramiro-book-copy h2,
  .ramiro-contact-box h2 {
    font-size: 34px;
  }

  .ramiro-book-copy .ramiro-sub {
    font-size: 20px;
  }

  .ramiro-contact-box {
    padding: 30px 22px;
  }

  .ramiro-contact-box p {
    font-size: 18px;
  }

  .ramiro-service-visual--icon img {
    width: 200px;
    height: 200px;
  }

  .ramiro-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ramiro-footer-mid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ramiro-post img {
    height: 200px;
  }

  .ramiro-references {
    padding: 10px 0 48px;
  }

  .ramiro-footer-top {
    padding-top: 34px;
  }
}

:root {
  --ramiro-video-radius: 36px;
  --ramiro-video-radius-tablet: 28px;
  --ramiro-video-radius-mobile: 20px;
}

video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  background: #000;
  box-sizing: border-box;
  border-radius: var(--ramiro-video-radius) !important;
}

.wp-video,
.wp-video-shortcode,
.mejs-container,
.mejs-mediaelement,
.mejs-inner,
.mejs-layers,
.mejs-overlay,
.brxe-video,
.wp-block-video,
.wp-block-embed.is-type-video,
.wp-block-embed__wrapper,
.ramiro-video,
.ramiro-video-wrap,
.ramiro-video-frame,
.ramiro-media:has(video),
figure.wp-block-video,
figure:has(video),
.video-wrapper,
.video-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  border-radius: var(--ramiro-video-radius) !important;
  background: #000;
  box-sizing: border-box;
}

.wp-video video,
.wp-video-shortcode video,
.mejs-container video,
.mejs-mediaelement video,
.mejs-inner video,
.brxe-video video,
.wp-block-video video,
.ramiro-video video,
.ramiro-video-wrap video,
.ramiro-video-frame video,
.ramiro-media video,
figure.wp-block-video video,
figure:has(video) video,
.video-wrapper video,
.video-container video {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  border-radius: var(--ramiro-video-radius) !important;
  overflow: hidden !important;
  object-fit: cover;
  background: #000;
  box-sizing: border-box;
}

iframe[src*="youtube.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"],
iframe[src*="player.vimeo.com"] {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  overflow: hidden !important;
  border-radius: var(--ramiro-video-radius) !important;
  background: #000;
}

@media (max-width: 991px) {
  video,
  .wp-video,
  .wp-video-shortcode,
  .mejs-container,
  .mejs-mediaelement,
  .mejs-inner,
  .mejs-layers,
  .mejs-overlay,
  .brxe-video,
  .wp-block-video,
  .wp-block-embed.is-type-video,
  .wp-block-embed__wrapper,
  .ramiro-video,
  .ramiro-video-wrap,
  .ramiro-video-frame,
  .ramiro-media,
  figure.wp-block-video,
  figure:has(video),
  .video-wrapper,
  .video-container,
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"],
  iframe[src*="vimeo.com"],
  iframe[src*="player.vimeo.com"] {
    border-radius: var(--ramiro-video-radius-tablet) !important;
  }
}

@media (max-width: 760px) {
  video,
  .wp-video,
  .wp-video-shortcode,
  .mejs-container,
  .mejs-mediaelement,
  .mejs-inner,
  .mejs-layers,
  .mejs-overlay,
  .brxe-video,
  .wp-block-video,
  .wp-block-embed.is-type-video,
  .wp-block-embed__wrapper,
  .ramiro-video,
  .ramiro-video-wrap,
  .ramiro-video-frame,
  .ramiro-media,
  figure.wp-block-video,
  figure:has(video),
  .video-wrapper,
  .video-container,
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"],
  iframe[src*="vimeo.com"],
  iframe[src*="player.vimeo.com"] {
    border-radius: var(--ramiro-video-radius-mobile) !important;
  }
}

/* Complianz cookie banner - Ramiro final layout */
.cmplz-cookiebanner {
  right: 32px !important;
  bottom: 32px !important;
  max-width: 560px !important;
  width: calc(100% - 64px) !important;
  padding: 22px 24px 18px !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(45, 38, 35, 0.18) !important;
  font-family: var(--ramiro-font, inherit) !important;
}

.cmplz-cookiebanner .cmplz-header {
  display: grid !important;
  grid-template-columns: 150px 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 16px !important;
}

.cmplz-cookiebanner .cmplz-logo {
  width: 150px !important;
  height: 34px !important;
  min-width: 150px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}

.cmplz-cookiebanner .cmplz-title {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  color: var(--ramiro-text, #2d2623) !important;
}

.cmplz-cookiebanner .cmplz-close {
  width: 28px !important;
  height: 28px !important;
  color: var(--ramiro-text, #2d2623) !important;
}

.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-message p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--ramiro-text, #2d2623) !important;
}

.cmplz-cookiebanner .cmplz-buttons {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

.cmplz-cookiebanner .cmplz-btn {
  min-height: 46px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  font-family: var(--ramiro-font, inherit) !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background: var(--ramiro-red, #ae2e28) !important;
  border-color: var(--ramiro-red, #ae2e28) !important;
  color: #fff !important;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-deny,
.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences {
  background: #fff !important;
  border: 1px solid rgba(45, 38, 35, 0.14) !important;
  color: var(--ramiro-text, #2d2623) !important;
}

.cmplz-cookiebanner .cmplz-links {
  margin-top: 14px !important;
  font-size: 13px !important;
}

.cmplz-cookiebanner .cmplz-links a {
  color: var(--ramiro-red, #ae2e28) !important;
  text-decoration: underline !important;
}

@media (max-width: 767px) {
  .cmplz-cookiebanner {
    right: 16px !important;
    bottom: 16px !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    padding: 18px !important;
  }

  .cmplz-cookiebanner .cmplz-header {
    grid-template-columns: 120px 1fr auto !important;
    gap: 12px !important;
  }

  .cmplz-cookiebanner .cmplz-logo {
    width: 120px !important;
    height: 28px !important;
    min-width: 120px !important;
  }

  .cmplz-cookiebanner .cmplz-title {
    font-size: 15px !important;
  }

  .cmplz-cookiebanner .cmplz-buttons {
    grid-template-columns: 1fr !important;
  }
}
