/*
Theme Name: Oh Tattoo
Theme URI: https://www.ohtattoo.com
Author: FullClients
Version: 1.1.0
Text Domain: ohtattoo
*/

/* -------------------------------------------------------------------------
   TIPOGRAFÍAS LOCALES (Sin llamadas externas a Google Fonts)
   ------------------------------------------------------------------------- */
@font-face {
	font-family: 'New Rocker';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/NewRocker-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/BarlowSemiCondensed-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/BarlowSemiCondensed-SemiBold.ttf') format('truetype');
}

@font-face {
	font-family: 'Barlow Semi Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/BarlowSemiCondensed-Bold.ttf') format('truetype');
}

/* -------------------------------------------------------------------------
   VARIABLES Y BASE
   ------------------------------------------------------------------------- */
:root {
	--oh-bg: #000000;
	--oh-bg-alt: #0a0a0a;
	--oh-card: #121212;
	--oh-border: rgba(255, 255, 255, 0.12);
	--oh-border-hover: rgba(0, 255, 0, 0.4);
	--oh-text: #ffffff;
	--oh-text-muted: #a3a3a3;
	--oh-green: #00ff00;
	--oh-green-glow: rgba(0, 255, 0, 0.25);
	--oh-font-title: 'New Rocker', Georgia, serif;
	--oh-font-body: 'Barlow Semi Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--oh-max-w: 1200px;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background-color: var(--oh-bg);
	color: var(--oh-text);
	font-family: var(--oh-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--oh-bg);
	color: var(--oh-text);
	overflow-x: hidden;
}

img, svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

h1, h2, h3, h4, .oh-font-title {
	font-family: var(--oh-font-title);
	font-weight: 400;
	letter-spacing: 0.5px;
	margin-top: 0;
	color: #ffffff;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }

p { margin-top: 0; margin-bottom: 1.2rem; }

.oh-verde { color: var(--oh-green); }

.oh-container {
	max-width: var(--oh-max-w);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.oh-section {
	padding: 90px 0;
	position: relative;
}

.oh-section--alt {
	background-color: var(--oh-bg-alt);
	border-top: 1px solid var(--oh-border);
	border-bottom: 1px solid var(--oh-border);
}

.oh-section-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 50px;
}

.oh-section-header p {
	color: var(--oh-text-muted);
	font-size: 1.1rem;
}

/* -------------------------------------------------------------------------
   BOTONES
   ------------------------------------------------------------------------- */
.oh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	font-family: var(--oh-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.25s ease;
	border: 1px solid transparent;
	text-align: center;
}

.oh-btn--green {
	background-color: var(--oh-green);
	color: #000000;
	box-shadow: 0 0 18px var(--oh-green-glow);
}

.oh-btn--green:hover {
	background-color: #33ff33;
	box-shadow: 0 0 28px rgba(0, 255, 0, 0.45);
	transform: translateY(-2px);
}

.oh-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

.oh-btn--outline:hover {
	border-color: var(--oh-green);
	color: var(--oh-green);
	transform: translateY(-2px);
}

.oh-btn--whatsapp {
	background: #15803d;
	color: #ffffff;
}

.oh-btn--whatsapp:hover {
	background: #16a34a;
	color: #ffffff;
	transform: translateY(-2px);
}

.oh-btn--block {
	display: flex;
	width: 100%;
}

/* -------------------------------------------------------------------------
   CABECERA
   ------------------------------------------------------------------------- */
.oh-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s ease;
}

.oh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 74px;
}

@media (min-width: 641px) {
	.oh-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
	}
}

.oh-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.oh-header__logo {
	height: 48px;
	width: auto;
}

.oh-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.oh-nav a {
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #e5e5e5;
	position: relative;
	padding: 6px 0;
}

.oh-nav a:hover {
	color: var(--oh-green);
}

.oh-nav a.oh-btn--green,
.oh-nav a.oh-btn--green:hover {
	color: #000000;
}

.oh-nav__toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	padding: 8px;
}

/* -------------------------------------------------------------------------
   HERO / PORTADA
   ------------------------------------------------------------------------- */
.oh-hero {
	padding-top: 100px;
	padding-bottom: 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.oh-hero__logo {
	max-width: 380px;
	margin: 0 auto 30px;
}

.oh-hero__claim {
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-family: var(--oh-font-title);
	color: #d4d4d4;
	max-width: 720px;
	margin: 0 auto 36px;
	font-weight: 400;
}


/* -------------------------------------------------------------------------
   GALERÍA (carrusel de fotos redondas en la portada)
   ------------------------------------------------------------------------- */
.oh-carrusel {
	position: relative;
	margin-top: 40px;
}

.oh-carrusel__pista {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 54px) / 4);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 6px 0 12px;
	text-align: left;
}

.oh-carrusel__pista::-webkit-scrollbar {
	display: none;
}

.oh-carrusel__pista > .oh-portfolio-item {
	scroll-snap-align: start;
}

.oh-carrusel__nav {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}

.oh-carrusel__nav[hidden] {
	display: none;
}

.oh-carrusel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	pointer-events: auto;
	background: var(--oh-green);
	color: #000000;
	box-shadow: 0 0 18px var(--oh-green-glow);
	cursor: pointer;
	transition: opacity 0.2s;
}

.oh-carrusel__btn[data-carrusel-ant] {
	transform: translateX(-50%);
}

.oh-carrusel__btn[data-carrusel-sig] {
	transform: translateX(50%);
}

.oh-carrusel__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.oh-portfolio-item {
	aspect-ratio: 1;
	background: #141414;
	border: 1px solid var(--oh-border);
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
}

.oh-portfolio-item:hover {
	border-color: var(--oh-green);
	transform: translateY(-3px);
}

.oh-portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.oh-portfolio-item:hover img {
	transform: scale(1.04);
}

.oh-portfolio-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.oh-portfolio-item:hover .oh-portfolio-overlay {
	opacity: 1;
}

.oh-portfolio-overlay h4 {
	margin: 0;
	font-size: 1.15rem;
	color: #ffffff;
}

.oh-portfolio-overlay span {
	font-size: 0.85rem;
	color: var(--oh-green);
	font-weight: 600;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   FLASH (Diseños disponibles en Masonry)
   ------------------------------------------------------------------------- */
.oh-flash-grid {
	columns: 4 250px;
	column-gap: 20px;
}

.oh-flash-item {
	break-inside: avoid;
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 20px;
	transition: all 0.3s ease;
}

.oh-flash-item:hover {
	border-color: var(--oh-green);
	transform: translateY(-3px);
}

.oh-flash-item img {
	width: 100%;
	display: block;
}

.oh-flash-item__info {
	padding: 16px;
}

.oh-flash-item__precio {
	font-size: 1.3rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 12px;
}

/* -------------------------------------------------------------------------
   TARIFAS & PRECIOS
   ------------------------------------------------------------------------- */
.oh-precios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
	margin-bottom: 50px;
}

.oh-precio-card {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: 10px;
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.3s ease;
	position: relative;
}

.oh-precio-card:hover {
	border-color: var(--oh-green);
	transform: translateY(-3px);
}

.oh-precio-card--destacado {
	border: 2px solid var(--oh-green);
	background: linear-gradient(180deg, rgba(0, 255, 0, 0.05) 0%, var(--oh-card) 100%);
}

.oh-precio-card__ribbon {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--oh-green);
	color: #000000;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 3px 12px;
	border-radius: 12px;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.oh-precio-card__cat {
	color: var(--oh-green);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.oh-precio-card__amount {
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	margin: 10px 0 14px;
}

.oh-precio-card__desc {
	color: var(--oh-text-muted);
	font-size: 0.95rem;
	margin-bottom: 20px;
	flex-grow: 1;
}

.oh-proceso-pasos {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.oh-paso-card {
	background: #0f0f0f;
	border: 1px solid var(--oh-border);
	border-radius: 8px;
	padding: 22px;
	position: relative;
}

.oh-paso-card__num {
	font-family: var(--oh-font-title);
	font-size: 2.2rem;
	color: var(--oh-green);
	line-height: 1;
	margin-bottom: 12px;
}

/* -------------------------------------------------------------------------
   SOBRE MÍ
   ------------------------------------------------------------------------- */
.oh-sobremi {
	max-width: 880px;
	margin: 0 auto 40px;
	text-align: left;
}

.oh-sobremi-grid {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 32px;
	align-items: center;
}

.oh-sobremi h2 {
	font-size: 1.7rem;
	margin-bottom: 10px;
}

.oh-sobremi p {
	margin: 0 0 10px;
	font-size: 0.98rem !important;
	line-height: 1.55 !important;
}

.oh-sobremi-foto {
	aspect-ratio: 4 / 5;
	background: #141414;
	border: 1px solid var(--oh-border);
	border-radius: 12px;
	overflow: hidden;
}

.oh-sobremi-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oh-sobremi-puntos {
	list-style: none;
	padding: 0;
	margin: 14px 0 18px;
}

.oh-sobremi-puntos li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 14px;
	color: #e5e5e5;
}

.oh-sobremi-puntos svg {
	color: var(--oh-green);
	flex-shrink: 0;
	margin-top: 3px;
}

/* -------------------------------------------------------------------------
   CUIDADOS
   ------------------------------------------------------------------------- */
.oh-cuidados-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	max-width: 960px;
	margin: 0 auto;
}

.oh-cuidado-card {
	background: var(--oh-card);
	border: 1px solid var(--oh-border);
	border-radius: 10px;
	padding: 30px;
}

.oh-cuidado-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--oh-green);
	font-size: 1.4rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.oh-cuidado-card ul {
	padding-left: 20px;
	margin: 0;
	color: #d4d4d4;
}

.oh-cuidado-card li {
	margin-bottom: 12px;
}

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.oh-footer {
	background: #000000;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 60px 0 30px;
	text-align: center;
}

.oh-footer__logo {
	max-width: 180px;
	margin: 0 auto 20px;
}

.oh-footer__social {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 24px;
}

.oh-footer__social a {
	color: #ffffff;
	transition: color 0.2s ease;
}

.oh-footer__social a:hover {
	color: var(--oh-green);
}

.oh-footer__legal {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 0.9rem;
	color: var(--oh-text-muted);
	margin-bottom: 20px;
}

.oh-footer__legal a:hover {
	color: #ffffff;
}

.oh-footer__copy {
	font-size: 0.85rem;
	color: #737373;
}

/* -------------------------------------------------------------------------
   BOTÓN FLOTANTE WHATSAPP
   ------------------------------------------------------------------------- */
.oh-wa-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 999;
	background: #15803d;
	color: #ffffff;
	border-radius: 50px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
	transition: all 0.25s ease;
}

.oh-wa-float:hover {
	background: #16a34a;
	transform: scale(1.05);
	color: #ffffff;
}

/* -------------------------------------------------------------------------
   RESPONSIVE / MÓVIL
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.oh-carrusel__pista { grid-auto-columns: calc((100% - 18px) / 2); }
	.oh-proceso-pasos { grid-template-columns: repeat(2, 1fr); }
	.oh-sobremi-grid { grid-template-columns: 1fr; }
	.oh-sobremi-foto { max-width: 200px; margin: 0 auto; }
	.oh-cuidados-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.oh-header__inner { height: 64px; }
	.oh-hero { padding-top: 84px; }
	.oh-carrusel__pista { grid-auto-columns: 100%; }
	.oh-carrusel__btn[data-carrusel-ant] { transform: translateX(-30%); }
	.oh-carrusel__btn[data-carrusel-sig] { transform: translateX(30%); }
	.oh-proceso-pasos { grid-template-columns: 1fr; }
	.oh-nav {
		display: none;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #000000;
		flex-direction: column;
		padding: 24px;
		border-bottom: 1px solid var(--oh-border);
		gap: 18px;
	}
	.oh-nav.is-open { display: flex; }
	.oh-nav__toggle { display: block; }
	.oh-wa-float span { display: none; }
	.oh-wa-float { padding: 14px; border-radius: 50%; }
}
